R31046 PurchaseOrder - Check Requisition State
Code | R31046 |
Entity | Logistics.Procurement.PurchaseOrders Entity |
Name | CheckRequisitionState |
Attribute | Line.RequisitionLine |
Layer | Back-End |
Events | Releasing + |
Priority | Normal |
Modify | NO |
Applicable Legislations | ALL // no condition needed |
Action | For each PurchaseOrderLine, validate that:
if (RequisitionLine != null) , then RequisitionLine.Requisition.State >= Released |
Description | When releasing a Purchase Order we have to make sure that the State of all Requisitions whose lines it is executing is at least Released. |
Message | Line number '{LineNo}' in document '{DocumentText}' contains a 'Requisition Line' which points to document whose state is lower than 'Released'. |
Version | Introduced: 20** |
Revocable | NO |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.