Version 7.1.00
I know I can set salesOrder.SystemSettings.AllowPriceOverrides which allows editing prices for the whole sales order.
What would the syntax be if I want to enumerate each sales order line, and set the line prices to be editable and other lines not editable.
- Code: Select all
For Each SOLine As JiwaSales.SalesOrder.SalesOrderLine In salesOrder.SalesOrderLines
IF SOLine.MyProperty = the price can be edited THEN
'something in here
End If
Next
Cheers
Danny