Quantcast
Channel: Microsoft Dynamics NAV
Viewing all articles
Browse latest Browse all 64865

Forum Post: RE: Prepayment% field

$
0
0

hi,

is a "by design" function, works only for orders (& after on invoices)

Trigger on "Prepayment %" field works only for orders, not quotes.

trigger calls UpdateSalesLines(FIELDCAPTION("Prepayment %"),CurrFieldNo <> 0)

> this function makes checks "document type" filed on table 37 (Sales Line)

on table 37 Sales Line

Prepayment % - OnValidate()

IF ("Prepayment %" <> 0) AND (Type <> Type::" ") THEN BEGIN

 TESTFIELD("Document Type","Document Type"::Order);

-> you can comment this line on Prepayment % - OnValidate() TRigger

TESTFIELD("Document Type","Document Type"::Order) or change to check Order & Quote

ex: // TESTFIELD("Document Type","Document Type"::Order);

now you can insert % on sales quote and print on report (if filed is addedd)

if you convert quote to order --> order reload % from customer, not from sales quote.


Viewing all articles
Browse latest Browse all 64865

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>