R27444 PurchaseInvoice - Line Check Required Product Type Purchase Invoice Line Properties
Code | R27444 |
Entity | Logistics.Procurement.PurchaseInvoices Entity |
Name | LineCheckRequiredProductTypePurchaseInvoiceLineProperties |
Attribute | Not an attribute of the PurchaseInvoice entity. The current rule validates the specified required ProductTypePurchaseInvoiceLineProperties in the current line product's type. |
Layer | Back-End |
Events | Planning + |
Modify | NO |
Action | For each line and for each Product.ProductType.ProductTypePurchaseInvoiceLineProperty in
each line validate that:
If (PurchaseInvoiceLine.Product.ProductType.ProductTypePurchaseInvoiceLineProperty.Required == True) PurchaseInvoiceLine.PurchaseInvoiceLineUserProperty != null AND PurchaseInvoiceLine.PurchaseInvoiceLineUserProperty != "" |
Description | The idea behind the Purchase Invoice Line user properties is to allow the user to specify values of the properties in the accounts in the voucher created from the current Purchase Invoice. If they are marked as required, this is because this value is necessary for the voucher to be created properly. |
Message | "The properties {[ListOfRequiredProductTypePurchaseInvoiceLineProperties]} of line
{[LineNo]} in {[DocumentText]} must have values because they are marked as required.
The required properties for the current line are specified in the product type definition
of the product in the line."
Sort Messages By Attribute: LineNo |
Introduced In Version | 2017 |
Revocable | NO |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.