You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Compare Amount in UI Field to Business Object data

Accepted answer
5
Views
5
Comments
edited May 24, 2019 9:14PM in Visual Builder 5 comments

Summary

Verify funds are available for a transaction

Content

Hello,

I have a transaction screen where I want to verify that funds are available for a given transaction before saving.

The amount of the current transaction is compared to the amount of a predecessor transaction.  If the predecessor transaction has other transactions booked against it, those transactions must also be included in the amount available calculation.

For example, the data in the Business Object may look like this:

docNumber          fromDocNumber      Amount

transA                   ----                           $1000

transB                  transA                       200

transC                  transA                       100

Amount available is $700

The next Transaction comes in for 500.  Checking for funds would iterate through the Business Object and summarize the remaining amount and make the compare of $700 and $500.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!