Applying Settlement Discount to a Sale
Jay2007
Member Posts: 50
Hi there,
I am trying to apply a settlement discount to a sale programmatically and am having a problem with it? I have looked at all other posts with "Discount" in title and none of them seem to deal with issue I am having.
If a sale comes to, let's say for example, €20.90 then I want to give the user the option of rounding it down to €20 and discount the 90 cents in the background.
I have tried using the "Invoice Discount Value" field on Sales Header and this seems to have no effect?? Post as sale to value of €20.90 to customers account.
Also, I have used the "Inv. Discount Amount" field on the Sales Line table which works fine, but it discounts the price of the product which I do not want to happen. Sales Invoice needs to print as product at full value, i.e. €20.90 and then subtract discount at end of invoice to show it was an overall settlement discount.
Does anyone have any ideas on where I am going wrong here????
Thanks in advance,
Jay
I am trying to apply a settlement discount to a sale programmatically and am having a problem with it? I have looked at all other posts with "Discount" in title and none of them seem to deal with issue I am having.
If a sale comes to, let's say for example, €20.90 then I want to give the user the option of rounding it down to €20 and discount the 90 cents in the background.
I have tried using the "Invoice Discount Value" field on Sales Header and this seems to have no effect?? Post as sale to value of €20.90 to customers account.
Also, I have used the "Inv. Discount Amount" field on the Sales Line table which works fine, but it discounts the price of the product which I do not want to happen. Sales Invoice needs to print as product at full value, i.e. €20.90 and then subtract discount at end of invoice to show it was an overall settlement discount.
Does anyone have any ideas on where I am going wrong here????
Thanks in advance,
Jay
0
Comments
-
If you press F9 and put the discount in "Inv. Discount Amount", it'll show as a discount after the subtotal. Not 100% sure but I think you need code to trigger from the F9 Statistics window and that's why "Invoice Discount Value" doesn't work.0
-
Thanks for that Martin

I have a bespoke form already developed to allow user to enter settlement discount and choose to apply it or not. Since posting, I did think of programatically calling up code in the statistics form alright but would rather only pursue this as a last resource !
It looks like I may have to go down that road alright tho.
Thanks again,
Jay0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions