R28232 SalesOrder - Empty Return For Sales Order Line When Positive Quantity And Amount

    Code R28232
    Entity Crm.Sales.SalesOrders Entity
    Name EmptyReturnForSalesOrderLineWhenPositiveQuantityAndAmount
    Attribute Line.ReturnForSalesOrderLine
    Layer Back-End
    Events Planning +
    Modify NO
    Action Validate that:

    if (Quantity >0 && LineAmount >0)

    ReturnForSalesOrderLine == null
    Description According to Sales order row types, if the quantity and the amount are positive, then all returning value fields must be empty. One of these fields is Return For Sales Order Line in the lines of the Sales Order. If Return For Sales Order Line is not null it indicates that the current row is from return sales type and the positive quantity and amount are contradicting.
    Message Line {LineNo} in '{DocumentText}' is considered to be normal sale (because it has positive quantity and amount) but column 'Return For Sales Order Line' is specified. This columns is used only in cases of returning products or services. Clear the value from 'Return For Sales Order Line' for this line.

    Sort Messages By Attribute: LineNo
    Introduced In Version 2018
    Revocable NO

    * For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.

    • Improve this Doc
    Back to top Generated by DocFX