Re: Revenue Generation & Release
In our system, we generate two kinds of revenues. One gets released automatically while other requires approval(meaning someone having appropriate authority releases the revenue). In some cases, the revenue that requires approval gets released along with the revenue that does not require approval. We've two approaches to address the issue
Approach1:
1) generate revenue that requires approval
2) Update the transfer_status_code to "W" (We are doing this so that when we generate the revenue that does not require approval runs, it will not release the revenue that has status "W").
3) Generate revenue that does not require approval
4) Update the transfer_status_code to "P" and released_date to null. The revenue process in step3 updates the released_date to system date.