Extending a customized functionality
In this example, we will talk about a customized functionality in which Volume Discounts were calculated for each sales invoice line, according to a set of predefined rules, and stored as Volume Discount Ledger Entries
.
The functionality had to be extended to allow users to apply those ledger entries to other Volume Discount Ledger Entries
, so that they could know whether Volume Discount Ledger Entries
were completely open, partially open, or closed.
In this case, there are no interactions with other Dynamics NAV functionalities. The interaction is actually with the customized Volume Discount functionality itself.
Since the functionality was developed to follow the same philosophy behind Customer Ledger Entries or Vendor Ledger Entries, the extension of the functionality had to follow the same philosophy as well.
This means creating a Detailed Volume Discount Ledger Entry
table (similar to tables Detailed Cust. Ledg. Entry
or Detailed Vendor Ledg...