R31531-3 Purchase Order - Set Payment Due Date (Recalc)
Code | 31531-3 |
Entity | Logistics.Procurement.PurchaseOrders Entity |
Name | SetPaymentDueDate |
Attribute | PaymentDueDate |
Layer | Front-End |
Events | AttributeChanged(DocumentDate, Supplier) |
Priority | Normal |
Modify | YES |
Applicable Legislations | ALL // no condition needed |
Action | Convert(DocumentDate.AddDays(Convert(Supplier.DefaultPaymentTermDays, Double)), Object) |
Description | When Document Date or Supplier is changed, if Document Date and Supplier are not null, Payment Due Date is calculated as Document Date plus Default Payment Term Days specified in the Supplier's definition. |
Message | |
Version | |
Revocable | YES |
* This is auto generated code. Don't change it.