web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Can i access the source code for trade discount reference?

(0) ShareShare
ReportReport
Posted on by 22

Hi, my name is vira. I am working as junior IT consultant on dynamics gp applications. I encounter this warning after lookup the tax detail id and after push the OK Button. I realize this window is customized and has some trigger scripts, two of em are DP / Prepayment field which referring to trade discount amount script after add a value in it. I have script logs attached so u can figure which script is running before the warning occurs. Please kindly give me solutions, thanks in advance ^^


 pastedimage1572936952935v1.png[View:/cfs-file/__key/communityserver-discussions-components-files/32/log.txt:173:114]

Categories:
I have the same question (0)
  • Suggested answer
    Almas Mahfooz Profile Picture
    11,009 User Group Leader on at

    You can't access source code if you don't have the source code.

    How you come to know that there is some customization on this window?

    What exactly is your issue?

    and what do you want to do?

  • vira_nata Profile Picture
    22 on at

    This company used to customize gp forms to utilize other business company requirements. So, i was trained to check and customize forms on dexterity and test em on gp desktop / web. The issue here is i was assigned to modify this window to fix previous customization bugs such as "Total amount not calculated with DP amount included". So, i tried to calculate it via running trade discount amount script. Then, i get the warning after lookup tax detail id or tax detail id change. My current solution is to calculate total manually : Total Amount = Subtotal - DP - Trade Discount + Freight + Misc + Tax

  • Suggested answer
    Almas Mahfooz Profile Picture
    11,009 User Group Leader on at

    I don't think it's that straight, what if someone try to change any line item amount after entering trade discount amount? you total Amount will then be the wrong .

    Also the message you are having is GP default message and it's probably coming because you tried running field script so total will update itself. But handling it through vba is little difficult for it. You better try dexterity.

  • vira_nata Profile Picture
    22 on at

    yes i have check em, there is a trigger script on line scroll change to recalculate total with DP amount. I was hoping to learn from those source codes, thanks for your thoughts almas
    pastedimage1572955447627v1.png

  • Almas Mahfooz Profile Picture
    11,009 User Group Leader on at

    That's good you have the source code, try using it.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 549 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans