Hello Team,
Requirement- Need to show Prepayment% on Quotation Report
When we create Sales Quote from Customer Card, Sales Quote page doesn't display the Prepayment% specified for that customer...Field gets populated from customer card only when that Quote is converted to Order.
Even if I tried getting Prepayment % field in Quote page, and try to edit...it shows an error as Document Type must be "Order".
Can you please suggest.
Thanks
Rishi
*This post is locked for comments
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156