Quantcast
Channel: Dynamics 365 Business Central/NAV User Group
Viewing all articles
Browse latest Browse all 11285

Forum Post: RE: For a condition how I Assign Unit Price:=0 in Sales Order's Line

$
0
0
Write the below two line of code at the very end of the No. Field's OnValidate trigger and test you might see what you were looking for by crossing 1 level. There is a function call at the same trigger "UpdateUnitPrice(FIELDNO("No."));" just debug it and add your conditional assignment "Order Status" check then assign the values. "Unit Price":=0; Quantity:=15;

Viewing all articles
Browse latest Browse all 11285

Trending Articles