Advanced Price Management

Release: Advanced Price Management – 25.0.9503.33920

Description

This release introduces a major new feature: Grouped Line Discount functionality for the Advanced Price Management module. This feature enables volume-based discounts calculated at the document level based on cumulative quantities or amounts across multiple sales lines. The release also includes integration with the optional Packaging Management module, improvements to the price and discount selection logic based on asset type priority, and several bug fixes related to net sales price calculations and validation rules.

User Stories

Title Description Setup Instructions Impact on previous version
22241 – Grouped Line Discount Introduces the ability to calculate discounts based on document-level cumulative quantities or amounts. Enables tiered volume discounts where thresholds are evaluated across all applicable lines in a sales document. The feature supports manual or automatic calculation modes (on release). Configure “Grouped Line Disc. Calc. Mode” in APM Setup. Create price lists with Line Type = “Grouped Line Discount” and define threshold levels. New action “Calculate Grouped Line Discount” available on Sales Order, Sales Quote, and Sales Invoice pages. New feature - no breaking changes. New objects: Table 8120284 (LevelGroupedLineDisc), Page 8120289, Page Extensions 8120279/8120295/8120296, Codeunit 8120290, Enums 8120273/8120274
22512 – Add Application Base = Amount option on Advance Price Templates Adds “Amount” as a new option for Application Base on discount price lines. Allows discounts to be calculated based on total line amount rather than quantity. When creating price list lines with Line Type = Discount or Grouped Line Discount, select “Amount” in the Application Base field. New enum value added to isaAPM_ApplicationBase. No breaking changes.
22522 – Integration with Packaging Enables integration with the Packaging Management module for Grouped Line Discount calculations. Allows thresholds to be evaluated based on packaging quantities (SCU/SU) when Packaging Management is installed. Install Packaging Management module. Configure “PCK Qty Base for Grouped Line Disc” in APM Setup. Optional feature - only active when Packaging Management module is installed. New Codeunit 8120291 (PCKIntegrationHandler), new Enum 8120274 (PCKQtyGroupedLineDisc).

Bugs

Title Description Impact on previous version
22785 – Net Sales Price (in Sales Price UoM) is multiplied by sales line quantity when posting sales invoice Fixed an issue where the Net Sales Price (Sales Price UoM) field was incorrectly calculated by being multiplied by the sales line quantity when posting a sales invoice. The correct calculation now preserves the unit price value. Bug fix - posting logic corrected. May result in different values in historical data comparison.
22780 – Redefine and adjust Price & Discount Hierarchy Fixed inconsistent discount selection logic between direct customer price lists and entity treeview-based price lists. The system now correctly applies the most specific asset type discount (Item > Item Discount Group > Item Filter > All Items) regardless of price list source. Bug fix - improved asset priority logic. New method GetAssetTypePriority() added. Discount selection may behave differently for scenarios involving multiple applicable discounts.
22803 – Net Sales price (sales Price UOM) is not updated on a sales credit memo created from a Posted Sales Invoice Fixed an issue where Net Sales price (Sales Price UoM) was not populated correctly when creating a corrective credit memo from a posted sales invoice. Bug fix - CopySalesLineAPMSalesPrice method now called during document copy operations.
22968 – Discount on Order with Calculation Apply Code filled is not being well calculated Fixed an issue where Grouped Line Discounts with a Calculation Apply Code defined were not correctly considering the referenced discount during calculation. Bug fix - calculation logic updated to properly evaluate dependent discounts.
22985 – APM Template - validation when changing Line Type from Discount to Price Fixed a validation gap where changing Line Type from Discount to Price did not re-validate that Application Base cannot be “Amount” for Price lines. Validation now occurs on Line Type change. Bug fix - validation enhanced. Users may see new validation errors on existing invalid configurations.

Events

Status Type Object Name Event Name Description
New IntegrationEvent isaAPM_GroupedLineDiscountMgmt OnBeforeCalculateDiscount Allows skipping or customizing the grouped discount calculation process
New IntegrationEvent isaAPM_GroupedLineDiscountMgmt OnAfterCalculateDiscount Executes after grouped discount calculation completes
New IntegrationEvent isaAPM_GroupedLineDiscountMgmt OnBeforeIsMatchingSalesLineForDiscount Allows override of matching logic between price lines and sales lines
New IntegrationEvent isaAPM_GroupedLineDiscountMgmt OnAfterIsMatchingSalesLineForDiscount Executes after matching logic completes
New IntegrationEvent isaAPM_GroupedLineDiscountMgmt OnClearSalesLineDetailDiscountsOnAfterFilterSalesLineDetail Allows additional filtering before clearing discounts
New IntegrationEvent isaAPM_GroupedLineDiscountMgmt OnUpdateSalesLineDiscountPercentageOnBeforeModify Allows modifications before updating discount percentage
New IntegrationEvent isaAPM_GroupedLineDiscountMgmt OnAfterGetApplicablePriceLines Allows modification of collected price lines
New IntegrationEvent isaAPM_GroupedLineDiscountMgmt OnCreateCreateTempApplicableDiscountOnBeforeInsert Allows changes before inserting temp discount records
New IntegrationEvent isaAPM_PCKIntegrationHandler OnBeforePackagingManagementInstalled Allows override of Packaging Management installation check
New IntegrationEvent isaAPM_PriceCalc. - isatech OnAfterGetAssetTypePriority Allows modification of asset priority value based on asset type
Next
Previous