Codeunit 7017 Price List Management

Base Application, Microsoft.Pricing.PriceList

Source AL, 1,182 lines

src/Layers/W1/BaseApp/Pricing/PriceList/PriceListManagement.Codeunit.allines 22 to 37 of 1,182, Copyright (c) Microsoft Corporation. MIT

codeunit 7017 "Price List Management"{    var        PriceIsFound: Boolean;        SearchIfPriceExists: Boolean;        AllLinesVerifiedMsg: Label 'All price list lines which were modified by you were verified.';        EmptyPriceSourceErr: Label 'You must specify what the price applies to.';        ImplementPricesMsg: Label 'Implementing price changes: inserted - %1, modified - %2, skipped - %3', Comment = '%1, %2, %3 are numbers';        VerifyLinesLbl: Label 'Verify lines';        VerifyLinesMsg: Label 'You must verify and activate modified lines to include them in price calculations.';        VerifyLinesActionMsg: Label 'Prices that have been changed but not verified will not be included in price calculations. Use the Verify Lines action to verify and activate the changed lines.';        VerifyLinesNotificationIdTxt: Label '0CDA03EA-8E9F-45BF-B2D7-0F9FADF5F966', Locked = true;        ImplementedPriceNotificationIdTxt: Label '2BD32F12-A55D-4527-B885-ED881CC61D24', Locked = true;        UpgradeNotificationGuidTok: Label '40BEF749-FD08-4355-B4AE-AC3423A82006', Locked = true;        SourceGroupUpdateMsg: Label 'There are price list line records with not defined Source Group field. You are not allowed to copy the lines from the existing price lists.';        CompleteSourceGroupUpgradeLbl: Label 'Complete the upgrade process for setting the Source Group field in price list lines.';

All 1,182 lines

Events 22 in 29

[IntegrationEvent] OnBuildAssetFiltersOnBeforeFindLines(var PriceListLine: Record "Price List Line"; PriceAsset: Record "Price Asset")new in 18
[IntegrationEvent] OnBuildSourceFiltersOnBeforeFindLines(var PriceListLine: Record "Price List Line"; PriceSource: Record "Price Source")new in 18
[IntegrationEvent] OnAddLineOnAfterPopulatePriceListLineFields(var PriceListLine: Record "Price List Line"; ToPriceListHeader: Record "Price List Header"; PriceAsset: Record "Price Asset"; PriceLineFilters: Record "Price Line Filters")new in 19
[IntegrationEvent] OnAfterBuildSourceFilters(var PriceSource: Record "Price Source"; var SourceFilter: array[3] of Text)new in 19
[IntegrationEvent] OnAfterImplementNewPrice(var PriceWorksheetLine: Record "Price Worksheet Line"; var PriceListLine: Record "Price List Line"; var Implemented: Boolean)new in 19
[IntegrationEvent] OnCopyToWorksheetLineOnBeforeInsert(var PriceWorksheetLine: Record "Price Worksheet Line"; FromPriceListLine: Record "Price List Line")new in 19
[IntegrationEvent] OnCopyLinesOnAfterFromPriceListLineSetFilters(var PriceListLine: Record "Price List Line"; PriceLineFilters: Record "Price Line Filters")new in 19

All 26 events in 17-29

Public procedures 33 in 29

AddLines(var PriceListHeader: Record "Price List Header")17-29
AddLines(var ToPriceListHeader: Record "Price List Header"; PriceLineFilters: Record "Price Line Filters")17-29
CopyLines(var ToPriceListHeader: Record "Price List Header")17-29
CopyLines(var ToPriceListHeader: Record "Price List Header"; PriceLineFilters: Record "Price Line Filters")17-29
FindDuplicatePrices(PriceListHeader: Record "Price List Header"; SearchInside: Boolean; var DuplicatePriceLine: Record "Duplicate Price Line"): Boolean17-29
ResolveDuplicatePrices(PriceListHeader: Record "Price List Header"; var DuplicatePriceLine: Record "Duplicate Price Line"): Boolean17-29

All 33 procedures

Changes 3 in 28

List17181920212223242526272829
Procedures201132
Events26342183
[IntegrationEvent] OnBeforeFindDuplicatePriceListLine(PriceListLine: Record "Price List Line"; var DuplicatePriceListLine: Record "Price List Line")gone after 27
gone
[IntegrationEvent] OnBeforeAddLine(PriceListHeader: Record "Price List Header"; PriceAsset: Record "Price Asset"; PriceLineFilters: Record "Price Line Filters"; var IsHandled: Boolean)new in 28
added
[IntegrationEvent] OnBeforeFindDuplicatePriceListLine(PriceListLine: Record "Price List Line"; var DuplicatePriceListLine: Record "Price List Line"; AsLineDefaults: Boolean; SearchInside: Boolean)new in 28
added

All 56 changes in 17-29