+----------------------+----------------------------------------------------------------------------------------------+ | 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.