R31531-5 Purchase Order - Set Payment Type (Recalc)
| Code | 31531-5 |
| Entity | Logistics.Procurement.PurchaseOrders Entity |
| Name | SetPaymentType |
| Attribute | PaymentType |
| Layer | Front-End |
| Events | AttributeChanged(Supplier, PaymentType) |
| Priority | Early |
| Modify | YES |
| Applicable Legislations | ALL // no condition needed |
| Action | Supplier.DefaultPaymentType.IfNullThen(PaymentType) |
| Description | When Supplier is changed, if the Supplier's Default Payment Type is not null, Payment Type is changed to the Supplier's Default Payment Type. |
| Message | |
| Version | |
| Revocable | YES |
* This is auto generated code. Don't change it.