Codeunit 130510 Library - Price Calculation
src/Layers/W1/Tests/ApplicationTestLibrary/LibraryPriceCalculation.Codeunit.al27 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
AddSetup line 20
- 29writesTable 7006 Price Calculation Setup Insert(true)
AddDtldSetup line 47
- 56validatesTable 7008 Dtld. Price Calculation Setup Source Group
- 59writesTable 7008 Dtld. Price Calculation Setup Insert(true)
AddDtldSetup line 62
- 68validatesTable 7008 Dtld. Price Calculation Setup Setup Code
- 70validatesTable 7008 Dtld. Price Calculation Setup Source Group
- 73writesTable 7008 Dtld. Price Calculation Setup Insert(true)
DisableSetup line 76
- 79writesTable 7006 Price Calculation Setup Modify
DisableDtldSetup line 82
- 85writesTable 7008 Dtld. Price Calculation Setup Modify
SetupDefaultHandler line 109
- 123writesTable 7006 Price Calculation Setup DeleteAll
- 124runsCodeunit 7001 Price Calculation Mgt.
- 125writesTable 7006 Price Calculation Setup Modifyall
- 128writesTable 7006 Price Calculation Setup Modifyall
AllowEditingActiveSalesPrice line 138, local
- 144writesTable 311 Sales & Receivables Setup Modify
AllowEditingActivePurchPrice line 152, local
- 158writesTable 312 Purchases & Payables Setup Modify
DisallowEditingActiveSalesPrice line 161
DisallowEditingActivePurchPrice line 166
CreateDefaultPriceList line 171, local
- 175validatesTable 7000 Price List Header Price Type
- 176validatesTable 7000 Price List Header Source Group
- 180validatesTable 7000 Price List Header Source Type
- 182validatesTable 7000 Price List Header Source Type
- 184validatesTable 7000 Price List Header Source Type
- 188writesTable 7000 Price List Header Insert(true)
SetDefaultPriceList line 192
DefineJobDefaultPriceList line 204, local
- 209callsCreateDefaultPriceList
- 216writesTable 315 Jobs Setup Modify
DefinePurchDefaultPriceList line 219, local
- 224callsCreateDefaultPriceList
- 227writesTable 312 Purchases & Payables Setup Modify
DefineSalesDefaultPriceList line 230, local
- 235callsCreateDefaultPriceList
- 238writesTable 311 Sales & Receivables Setup Modify
ClearDefaultPriceList line 242
- 258writesTable 315 Jobs Setup Modify
- 264writesTable 312 Purchases & Payables Setup Modify
- 270writesTable 311 Sales & Receivables Setup Modify
SetUseCustomLookup line 275
- 284writesTable 311 Sales & Receivables Setup Modify
SetMethodInSalesSetup line 287
- 293writesTable 311 Sales & Receivables Setup Modify
SetMethodInPurchSetup line 296
- 302writesTable 312 Purchases & Payables Setup Modify
CreatePriceHeader line 305
- 308callsCodeunit 131000 Library - Utility GenerateGUID
- 311validatesTable 7000 Price List Header Source Type
- 312validatesTable 7000 Price List Header Source No.
- 313writesTable 7000 Price List Header Insert(true)
CreatePriceHeader line 316
- 319callsCodeunit 131000 Library - Utility GenerateGUID
- 322validatesTable 7000 Price List Header Source Type
- 323validatesTable 7000 Price List Header Parent Source No.
- 324validatesTable 7000 Price List Header Source No.
- 325writesTable 7000 Price List Header Insert(true)
CreatePriceListLine line 344
- 350validatesTable 7001 Price List Line Source Type
- 351validatesTable 7001 Price List Line Parent Source No.
- 352validatesTable 7001 Price List Line Source No.
- 353validatesTable 7001 Price List Line Asset Type
- 354validatesTable 7001 Price List Line Asset No.
- 355validatesTable 7001 Price List Line Amount Type
- 357validatesTable 7001 Price List Line Line Discount %
- 357callsCodeunit 130440 Library - Random RandDec
- 361validatesTable 7001 Price List Line Unit Price
- 361callsCodeunit 130440 Library - Random RandDec
- 363validatesTable 7001 Price List Line Direct Unit Cost
- 363callsCodeunit 130440 Library - Random RandDec
- 365writesTable 7001 Price List Line Insert(true)