Skip to content

Latest commit

 

History

History
41 lines (39 loc) · 4.11 KB

R31531-4.md

File metadata and controls

41 lines (39 loc) · 4.11 KB

erp.type: front-end-business-rule erp.entity: Logistics.Procurement.PurchaseOrders

R31531-4 Purchase Order - Set Planned Delivery Date (Recalc)

+----------------------+----------------------------------------------------------------------------------------------+ | Code | 31531-4 | +----------------------+----------------------------------------------------------------------------------------------+ | Entity | @Logistics.Procurement.PurchaseOrders | +----------------------+----------------------------------------------------------------------------------------------+ | Name | SetPlannedDeliveryDate | +----------------------+----------------------------------------------------------------------------------------------+ | Attribute | [PlannedDeliveryDate]( | | | ../entities/Logistics.Procurement.PurchaseOrders.md#planneddeliverydate) | +----------------------+----------------------------------------------------------------------------------------------+ | Layer | Front-End | +----------------------+----------------------------------------------------------------------------------------------+ | Events | AttributeChanged(DocumentDate, Supplier) | +----------------------+----------------------------------------------------------------------------------------------+ | Priority | Normal | +----------------------+----------------------------------------------------------------------------------------------+ | Modify | YES | +----------------------+----------------------------------------------------------------------------------------------+ | Applicable | ALL // no condition needed | | Legislations | | +----------------------+----------------------------------------------------------------------------------------------+ | Action | Convert(DocumentDate.AddDays(Convert(Supplier.DefaultDeliveryTermDays, Double)), Object) | +----------------------+----------------------------------------------------------------------------------------------+ | Description | When Document Date or Supplier is changed, if Document Date and Supplier are not null, | | | Planned Delivery Date is calculated as Document Date plus Default Delivery Term Days | | | specified in the Supplier's definition. | +----------------------+----------------------------------------------------------------------------------------------+ | Message | | +----------------------+----------------------------------------------------------------------------------------------+ | Version | | +----------------------+----------------------------------------------------------------------------------------------+ | Revocable | YES | +----------------------+----------------------------------------------------------------------------------------------+

* This is auto generated code. Don't change it.