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

Forum Post: RE: purchase order validation

$
0
0
Yes, what you can do is in the General ledger setup add a field called Variation % a decimal field and using the same above code you will add a variable to check variation called it VariationPer Decimal and to the above code then begin variationper := 0; glsetup.get; variationper := "direct unit cost" * glsetup.variation % / 100 if "direct unit cost" + variationper > "direct unit cost then errormessage; end;

Viewing all articles
Browse latest Browse all 11285

Trending Articles