Advanced Price Management

Notes for release 26.0.9741.68505

Content

  • Task 24300 - User Story 24269 - No currency symbol to be used on sales line details
  • Task 24326 - User Story 24304 - Add new events for filtering price line

Events available

Event Type Object Function Description
Integration Event codeunit isaAPM_DocumentMgt OnBeforeCopyPriceList(FromPriceListNo: Code[20]; var ToPriceList: Record isaAPM_PriceHeader)
Integration Event codeunit isaAPM_DocumentMgt OnBeforeCopyHeader(FromPriceList: Record isaAPM_PriceHeader; var ToPriceList: Record isaAPM_PriceHeader; Handled: Boolean)
Integration Event codeunit isaAPM_DocumentMgt OnBeforeCopyHeader2(FromPriceList: Record isaAPM_PriceHeader; var ToPriceList: Record isaAPM_PriceHeader; var Handled: Boolean)
Integration Event codeunit isaAPM_DocumentMgt OnAfterCopyHeader(var ToPriceList: Record isaAPM_PriceHeader)
Integration Event codeunit isaAPM_DocumentMgt OnBeforeCopyLine(FromPriceList: Record isaAPM_PriceHeader; var ToPriceList: Record isaAPM_PriceHeader; Handled: Boolean)
Integration Event codeunit isaAPM_DocumentMgt OnBeforeCopyLine2(FromPriceList: Record isaAPM_PriceHeader; var ToPriceList: Record isaAPM_PriceHeader; var Handled: Boolean)
Integration Event codeunit isaAPM_DocumentMgt OnAfterCopyLine(var ToPriceList: Record isaAPM_PriceHeader)
Integration Event codeunit isaAPM_DocumentMgt OnBeforeMessageDetails(var Details: Text)
Integration Event codeunit isaAPM_DocumentMgt OnBeforeCopySalesLinesDetails(FromVariant: Variant; ToVariant: Variant; Handled: Boolean) Provide access to record before copy
Integration Event codeunit isaAPM_DocumentMgt OnBeforeCopySalesLinesDetails2(FromVariant: Variant; ToVariant: Variant; var Handled: Boolean) Provide access to record before copy
Integration Event codeunit isaAPM_DocumentMgt OnAfterCopySalesLinesDetails(FromVariant: Variant; ToVariant: Variant) Provide access to record after copy
Integration Event codeunit isaAPM_FreeProductMgt OnBeforeUpdateFreeProductLines(var pSalesLine: Record “Sales Line”; PriceLine: Record isaAPM_PriceLine temporary; var Handled: Boolean)
Integration Event codeunit isaAPM_FreeProductMgt OnAfterUpdateFreeProductLines(var pSalesLine: Record “Sales Line”; PriceLine: Record isaAPM_PriceLine temporary)
Integration Event codeunit isaAPM_PriceCalc. - isatech OnConvertAmountByTaxOnAfterVATPostingSetupGet(var VATPostingSetup: Record “VAT Posting Setup”; var Amount: Decimal; var IsHandled: Boolean)
Integration Event codeunit isaAPM_PriceCalc. - isatech OnIsDisabled(var Disabled: Boolean)
Integration Event codeunit isaAPM_PriceCalc. - isatech OnAfterCalcUnitAmountRoundingPrecision(SalesLine: Record “Sales Line”; var UnitAmountRoundingPrecision: Decimal) Obsolete(‘Replaced by OnAfterCalculateUnitAmountRoundingPrecision(TempPriceCalculationBuffer: Record isaAPM_PriceCalculationBuffer temporary; var UnitAmountRoundingPrecision: Decimal)', ‘26.0.0.0’)
Integration Event codeunit isaAPM_PriceCalc. - isatech OnAfterCalculateUnitAmountRoundingPrecision(TempPriceCalculationBuffer: Record isaAPM_PriceCalculationBuffer temporary; var UnitAmountRoundingPrecision: Decimal)
Integration Event codeunit isaAPM_PriceCalc. - isatech OnAfterModifyManualPriceDiscountLine(var Rec: Record “Sales Line”; var SalesLineDetail: Record isaAPM_SalesLineDetail)
Integration Event codeunit isaAPM_PriceCalc. - isatech OnBeforeInsertManualDiscountDetailLine(pSalesLine: Record “Sales Line”; FromFieldNo: Integer; var Handled: Boolean)
Integration Event codeunit isaAPM_PriceCalc. - isatech OnAfterInsertManualDiscountDetailLine(pSalesLine: Record “Sales Line”; FromFieldNo: Integer)
Integration Event codeunit isaAPM_PriceCalc. - isatech SetExistVariant(var Existing: Boolean)
Integration Event codeunit isaAPM_PriceCalc. - isatech OnBeforeApplyPrice(var LineWithPrice: Interface “Line With Price”; var CalledByFieldNo: Integer; var IsHandled: Boolean) Allows extensions to replace the standard Apply Price execution.
Integration Event codeunit isaAPM_PriceCalc. - isatech OnAfterApplyPrice(var LineWithPrice: Interface “Line With Price”; CalledByFieldNo: Integer; FoundPrice: Boolean; PriceToUpdate: Record isaAPM_PriceLine) Called after Apply Price logic has finished, including discount recalculation.
Integration Event codeunit isaAPM_PriceCalc. - isatech OnBeforeApplyDiscount(var LineWithPrice: Interface “Line With Price”; var IsHandled: Boolean) Allows extensions to replace the standard Apply Discount execution.
Integration Event codeunit isaAPM_PriceCalc. - isatech OnAfterApplyDiscount(var LineWithPrice: Interface “Line With Price”; FoundDiscount: Boolean; DiscountValue: Decimal) Called after Apply Discount logic has finished and the line has been updated.
Integration Event codeunit isaAPM_PriceCalc. - isatech OnBeforeFallbackToItemCardPrice(var TempPriceCalculationBuffer: Record isaAPM_PriceCalculationBuffer temporary; var FoundPrice: Boolean; var PriceToUpdate: Record isaAPM_PriceLine; var IsHandled: Boolean) Allows extensions to override the fallback to Item Card Price when no matching price line is found.
Integration Event codeunit isaAPM_PriceCalc. - isatech OnAfterFindPriceLines(AmountType: Enum “Price Amount Type”; ShowAll: Boolean; TempPriceCalculationBuffer: Record isaAPM_PriceCalculationBuffer temporary; var PriceLineBuffer: Record isaAPM_PriceLine temporary; var PriceLineExists: Boolean) Called at the end of FindPriceLines to inspect or adjust selected lines and final found state.
Integration Event codeunit isaAPM_PriceCalc. - isatech OnBeforeDoInsertManualDiscountLineDetail(var SalesLineDetail: Record isaAPM_SalesLineDetail; SalesLine: Record “Sales Line”; FromFieldNo: Integer) Allows extensions to adjust the manual discount detail line before it is inserted.
Integration Event codeunit isaAPM_PriceCalc. - isatech OnAfterDoInsertManualDiscountLineDetail(SalesLineDetail: Record isaAPM_SalesLineDetail; var SalesLine: Record “Sales Line”) Called after the manual discount detail line has been inserted.
Integration Event codeunit isaAPM_PriceCalc. - isatech OnAfterGetAssetTypePriority(AssetType: Enum isaAPM_PriceAssetType; var AssetPriority: Integer) Possibility to change the value of the AssetPriority based on the AssetType
Integration Event codeunit isaAPM_PriceCalc. - isatech OnAfterSetFilters(var PriceLine: Record isaAPM_PriceLine; AmountType: Enum “Price Amount Type”; ShowAll: Boolean)
Integration Event codeunit isaAPM_PriceCalc. - isatech OnAfterSetPriceLineFilters(TempPriceCalculationBuffer: Record isaAPM_PriceCalculationBuffer temporary; ShowAll: Boolean; var PriceLine: Record isaAPM_PriceLine) Allows extensions to customize Price Line filters before the initial FindSet and marking logic runs.
Integration Event codeunit isaAPM_PriceCalculationBuffMgt OnBeforeCopyToBuffer(Header: Variant; Line: Variant; LineWithPrice: Interface “Line With Price”; PriceAmountType: Enum “Price Amount Type”; var TempPriceCalculationBuffer: Record isaAPM_PriceCalculationBuffer temporary; var IsHandled: Boolean) Allows extensions to fully replace the CopyToBuffer pipeline.
Integration Event codeunit isaAPM_PriceCalculationBuffMgt OnAfterCopyToBuffer(Header: Variant; Line: Variant; LineWithPrice: Interface “Line With Price”; PriceAmountType: Enum “Price Amount Type”; var TempPriceCalculationBuffer: Record isaAPM_PriceCalculationBuffer temporary) Called after the buffer has been initialized from header and line values.
Integration Event codeunit isaAPM_PriceCalculationBuffMgt OnBeforeFillPriceCalculationBufferHeaderValues(Header: Variant; TableNo: Integer; var TempPriceCalculationBuffer: Record isaAPM_PriceCalculationBuffer temporary; var IsHandled: Boolean) Allows extensions to provide custom header mapping before default table-specific logic runs.
Integration Event codeunit isaAPM_PriceCalculationBuffMgt OnBeforeFillPriceCalculationBufferLineValues(Line: Variant; TableNo: Integer; PriceAmountType: Enum “Price Amount Type”; var TempPriceCalculationBuffer: Record isaAPM_PriceCalculationBuffer temporary; var IsHandled: Boolean) Allows extensions to provide custom line mapping before default table-specific logic runs.
Integration Event codeunit isaAPM_PriceCalculationBuffMgt OnAfterFillPriceCalculationBufferFromSalesHeader(SalesHeader: Record “Sales Header”; var TempPriceCalculationBuffer: Record isaAPM_PriceCalculationBuffer temporary) Allows extensions to enrich the buffer after Sales Header values are mapped.
Integration Event codeunit isaAPM_PriceCalculationBuffMgt OnAfterFillPriceCalculationBufferFromSalesLine(SalesLine: Record “Sales Line”; PriceAmountType: Enum “Price Amount Type”; var TempPriceCalculationBuffer: Record isaAPM_PriceCalculationBuffer temporary) Allows extensions to enrich the buffer after Sales Line values are mapped.
Integration Event codeunit isaAPM_PriceCalculationBuffMgt OnAfterSetSubstituteSourceOnBuffer(SalesLine: Record “Sales Line”; var TempPriceCalculationBuffer: Record isaAPM_PriceCalculationBuffer temporary) Called when substitute source fields are applied to the buffer.
Integration Event codeunit isaAPM_PriceCalculationBuffMgt OnBeforeSetDiscountLineAmountFromUnitPrice(SalesLine: Record “Sales Line”; var Currency: Record Currency; var LineAmount: Decimal; var IsHandled: Boolean) Allows extensions to override the Discount line amount derivation from Quantity and Unit Price.
Integration Event codeunit isaAPM_PriceCalculationBuffMgt OnAfterFillPriceCalculationBufferHeaderValues(Header: Variant; TableNo: Integer; var TempPriceCalculationBuffer: Record isaAPM_PriceCalculationBuffer temporary) Allows extensions to adjust header-derived values after the header part of the calculation buffer has been initialized.
Integration Event codeunit isaAPM_PriceCalculationBuffMgt OnAfterFillPriceCalculationBufferLineValues(Line: Variant; TableNo: Integer; var TempPriceCalculationBuffer: Record isaAPM_PriceCalculationBuffer temporary) Allows extensions to adjust line-derived values after the line part of the calculation buffer has been initialized.
Integration Event codeunit isaAPM_SubstitutionMgt OnBeforePopulateItemSubstitution(var pSalesLine: Record “Sales Line”; PriceLine: Record isaAPM_PriceLine temporary; var Handled: Boolean)
Integration Event codeunit isaAPM_SubstitutionMgt OnAfterPopulateItemSubstitution(var pSalesLine: Record “Sales Line”; PriceLine: Record isaAPM_PriceLine temporary)
Integration Event codeunit isaAPM_SubstitutionMgt OnBeforeGetSubstitutionItem(var SalesLine: Record “Sales Line”; var Handled: Boolean)
Integration Event codeunit isaAPM_SubstitutionMgt OnAfterGetSubstitutionItem(var SalesLine: Record “Sales Line”)
Integration Event codeunit isaAPM_ImportExportExcelHelper OnBeforeWriteSheet(PriceHeader: Record isaAPM_PriceHeader; var TempExcelBuffer: Record “Excel Buffer” temporary)
Integration Event codeunit isaAPM_ImportExportExcelHelper OnAfterReadAdvancedPriceHeaderSheet(var TempExcelBuffer: Record “Excel Buffer” temporary)
Integration Event codeunit isaAPM_ImportExportExcelHelper OnAfterReadLevelsExcelRow(var TempExcelBuffer: Record “Excel Buffer” temporary; RowNo: Integer)
Integration Event codeunit isaAPM_ImportExportExcelHelper OnAfterReadFreeItemExcelRow(var TempExcelBuffer: Record “Excel Buffer” temporary; RowNo: Integer)
Integration Event codeunit isaAPM_ImportExportExcelHelper OnAfterReadSubstitutionItemExcelRow(var TempExcelBuffer: Record “Excel Buffer” temporary; RowNo: Integer)
Integration Event codeunit isaAPM_ImportExportExcelHelper OnBeforeValidateAdvancedPriceHeaderSheetStructure(var TempExcelBuffer: Record “Excel Buffer” temporary; WorksheetName: Text)
Integration Event codeunit isaAPM_ImportExportExcelHelper OnBeforeValidatePriceLevelSheetStructure(var TempExcelBuffer: Record “Excel Buffer” temporary; PriceSheetName: Text[250])
Integration Event codeunit isaAPM_ImportExportExcelHelper OnBeforeValidateDiscountLevelSheetStructure(var TempExcelBuffer: Record “Excel Buffer” temporary; DiscountSheetName: Text[250])
Integration Event codeunit isaAPM_ImportExportExcelHelper OnBeforeValidateDiscountFeeLevelSheetStructure(var TempExcelBuffer: Record “Excel Buffer” temporary; DiscountFeeSheetName: Text[250])
Integration Event codeunit isaAPM_ImportExportExcelHelper OnBeforeValidateGroupedLineDiscountLevelSheetStructure(var TempExcelBuffer: Record “Excel Buffer” temporary; GroupedLineDiscountSheetName: Text[250])
Integration Event codeunit isaAPM_ImportExportExcelHelper OnBeforeValidateFreeItemSheetStructure(var TempExcelBuffer: Record “Excel Buffer” temporary; FreeItemSheet: Text[250])
Integration Event codeunit isaAPM_ImportExportExcelHelper OnBeforeValidateItemSubstitutionSheetStructure(var TempExcelBuffer: Record “Excel Buffer” temporary; SubstitutionSheet: Text[250])
Integration Event codeunit isaAPM_ImportExportManagement OnAfterAddPriceLevelExcelLine(var PriceLine: Record isaAPM_PriceLine; var TempExcelBuffer: Record “Excel Buffer” temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnAfterAddEmptyPriceLevelExcelLine(var PriceLine: Record isaAPM_PriceLine; var TempExcelBuffer: Record “Excel Buffer” temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnAfterAddDiscountLevelExcelLine(var PriceLine: Record isaAPM_PriceLine; var TempExcelBuffer: Record “Excel Buffer” temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnAfterAddEmptyDiscountLevelExcelLine(var PriceLine: Record isaAPM_PriceLine; var TempExcelBuffer: Record “Excel Buffer” temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnAfterAddDiscountFeeLevelExcelLine(var PriceLine: Record isaAPM_PriceLine; var TempExcelBuffer: Record “Excel Buffer” temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnAfterAddEmptyDiscountFeeLevelExcelLine(var PriceLine: Record isaAPM_PriceLine; var TempExcelBuffer: Record “Excel Buffer” temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnAfterAddGroupedLineDiscountExcelLine(var PriceLine: Record isaAPM_PriceLine; var TempExcelBuffer: Record “Excel Buffer” temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnAfterAddEmptyGroupedLineDiscountExcelLine(var PriceLine: Record isaAPM_PriceLine; var TempExcelBuffer: Record “Excel Buffer” temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnAfterAddFreeItemExcelLine(var PriceLine: Record isaAPM_PriceLine; var TempExcelBuffer: Record “Excel Buffer” temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnAfterAddEmptyFreeItemExcelLine(var PriceLine: Record isaAPM_PriceLine; var TempExcelBuffer: Record “Excel Buffer” temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnAfterAddSubstitutionExcelLine(var PriceLine: Record isaAPM_PriceLine; var TempExcelBuffer: Record “Excel Buffer” temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnAfterAddEmptySubstitutionExcelLine(var PriceLine: Record isaAPM_PriceLine; var TempExcelBuffer: Record “Excel Buffer” temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnBeforePriceHeaderInsert(var tempPriceHeader: Record isaAPM_PriceHeader temporary; var TempImportExcelDataError: Record isaAPM_ImportExcelDataError)
Integration Event codeunit isaAPM_ImportExportManagement OnBeforePriceHeaderModify(var PriceHeader: Record isaAPM_PriceHeader; TempPriceHeader: Record isaAPM_PriceHeader temporary; IsNewPriceHeader: Boolean)
Integration Event codeunit isaAPM_ImportExportManagement OnBeforeTempPriceLevelInsert(var TempPriceLevel: Record isaAPM_LevelPrice; var TempImportExcelDataError: Record isaAPM_ImportExcelDataError temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnBeforeLevelPriceInsert(var LevelPrice: Record isaAPM_LevelPrice; TempLevelPrice: Record isaAPM_LevelPrice temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnBeforeTempDiscountLevelInsert(var TempDiscountLevel: Record isaAPM_LevelDiscount; var TempImportExcelDataError: Record isaAPM_ImportExcelDataError temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnBeforeLevelDiscountInsert(var LevelDiscount: Record isaAPM_LevelDiscount; TempLevelDiscount: Record isaAPM_LevelDiscount temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnBeforeTempDiscountFeeLevelInsert(var TempDiscountFeeLevel: Record isaAPM_LevelDiscountFee; var TempImportExcelDataError: Record isaAPM_ImportExcelDataError temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnBeforeLevelDiscountFeeInsert(var LevelDiscountFee: Record isaAPM_LevelDiscountFee; TempLevelDiscountFee: Record isaAPM_LevelDiscountFee temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnBeforeTempGroupedLineDiscountLevelInsert(var TempGroupedLineDiscountLevel: Record isaAPM_LevelGroupedLineDisc; var TempImportExcelDataError: Record isaAPM_ImportExcelDataError temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnBeforeTempLevelGroupedLineDiscountInsert(var TempGroupedLineDiscountLevel: Record isaAPM_LevelGroupedLineDisc; var TempLevelGroupedLineDiscount: Record isaAPM_LevelGroupedLineDisc temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnBeforeTempFreeItemInsert(var TempFreeItem: Record isaAPM_FreeItem temporary; var TempImportExcelDataError: Record isaAPM_ImportExcelDataError temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnBeforeTempFreeItemDetailsInsert(var TempFreeItemDetails: Record isaAPM_FreeItemDetails temporary; var TempImportExcelDataError: Record isaAPM_ImportExcelDataError temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnBeforeFreeItemInsert(var FreeItem: Record isaAPM_FreeItem; TempFreeItem: Record isaAPM_FreeItem temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnBeforeFreeItemDetailsInsert(var FreeItemDetails: Record isaAPM_FreeItemDetails; TempFreeItemDetails: Record isaAPM_FreeItemDetails temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnBeforeItemSubstitutionInsert(var TempPriceLine: Record isaAPM_PriceLine temporary; var TempSubstitution: Record isaAPM_Substitution temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnBeforeItemSubstitutionLevelInsert(var Substitution: Record isaAPM_Substitution; var TempSubstitution: Record isaAPM_Substitution temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnBeforeCreateTempPriceLineInsert(var TempPriceLine: Record isaAPM_PriceLine temporary; var TempImportExcelDataError: Record isaAPM_ImportExcelDataError temporary)
Integration Event codeunit isaAPM_ImportExportManagement OnBeforePriceLineFromTempPriceLine(var PriceLine: Record isaAPM_PriceLine; TempPriceLine: Record isaAPM_PriceLine temporary)
Integration Event table isaAPM_Analysis Header OnBeforePrintPriceList(var PriceList: Record “isaAPM_Analysis Header”; SendAsEmail: Boolean; HideDialog: Boolean; var IsHandled: Boolean)
Integration Event table isaAPM_Analysis Header OnAfterPrintPriceList(var PriceList: Record “isaAPM_Analysis Header”; SendAsEmail: Boolean; HideDialog: Boolean)
Integration Event table isaAPM_Analysis Header OnBeforePrintAnalysis(var PriceList: Record “isaAPM_Analysis Header”; SendAsEmail: Boolean; HideDialog: Boolean; var IsHandled: Boolean)
Integration Event table isaAPM_Analysis Header OnAfterPrintAnalysis(var PriceList: Record “isaAPM_Analysis Header”; SendAsEmail: Boolean; HideDialog: Boolean)
Integration Event codeunit isaAPM_AdvancedPriceListMgmt OnAfterIsAllowedEditingActivePrice(SalesReceivablesSetup: Record “Sales & Receivables Setup”; var Result: Boolean) Skip/Overwrite the Result parameter that will determine if it’s possible to edit active advanced price lines.
Integration Event codeunit isaAPM_AdvancedPriceListMgmt OnActivateDraftLinesOnAfterPriceListLineModifyAll(var PriceHeader: Record isaAPM_PriceHeader; var SkipMessage: Boolean) Possibility to change the value of the SkipMessage parameter.
Integration Event table isaAPM_PriceHeader OnBeforeHasDraftLines(var PriceLine: Record isaAPM_PriceLine; var Result: Boolean; var IsHandled: Boolean; var PriceHeader: Record isaAPM_PriceHeader) Possibility to Skip/Overwrite the return value of the Result parameter that determines if the Price Header has Draft Lines.
Integration Event table isaAPM_PriceLine OnBeforeSetApplicationBaseActionTxt(Rec: Record isaAPM_PriceLine; var ApplicationBaseActionTxt: Text; var IsHandled: Boolean)
Integration Event table isaAPM_PriceLine OnAfterSetApplicationBaseActionTxt(Rec: Record isaAPM_PriceLine; var ApplicationBaseActionTxt: Text)
Integration Event table isaAPM_PriceLine OnAfterCopyFromAsset(var PriceListLine: Record isaAPM_PriceLine)
Integration Event table isaAPM_PriceLine OnAfterCopyFromPriceListHeader(PriceListHeader: Record isaAPM_PriceHeader)
Integration Event table isaAPM_PriceLine OnAfterInitHeaderDefaults(PriceListHeader: Record isaAPM_PriceHeader)
Integration Event table isaAPM_PriceLine OnAfterIsAllowedEditingActivePrice(PriceLine: Record isaAPM_PriceLine; var Result: Boolean) Skip/Overwrite the Result parameter that will determine if it’s possible to edit the active advanced price line.
Integration Event table isaAPM_PriceLine OnBeforeVerify(var PriceLine: Record isaAPM_PriceLine; var IsHandled: Boolean) Possibility to Skip/Overwrite the Verify method.
Integration Event table isaAPM_PriceLine OnAfterVerify(var PriceLine: Record isaAPM_PriceLine) Possibility to perform additional verifications.
Integration Event codeunit isaAPM_DatePriceCalculation OnBeforeCalculateDocumentDateForDeliveryDatePriceCalculation(SalesHeader: Record “Sales Header”; var DocumentDate: Date; var IsHandled: Boolean) Possibility to change the value of the DOcumentDate parameter.
Integration Event codeunit isaAPM_GroupedLineDiscountMgmt OnBeforeCalculateDiscount(SalesHeader: Record “Sales Header”; ShowMessage: Boolean; DiscountApplied: Boolean; var IsHandled: Boolean) Possibility to skip the CalculateDiscount method process.
Integration Event codeunit isaAPM_GroupedLineDiscountMgmt OnAfterCalculateDiscount(SalesHeader: Record “Sales Header”; ShowMessage: Boolean; DiscountApplied: Boolean) Possibility to add custom logic after the CalculateDiscount method process.
Integration Event codeunit isaAPM_GroupedLineDiscountMgmt OnBeforeIsMatchingSalesLineForDiscount(PriceLine: Record isaAPM_PriceLine; SalesLine: Record “Sales Line”; ThresholdCalculation: Boolean; LineMatching: Boolean; var DiscountApplies: Boolean; var IsHandled: Boolean) Possibility to skip/override the matching logic between a Price Line and a Sales Line for Grouped Line Discounts calculation.
Integration Event codeunit isaAPM_GroupedLineDiscountMgmt OnAfterIsMatchingSalesLineForDiscount(PriceLine: Record isaAPM_PriceLine; SalesLine: Record “Sales Line”; ThresholdCalculation: Boolean; LineMatching: Boolean; var DiscountApplies: Boolean) Possibility to add custom logic after the matching logic between a Price Line and a Sales Line for Grouped Line Discounts calculation.
Integration Event codeunit isaAPM_GroupedLineDiscountMgmt OnClearSalesLineDetailDiscountsOnAfterFilterSalesLineDetail(var SalesLineDetail: Record isaAPM_SalesLineDetail; SalesHeader: Record “Sales Header”) Possibility to perform additional changes on the Sales Line Detail filter before clearing the discounts.
Integration Event codeunit isaAPM_GroupedLineDiscountMgmt OnUpdateSalesLineDiscountPercentageOnBeforeModify(var SalesLine: Record “Sales Line”; LineDiscountPct: Decimal) Possibility to perform additional changes on the Sales Line before modifying it with the new discount percentage.
Integration Event codeunit isaAPM_GroupedLineDiscountMgmt OnAfterGetApplicablePriceLines(var TempPriceLines: Record isaAPM_PriceLine temporary; SalesHeader: Record “Sales Header”) Possibility to modify the TempPriceLines after they have been collected.
Integration Event codeunit isaAPM_GroupedLineDiscountMgmt OnCreateCreateTempApplicableDiscountOnBeforeInsert(var TempApplicableDiscounts: Record isaAPM_SalesLineDetail temporary; SalesLine: Record “Sales Line”; TempApplicablePriceLine: Record isaAPM_PriceLine temporary; CurrentDiscountPercentage: Decimal; DiscountAmount: Decimal; BaseValue: Decimal) Possibility to perform additional changes on the TempApplicableDiscounts before inserting it.
Integration Event codeunit isaAPM_NetPriceCalculationMgmt OnBeforeSetAPMSalesPriceOnSalesLine(var SalesLine: Record “Sales Line”; var SalesPriceUpdate: Boolean; var IsHandled: Boolean) Possibility to Skip/Overwrite the SetAPMSalesPriceOnSalesLine method.
Integration Event codeunit isaAPM_NetPriceCalculationMgmt OnAfterSetAPMSalesPriceOnSalesLine(var SalesLine: Record “Sales Line”; var SalesPriceUpdate: Boolean) Possibility to make additional changes on the “Sales Line” record.
Integration Event codeunit isaAPM_NetPriceCalculationMgmt OnBeforeUpdateLineAmountBasedOnAPMNetPrice(var SalesLine: Record “Sales Line”; var LineAmount: Decimal; var LineAmountUpdated: Boolean; var IsHandled: Boolean) Possibility to Skip/Overwrite the UpdateLineAmountBasedOnAPMNetPrice method.
Integration Event codeunit isaAPM_NetPriceCalculationMgmt OnAfterUpdateLineAmountBasedOnAPMNetPrice(var SalesLine: Record “Sales Line”; var SalesLineDetail: Record isaAPM_SalesLineDetail; Currency: Record Currency; BasePrice: Decimal; NetPrice: Decimal; DiscountAmount: Decimal; var LineAmountUpdated: Boolean) Possibility to make additional changes on the “Sales Line” record.
Integration Event codeunit isaAPM_NetPriceCalculationMgmt OnBeforeUpdateLineAmountToHandleBasedOnAPMNetPrice(var SalesLine: Record “Sales Line”; var LineAmount: Decimal; var LineDiscountAmount: Decimal; var IsHandled: Boolean) Possibility to Skip/Overwrite the UpdateLineAmountToHandleBasedOnAPMNetPrice method.
Integration Event codeunit isaAPM_NetPriceCalculationMgmt OnAfterUpdateLineAmountToHandleBasedOnAPMNetPrice(var SalesLine: Record “Sales Line”; SalesLineDetail: Record isaAPM_SalesLineDetail; Currency: Record Currency; NetPrice: Decimal; QtyToHandle: Decimal; DiscountAmount: Decimal; BasePrice: Decimal; var LineAmount: Decimal; var LineDiscountAmount: Decimal) Possibility to make additional changes on the “Sales Line” record.
Integration Event report isaAPM_PostedSalesCreditMemo OnAfterInitReport()
Integration Event report isaAPM_PostedSalesInvoice OnAfterInitReport()
Integration Event report isaAPM_SalesCreditMemo OnAfterInitReport()
Integration Event report isaAPM_SalesInvoice OnAfterInitReport()
Integration Event report isaAPM_SalesOrder OnAfterInitReport()
Integration Event report isaAPM_SalesQuote OnAfterInitReport()
Integration Event page isaAPM_PriceListCard OnQueryClosePageOnBeforeDraftLineCheck(var PriceHeader: Record isaAPM_PriceHeader; var Result: Boolean; var IsHandled: Boolean) Possibility to change the value of the Result parameter that will determine if a check will be perfomed searching for draft price lines.
Integration Event page isaAPM_ArchivedSalesLineDetail OnAfterGetAmountsInSalesUOM(ArchSalesLineDetail: Record isaAPM_ArchSalesLineDetail; SalesLineArchive: Record “Sales Line Archive”; BasePrice: Decimal; GlobalDiscountAmount: Decimal; NetPrice: Decimal; var BasePriceSalesUOM: Decimal; var GlobalDiscountAmountSalesPriceUOM: Decimal; var NetPriceSalesUOM: Decimal) Possibility to change the values of the amount in Sales UOM.
Integration Event page isaAPM_SalesLineDetail OnAfterGetAmountsInSalesUOM(SalesLineDetail: Record isaAPM_SalesLineDetail; SalesLine: Record “Sales Line”; BasePrice: Decimal; GlobalDiscountAmount: Decimal; NetPrice: Decimal; var BasePriceSalesUOM: Decimal; var GlobalDiscountAmountSalesPriceUOM: Decimal; var NetPriceSalesUOM: Decimal) Possibility to change the values of the amount in Sales UOM.
Integration Event page isaAPM_PostedSalesLineDetail OnAfterGetLineAmountsInSalesUOM(PostedSalesLineDetail: Record isaAPM_PostedSalesLineDetail; var BasePriceSalesUOM: Decimal; var GlobalDiscountAmountSalesPriceUOM: Decimal; var NetPriceSalesUOM: Decimal) Possibility to change the value of the Line Amounts in Sales Price UOM parameteres.
Integration Event page isaAPM_PostedSalesLineDetail OnAfterGetCurrencyCode(PostedSalesLineDetail: Record isaAPM_PostedSalesLineDetail; var CurrencyCode: Code[10]) Possibility to change the value of the CurrencyCode parameter
Previous