Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

How to approve bank transfer base on functional currency amount ?

edited Nov 14, 2024 9:28AM in Payables, Payments & Cash Management 2 comments

Hi All,

I tried to set the BPM task of bank transfer 'BankAcctTransferRequestForAction' as following rules:

If the bank transfer amount is less than 100 HKD, then approver A others approver B.

But if I entered 99 USD which is much than 100 HKD. it will still assign to A.

May I know how to approve bank transfer base on functional currency amount ?

I tried

1.Task.payload.getFinCeBatTransferApprovalResponse.result.paymentAmount * Task.payload.getFinCeBatTransferApprovalResponse.result.conversionRate

2.(new BigDecimal(Task.payload.getFinCeBatTransferApprovalResponse.result.paymentAmount))*CurrencyConversion.getRate(Task.payload.getFinCeBatTransferApprovalResponse.result.paymentCurrencyCode,"HKD",Task.systemAttributes.createdDate,"Corporate",0)

Both of them shows approval failed.

Thanks in advance!

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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