Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Prepayment% field

Posted on by Microsoft Employee

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

  • Verified answer
    Roberto Stefanetti Profile Picture
    Roberto Stefanetti 12,998 on at
    RE: Prepayment% field

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans