change isAllowCopy break function (payment reversal)
Description
1. change field BankAccount from allow copy to don't allow copy 2. reversal a payment, it raise error mandatory reason: value of new payment copy from new payment depend on "allow copy" solution the importance field (like mandatory) have to manual set.
this's common issue. i guess root cause by use "allow copy" for both feature, 1. set default value for new value when click button duplicate record. 2. create new record from old record on process.
Environment
None
Attachments
1
Activity
Show:
Hiep Lq September 26, 2017 at 1:51 AM
it's great, thanks i will try that way
Carlos Ruiz September 25, 2017 at 8:57 AM
, allow copy can be configured in column affecting PO.copyValues, and in field just affecting the copy button on UI.
In this case the flag must be set in field, not in column.
1. change field BankAccount from allow copy to don't allow copy
2. reversal a payment, it raise error mandatory
reason:
value of new payment copy from new payment depend on "allow copy"
solution
the importance field (like mandatory) have to manual set.
this's common issue. i guess root cause by use "allow copy" for both feature,
1. set default value for new value when click button duplicate record.
2. create new record from old record on process.