0% found this document useful (0 votes)
25 views1 page

Add 2

The document describes steps to validate account categories and assign an account officer value to a record. It checks debit and credit account categories and fetches the associated customer and account officer to populate fields.

Uploaded by

Krish Kalyan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views1 page

Add 2

The document describes steps to validate account categories and assign an account officer value to a record. It checks debit and credit account categories and fetches the associated customer and account officer to populate fields.

Uploaded by

Krish Kalyan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Check either one of the conditions:

Access debAcc using ftRecord.getDebitAccount().getValue().


Read Account record “accRec” using debAcc value. Fetch category using
accRec.getCategory().getValue() and assign it to catVal variable
check if catVal ranges form 5000 TO 5999. If the validation are passed, Fetch
customer using accRec.getCustomer().getValue() and assign it to custVal variable.
Read Customer record “cusRec” using custVal value.Fetch ACCOUNT.OFFICER using
cusRec.getAccountOfficer().getValue() and assign it to acctOff variable.
Assign the acctOff value to ftRecord.setProfitCentreDept(acctOff).
Access credAcc using ftRecord.getCreditAccount().getValue().
Read Account record “accRec” using credAcc value. Fetch category using
accRec.getCategory().getValue() and assign it to catVal variable
check if catVal ranges form (1000 TO 9999) OR (5000 TO 5999).If the validation are
passed, Fetch customer using accRec.getCustomer().getValue() and assign it to
custVal variable.
Read Customer record “cusRec” using custVal value.Fetch ACCOUNT.OFFICER using
cusRec.getAccountOfficer().getValue() and
Assign it to acctOff variable.Assign the acctOff value to
ftRecord.setProfitCentreDept(acctOff).ss

You might also like