Quantcast
Viewing all articles
Browse latest Browse all 72043

How to Find JournalTotalCredit Field's Value in Unposted LedgerJournalTable, and Use It as a Condition on a Workflow

Dear Experts,

I have some trouble finding a way to make a step in a workflow run based on some condition. the workflow task is to make the creation of Journal Payment on Account Payable module is processed through steps of approval.

The condition i define is, when LedgerJournalTable.JournalTotalCredit is more than equal Rp. 100.000.000,-. the step is running.

Image may be NSFW.
Clik here to view.

the condition seems fine. the trouble is, when i tried to test it, the filter doesn't work.

when i check the LedgerJournalTable, there's some behavior i found in the table

if it's an AP Journal Payment, the field JournalTotalCredit is Zero if it's unposted, and Not Zero if it's posted

Image may be NSFW.
Clik here to view.

if it's a General Journal from General Ledger Module, the field is Not Affected by the condition if it's posted or not.

Image may be NSFW.
Clik here to view.

the field JournalTotalCredit value is taken from the total amount of all lines inside that journal

the question is, what's the alternative way to fulfill the condition i define in LedgerJournalTable?

is there another field i can use (not JournalTotalCredit)?

Thanks,


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>