Sales order header default EFF Value using Groovy Expression
Summary:
We need to default the EFF value in the Sales Order Header so that whenever a sales order is created or updated, the LINE_DISCOUNT_PERCENT automatically calculates the overall order discount percentage and populates it in the header EFF field, that EFF value will be used in sales order approval as condition to trigger SO approval.
We’re using the below expression, but validation throws an error (details below). Could someone please help identify the correct attributes or syntax to make this work?
Error(5,14) : Unknown attribute name: salesOrder for type: FlexGroovyDOO_5FHEADERS_5FADD_5FINFOVO | |
|---|---|
Warning(7,19) : No such property: quantity for class: java.lang.Object |
Tagged:
0