Codeunit 132207 Library - Assembly

Application Test Library

src/Layers/W1/Tests/ApplicationTestLibrary/LibraryAssembly.Codeunit.al116 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

AddCompInventory line 33

  1. 45callsTable 27 Item IsInventoriableType
  2. 46callsAddItemInventory

AddCompInventoryToBin line 51

  1. 77callsSetupItemJournal
  2. 79callsCodeunit 132204 Library - Warehouse WarehouseJournalSetup
  3. 87callsCodeunit 132204 Library - Warehouse CreateWhseJournalLine
  4. 92callsCodeunit 132204 Library - Warehouse RegisterWhseJournalLine
  5. 97callsCodeunit 132204 Library - Warehouse CalculateWhseAdjustment
  6. 105callsCodeunit 132201 Library - Inventory CreateItemJournalLine
  7. 107validatesTable 83 Item Journal Line Posting Date
  8. 108validatesTable 83 Item Journal Line Document Date
  9. 109validatesTable 83 Item Journal Line Unit of Measure Code
  10. 110validatesTable 83 Item Journal Line Variant Code
  11. 111validatesTable 83 Item Journal Line Unit Cost
  12. 111callsCodeunit 130440 Library - Random RandDec
  13. 112validatesTable 83 Item Journal Line Location Code
  14. 113validatesTable 83 Item Journal Line Bin Code
  15. 114writesTable 83 Item Journal Line Modify(true)
  16. 119callsCodeunit 132201 Library - Inventory PostItemJournalLine

AddItemInventory line 122

  1. 147callsSetupItemJournal
  2. 149callsCodeunit 132204 Library - Warehouse WarehouseJournalSetup
  3. 151callsCodeunit 132204 Library - Warehouse CreateWhseJournalLine
  4. 154callsCodeunit 132204 Library - Warehouse RegisterWhseJournalLine
  5. 160callsCodeunit 132204 Library - Warehouse CalculateWhseAdjustment
  6. 162callsCodeunit 132201 Library - Inventory CreateItemJournalLine
  7. 164validatesTable 83 Item Journal Line Posting Date
  8. 165validatesTable 83 Item Journal Line Document Date
  9. 166validatesTable 83 Item Journal Line Unit of Measure Code
  10. 167validatesTable 83 Item Journal Line Variant Code
  11. 168validatesTable 83 Item Journal Line Unit Cost
  12. 168callsCodeunit 130440 Library - Random RandDec
  13. 169validatesTable 83 Item Journal Line Location Code
  14. 170validatesTable 83 Item Journal Line Bin Code
  15. 171writesTable 83 Item Journal Line Modify(true)
  16. 174callsCodeunit 132201 Library - Inventory PostItemJournalLine

AddAssemblyHeaderComment line 177

  1. 183validatesTable 906 Assembly Comment Line Document Type
  2. 184validatesTable 906 Assembly Comment Line Document No.
  3. 185validatesTable 906 Assembly Comment Line Document Line No.
  4. 186validatesTable 906 Assembly Comment Line Comment
  5. 187writesTable 906 Assembly Comment Line Insert(true)

AddAssemblyLineComment line 190

  1. 195validatesTable 906 Assembly Comment Line Document Type
  2. 196validatesTable 906 Assembly Comment Line Document No.
  3. 197validatesTable 906 Assembly Comment Line Document Line No.
  4. 199validatesTable 906 Assembly Comment Line Line No.
  5. 199callsCodeunit 131000 Library - Utility GetNewLineNo
  6. 200writesTable 906 Assembly Comment Line Insert(true)
  7. 201validatesTable 906 Assembly Comment Line Date
  8. 202validatesTable 906 Assembly Comment Line Comment
  9. 203writesTable 906 Assembly Comment Line Modify(true)

AddEntityDimensions line 206

  1. 213callsCreateDimensionSetup
  2. 219callsCodeunit 131001 Library - Dimension CreateDefaultDimensionItem
  3. 221callsCodeunit 131001 Library - Dimension CreateDefaultDimensionResource

BatchPostAssemblyHeaders line 227

  1. 231callsReport 900 Batch Post Assembly Orders UseRequestPage
  2. 232callsReport 900 Batch Post Assembly Orders InitializeRequest
  3. 240callsCodeunit 130000 Assert IsTrue

BlockDimensions line 245

  1. 255callsCodeunit 131001 Library - Dimension FindDefaultDimension
  2. 267validatesTable 348 Dimension Blocked
  3. 268writesTable 348 Dimension Modify(true)
  4. 274validatesTable 349 Dimension Value Blocked
  5. 275writesTable 349 Dimension Value Modify(true)
  6. 281validatesTable 350 Dimension Combination Combination Restriction
  7. 282writesTable 350 Dimension Combination Modify(true)

BlockOrderDimensions line 290

  1. 311callsBlockDimensions
  2. 315callsBlockDimensions

CalcExpectedStandardCost line 324

  1. 377callsCodeunit 131300 Library - ERM GetUnitAmountRoundingPrecision
  2. 378callsCodeunit 131300 Library - ERM GetUnitAmountRoundingPrecision
  3. 379callsCodeunit 131300 Library - ERM GetUnitAmountRoundingPrecision
  4. 380callsCodeunit 131300 Library - ERM GetUnitAmountRoundingPrecision

CalcExpectedPrice line 383

  1. 413callsCodeunit 131300 Library - ERM GetUnitAmountRoundingPrecision

CalcOrderCostAmount line 416

  1. 439callsGetCostInformation
  2. 459callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision
  3. 460callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision
  4. 461callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision
  5. 462callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision
  6. 464callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision

ChangeResourceUsage line 467

  1. 475callsCodeunit 130440 Library - Random RandInt
  2. 478validatesTable 901 Assembly Line Resource Usage Type
  3. 480validatesTable 901 Assembly Line Resource Usage Type

ClearOrderPostingSetup line 483

  1. 495writesTable 5813 Inventory Posting Setup DeleteAll
  2. 498writesTable 252 General Posting Setup DeleteAll
  3. 506writesTable 5813 Inventory Posting Setup DeleteAll

CreateAssemblyHeaderLocal line 513, local

  1. 517writesTable 900 Assembly Header Insert(true)
  2. 518validatesTable 900 Assembly Header Item No.
  3. 519validatesTable 900 Assembly Header Location Code
  4. 520validatesTable 900 Assembly Header Due Date
  5. 521validatesTable 900 Assembly Header Quantity
  6. 523validatesTable 900 Assembly Header Variant Code
  7. 524writesTable 900 Assembly Header Modify(true)

CreateAssemblyHeader line 529

  1. 532callsCreateAssemblyHeaderLocal

CreateAssemblyQuote line 536

  1. 539callsCreateAssemblyHeaderLocal

CreateAssemblyLine line 543

  1. 551validatesTable 901 Assembly Line Line No.
  2. 551callsCodeunit 131000 Library - Utility GetNewLineNo
  3. 552writesTable 901 Assembly Line Insert(true)
  4. 553validatesTable 901 Assembly Line Type
  5. 554validatesTable 901 Assembly Line No.
  6. 556callsTable 901 Assembly Line CalcQuantityPer
  7. 557validatesTable 901 Assembly Line Quantity
  8. 558validatesTable 901 Assembly Line Unit of Measure Code
  9. 560validatesTable 901 Assembly Line Quantity per
  10. 561validatesTable 901 Assembly Line Description
  11. 562writesTable 901 Assembly Line Modify(true)

CreateAssemblyLines line 565

  1. 572callsSetupComponents
  2. 577callsCreateAssemblyLine
  3. 578callsGetUnitOfMeasureCode
  4. 578callsCodeunit 130440 Library - Random RandDec
  5. 583callsCreateAssemblyLine
  6. 584callsGetUnitOfMeasureCode
  7. 584callsCodeunit 130440 Library - Random RandDec

CreateAssemblyList line 588

  1. 595callsSetupComponents
  2. 599callsCreateAssemblyListComponent
  3. 600callsCodeunit 130440 Library - Random RandDec
  4. 607callsCreateAssemblyListComponent
  5. 608callsCodeunit 130440 Library - Random RandDec
  6. 610callsCreateAssemblyListComponent
  7. 611callsCodeunit 130440 Library - Random RandDec
  8. 616callsCreateAssemblyListComponent

CreateAssemblyListComponent line 622

  1. 626callsCodeunit 132201 Library - Inventory CreateBOMComponent
  2. 627callsGetUnitOfMeasureCode
  3. 629validatesTable 90 BOM Component Resource Usage Type
  4. 630validatesTable 90 BOM Component Variant Code
  5. 631validatesTable 90 BOM Component Description
  6. 632callsCodeunit 131000 Library - Utility GenerateRandomCode
  7. 633writesTable 90 BOM Component Modify(true)

CreateAssemblySetup line 637

  1. 640validatesTable 905 Assembly Setup Assembly Order Nos.
  2. 641callsCodeunit 131000 Library - Utility GetGlobalNoSeriesCode
  3. 643validatesTable 905 Assembly Setup Posted Assembly Order Nos.
  4. 643callsCodeunit 131000 Library - Utility GetGlobalNoSeriesCode
  5. 645validatesTable 905 Assembly Setup Assembly Quote Nos.
  6. 645callsCodeunit 131000 Library - Utility GetGlobalNoSeriesCode
  7. 647validatesTable 905 Assembly Setup Blanket Assembly Order Nos.
  8. 647callsCodeunit 131000 Library - Utility GetGlobalNoSeriesCode
  9. 648validatesTable 905 Assembly Setup Default Location for Orders
  10. 649validatesTable 905 Assembly Setup Copy Component Dimensions from
  11. 650validatesTable 905 Assembly Setup Posted Assembly Order Nos.
  12. 651writesTable 905 Assembly Setup Modify(true)

CreateDimensionSetup line 654

  1. 663callsCodeunit 131001 Library - Dimension CreateDimension
  2. 666writesTable 348 Dimension Insert
  3. 667callsCodeunit 131001 Library - Dimension CreateDimensionValue
  4. 669writesTable 349 Dimension Value Insert
  5. 671callsCodeunit 131001 Library - Dimension CreateDimensionCombination

CreateGLAccount line 674

  1. 676callsCodeunit 131300 Library - ERM CreateGLAccount
  2. 677validatesTable 15 G/L Account Income/Balance
  3. 678validatesTable 15 G/L Account Debit/Credit
  4. 679validatesTable 15 G/L Account Account Type
  5. 680validatesTable 15 G/L Account Name
  6. 681writesTable 15 G/L Account Modify(true)

CreateItem line 684

  1. 691callsCodeunit 132201 Library - Inventory CreateItem
  2. 692validatesTable 27 Item Replenishment System
  3. 693validatesTable 27 Item Costing Method
  4. 697validatesTable 27 Item Standard Cost
  5. 697callsCodeunit 130440 Library - Random RandDec
  6. 699validatesTable 27 Item Unit Cost
  7. 699callsCodeunit 130440 Library - Random RandDec
  8. 700validatesTable 27 Item Unit Price
  9. 700callsCodeunit 130440 Library - Random RandDec
  10. 702validatesTable 27 Item Standard Cost
  11. 703validatesTable 27 Item Unit Cost
  12. 704validatesTable 27 Item Unit Price
  13. 707validatesTable 27 Item Last Direct Cost
  14. 709validatesTable 27 Item Inventory Posting Group
  15. 711callsCodeunit 131300 Library - ERM FindGeneralPostingSetupInvtToGL
  16. 714validatesTable 27 Item Gen. Prod. Posting Group
  17. 716callsCodeunit 131300 Library - ERM FindVATPostingSetup
  18. 717validatesTable 27 Item VAT Prod. Posting Group
  19. 718writesTable 27 Item Modify(true)
  20. 722callsCodeunit 132201 Library - Inventory CreateItemUnitOfMeasure
  21. 723callsCodeunit 130440 Library - Random RandInt

CreateInvtPostingSetup line 727

  1. 733validatesTable 5813 Inventory Posting Setup Location Code
  2. 734validatesTable 5813 Inventory Posting Setup Invt. Posting Group Code
  3. 735validatesTable 5813 Inventory Posting Setup Inventory Account
  4. 736validatesTable 5813 Inventory Posting Setup Material Variance Account
  5. 737validatesTable 5813 Inventory Posting Setup Capacity Variance Account
  6. 738validatesTable 5813 Inventory Posting Setup Cap. Overhead Variance Account
  7. 739validatesTable 5813 Inventory Posting Setup Mfg. Overhead Variance Account
  8. 740validatesTable 5813 Inventory Posting Setup Inventory Account (Interim)
  9. 741callsCodeunit 131300 Library - ERM CreateGLAccount
  10. 742validatesTable 5813 Inventory Posting Setup WIP Account
  11. 743raisesOnBeforeInsertInventoryPostingSetup
  12. 744writesTable 5813 Inventory Posting Setup Insert(true)

CreateInvtMovement line 747

  1. 758callsReport 7323 Create Invt Put-away/Pick/Mvmt InitializeRequest
  2. 775callsReport 7323 Create Invt Put-away/Pick/Mvmt UseRequestPage

AsmOrder_CreateInvtMovement line 779

  1. 785callsReport 7323 Create Invt Put-away/Pick/Mvmt InitializeRequest
  2. 802callsReport 7323 Create Invt Put-away/Pick/Mvmt UseRequestPage

CreateWhsePick line 806

  1. 808callsTable 900 Assembly Header CreatePick

CreateMultipleLvlTree line 811

  1. 818callsCreateItem
  2. 820raisesOnCreateMultipleLvlTreeOnCreateBOM
  3. 822callsCreateAssemblyList
  4. 824callsCreateItem
  5. 825callsCreateAssemblyList
  6. 826callsCreateAssemblyListComponent
  7. 828callsCodeunit 130440 Library - Random RandDec
  8. 831callsCreateItem
  9. 832callsCreateAssemblyList
  10. 833callsCreateAssemblyListComponent
  11. 834callsCodeunit 130440 Library - Random RandDec
  12. 838validatesTable 27 Item Replenishment System
  13. 839writesTable 27 Item Modify(true)
  14. 840raisesOnCreateMultipleLvlTreeOnCreateBOM

CreateItemSubstitution line 845

  1. 849callsCreateItem
  2. 852validatesTable 5715 Item Substitution Type
  3. 853validatesTable 5715 Item Substitution No.
  4. 854validatesTable 5715 Item Substitution Substitute Type
  5. 855validatesTable 5715 Item Substitution Substitute No.
  6. 856writesTable 5715 Item Substitution Insert

CreateAdjustmentSource line 859

  1. 874callsCodeunit 130512 Library - Purchase CreatePurchHeader
  2. 876callsCodeunit 130512 Library - Purchase CreatePurchaseLine
  3. 877callsCodeunit 130440 Library - Random RandInt
  4. 878validatesTable 38 Purchase Header Vendor Invoice No.
  5. 879callsCodeunit 131000 Library - Utility GenerateRandomCode
  6. 881writesTable 38 Purchase Header Modify(true)
  7. 882callsCodeunit 130512 Library - Purchase PostPurchaseDocument
  8. 886callsRevaluateItem
  9. 887callsCodeunit 132201 Library - Inventory PostItemJournalLine
  10. 891callsCodeunit 130440 Library - Random RandDec
  11. 893callsCodeunit 130440 Library - Random RandDec
  12. 894writesTable 27 Item Modify(true)
  13. 898callsCreateResource
  14. 899callsEditAssemblyLines
  15. 905callsCodeunit 130440 Library - Random RandDec
  16. 906writesTable 156 Resource Modify(true)

CreateItemWithSKU line 911

  1. 915callsCreateItem
  2. 917callsCodeunit 132201 Library - Inventory CreateVariant
  3. 919writesTable 27 Item Modify
  4. 922callsCodeunit 132201 Library - Inventory CreateStockKeepingUnit
  5. 923callsUpdateSKUCards

CheckOrderDimensions line 926

  1. 932callsVerifyEntityDimensions
  2. 950callsVerifyEntityDimensions

CreateResource line 957

  1. 964callsCodeunit 131300 Library - ERM FindVATPostingSetup
  2. 965callsCodeunit 130511 Library - Resource CreateResource
  3. 972validatesTable 205 Resource Unit of Measure Resource No.
  4. 973validatesTable 205 Resource Unit of Measure Code
  5. 974writesTable 205 Resource Unit of Measure Insert(true)
  6. 975validatesTable 205 Resource Unit of Measure Qty. per Unit of Measure
  7. 975callsCodeunit 130440 Library - Random RandInt
  8. 976validatesTable 205 Resource Unit of Measure Related to Base Unit of Meas.
  9. 977writesTable 205 Resource Unit of Measure Modify(true)
  10. 980callsCodeunit 131300 Library - ERM FindGeneralPostingSetupInvtToGL
  11. 983validatesTable 156 Resource Gen. Prod. Posting Group
  12. 984writesTable 156 Resource Modify(true)

DeleteAssemblyLine line 989

  1. 999callsCodeunit 130440 Library - Random RandInt
  2. 1000writesTable 901 Assembly Line Delete

DeleteAssemblyLines line 1003

  1. 1008writesTable 901 Assembly Line DeleteAll

DeleteAssemblyListComponent line 1011

  1. 1019callsCodeunit 130440 Library - Random RandInt
  2. 1020writesTable 90 BOM Component Delete

DeleteAssemblyList line 1023

  1. 1028writesTable 90 BOM Component DeleteAll

EditAssemblyListComponent line 1031

  1. 1040callsCodeunit 130440 Library - Random RandInt
  2. 1042validatesTable 90 BOM Component Type
  3. 1043validatesTable 90 BOM Component No.
  4. 1044validatesTable 90 BOM Component Unit of Measure Code
  5. 1044callsGetUnitOfMeasureCode
  6. 1046validatesTable 90 BOM Component Unit of Measure Code
  7. 1046callsGetUnitOfMeasureCode
  8. 1048validatesTable 90 BOM Component Resource Usage Type
  9. 1049validatesTable 90 BOM Component Quantity per
  10. 1050validatesTable 90 BOM Component Description
  11. 1051callsCodeunit 131000 Library - Utility GenerateRandomCode
  12. 1052writesTable 90 BOM Component Modify(true)

EditAssemblyList line 1055

  1. 1061callsCreateAssemblyListComponent
  2. 1063callsCodeunit 130440 Library - Random RandDec
  3. 1065callsEditAssemblyListComponent
  4. 1067callsCodeunit 130440 Library - Random RandDec
  5. 1069callsDeleteAssemblyListComponent
  6. 1071callsEditAssemblyListComponent
  7. 1073callsCodeunit 130440 Library - Random RandDec
  8. 1075callsDeleteAssemblyList
  9. 1077callsModifyCostParams

EditAssemblyLine line 1081

  1. 1091callsCodeunit 130440 Library - Random RandInt
  2. 1094validatesTable 901 Assembly Line Variant Code
  3. 1094callsCodeunit 132201 Library - Inventory GetVariant
  4. 1095validatesTable 901 Assembly Line Description
  5. 1096callsCodeunit 131000 Library - Utility GenerateRandomCode
  6. 1097validatesTable 901 Assembly Line Quantity per
  7. 1100validatesTable 901 Assembly Line Type
  8. 1101validatesTable 901 Assembly Line No.
  9. 1102validatesTable 901 Assembly Line Unit of Measure Code
  10. 1102callsGetUnitOfMeasureCode
  11. 1104validatesTable 901 Assembly Line Unit of Measure Code
  12. 1105callsGetUnitOfMeasureCode
  13. 1107writesTable 901 Assembly Line Modify(true)

EditAssemblyLines line 1110

  1. 1118callsCreateAssemblyLine
  2. 1119callsGetUnitOfMeasureCode
  3. 1121callsEditAssemblyLine
  4. 1122callsCodeunit 130440 Library - Random RandDec
  5. 1125callsDeleteAssemblyLine
  6. 1127callsEditAssemblyLine
  7. 1128callsCodeunit 130440 Library - Random RandDec
  8. 1130callsDeleteAssemblyLines
  9. 1132callsModifyCostParams
  10. 1134callsChangeResourceUsage

EditOrderDimensions line 1139

  1. 1144callsCreateDimensionSetup
  2. 1145validatesTable 900 Assembly Header Dimension Set ID
  3. 1146callsCodeunit 131001 Library - Dimension CreateDimSet

GetBOMComponentLines line 1218

  1. 1232writesTable 90 BOM Component Insert
  2. 1240writesTable 90 BOM Component Insert

ModifyCostParams line 1398

  1. 1408callsModifyItem
  2. 1412validatesTable 156 Resource Unit Price
  3. 1412callsCodeunit 130440 Library - Random RandDec
  4. 1414validatesTable 156 Resource Direct Unit Cost
  5. 1414callsCodeunit 130440 Library - Random RandDec
  6. 1415validatesTable 156 Resource Indirect Cost %
  7. 1417writesTable 156 Resource Modify(true)

ModifyItem line 1423

  1. 1429validatesTable 27 Item Indirect Cost %
  2. 1430validatesTable 27 Item Overhead Rate
  3. 1432validatesTable 27 Item Standard Cost
  4. 1432callsCodeunit 130440 Library - Random RandDec
  5. 1434validatesTable 27 Item Unit Cost
  6. 1434callsCodeunit 130440 Library - Random RandDec
  7. 1437validatesTable 27 Item Unit Price
  8. 1437callsCodeunit 130440 Library - Random RandDec
  9. 1438validatesTable 27 Item Lot Size
  10. 1438callsCodeunit 130440 Library - Random RandInt
  11. 1439writesTable 27 Item Modify(true)

ModifyOrderCostParams line 1442

  1. 1453callsModifyItem
  2. 1457validatesTable 156 Resource Indirect Cost %
  3. 1458validatesTable 156 Resource Unit Price
  4. 1458callsCodeunit 130440 Library - Random RandDec
  5. 1459validatesTable 156 Resource Unit Cost
  6. 1459callsCodeunit 130440 Library - Random RandDec
  7. 1460writesTable 156 Resource Modify(true)

NeedsAdjustment line 1466

  1. 1469callsGetDirectUnitCost
  2. 1471callsGetInboundItemCost
  3. 1475callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision
  4. 1476callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision

GetInboundItemCost line 1480, local

  1. 1489callsTable 32 Item Ledger Entry GetUnitCostLCY

PostAssemblyHeader line 1504

  1. 1509runsCodeunit 900 Assembly-Post
  2. 1512runsCodeunit 900 Assembly-Post
  3. 1514callsCodeunit 130000 Assert IsTrue

PrepareOrderPosting line 1521

  1. 1525writesTable 901 Assembly Line DeleteAll
  2. 1526validatesTable 900 Assembly Header Quantity to Assemble
  3. 1527validatesTable 900 Assembly Header Description
  4. 1528callsCodeunit 131000 Library - Utility GenerateRandomCode
  5. 1529validatesTable 900 Assembly Header Posting Date
  6. 1530callsAddAssemblyHeaderComment
  7. 1531writesTable 900 Assembly Header Modify(true)
  8. 1537validatesTable 901 Assembly Line Quantity to Consume
  9. 1538validatesTable 901 Assembly Line Description
  10. 1539callsCodeunit 131000 Library - Utility GenerateRandomCode
  11. 1540callsAddAssemblyHeaderComment
  12. 1541writesTable 901 Assembly Line Modify(true)
  13. 1544writesTable 901 Assembly Line Insert

ReopenAO line 1549

  1. 1553callsCodeunit 903 Release Assembly Document Reopen

ReleaseAO line 1556

  1. 1558runsCodeunit 903 Release Assembly Document

RevaluateItem line 1561

  1. 1566callsCodeunit 132201 Library - Inventory SelectItemJournalTemplateName
  2. 1567callsCodeunit 132201 Library - Inventory SelectItemJournalBatchName
  3. 1568callsCodeunit 132201 Library - Inventory CreateItemJournalLine
  4. 1571callsCodeunit 132200 Library - Costing CreateRevaluationJnlLines
  5. 1580validatesTable 83 Item Journal Line Unit Cost (Revalued)
  6. 1580callsCodeunit 130440 Library - Random RandInt
  7. 1581writesTable 83 Item Journal Line Modify(true)

RollUpAsmCost line 1584

  1. 1586callsTable 37 Sales Line RollUpAsmCost

RollUpAsmPrice line 1589

  1. 1591callsTable 37 Sales Line RollupAsmPrice

SetupComponents line 1594

  1. 1601writesTable 27 Item DeleteAll
  2. 1602writesTable 156 Resource DeleteAll
  3. 1606callsCreateItem
  4. 1607callsAddEntityDimensions
  5. 1609writesTable 27 Item Insert
  6. 1613callsCreateResource
  7. 1614callsAddEntityDimensions
  8. 1616writesTable 156 Resource Insert

CreateAssemblyOrder line 1620

  1. 1624callsSetupAssemblyItem
  2. 1627callsCodeunit 130440 Library - Random RandIntInRange
  3. 1628callsCodeunit 130440 Library - Random RandIntInRange
  4. 1629callsCodeunit 130440 Library - Random RandIntInRange
  5. 1631callsCreateAssemblyHeader
  6. 1631callsCodeunit 130440 Library - Random RandDec

SetStockoutWarning line 1634

  1. 1639validatesTable 905 Assembly Setup Stockout Warning
  2. 1640writesTable 905 Assembly Setup Modify(true)

SetupAssemblyData line 1643

  1. 1647callsSetupAssemblyItem
  2. 1649callsCreateAssemblyHeader
  3. 1649callsCodeunit 130440 Library - Random RandDec

SetupAssemblyItem line 1652

  1. 1660callsSetupPostingToGL
  2. 1661callsCreateItem
  3. 1662callsAddEntityDimensions
  4. 1663callsCreateAssemblyList
  5. 1667callsCodeunit 5812 Calculate Standard Cost CalcItem
  6. 1668callsCodeunit 5812 Calculate Standard Cost CalcAssemblyItemPrice

SetupItemJournal line 1672

  1. 1679callsCodeunit 132201 Library - Inventory SelectItemJournalTemplateName
  2. 1683callsCodeunit 132201 Library - Inventory SelectItemJournalBatchName
  3. 1685callsCodeunit 131000 Library - Utility CreateNoSeries
  4. 1686callsCodeunit 131000 Library - Utility CreateNoSeriesLine
  5. 1687validatesTable 233 Item Journal Batch No. Series
  6. 1688writesTable 233 Item Journal Batch Modify(true)

SetupPostingToGL line 1692

  1. 1706callsCreateGLAccount
  2. 1708callsCreateGLAccount
  3. 1710callsCreateGLAccount
  4. 1712callsCreateGLAccount
  5. 1714callsCreateGLAccount
  6. 1716callsCreateGLAccount
  7. 1719callsCodeunit 132201 Library - Inventory CreateInventoryPostingGroup
  8. 1723callsCreateInvtPostingSetup
  9. 1727callsCreateGLAccount
  10. 1730callsCodeunit 132201 Library - Inventory CreateInventoryPostingGroup
  11. 1734callsCreateInvtPostingSetup
  12. 1737callsCodeunit 131300 Library - ERM FindGeneralPostingSetupInvtToGL

UndoPostedAssembly line 1741

  1. 1747callsCodeunit 900 Assembly-Post Undo
  2. 1750callsCodeunit 900 Assembly-Post Undo
  3. 1752callsCodeunit 130000 Assert IsTrue

UpdateOrderCost line 1757

  1. 1764callsTable 900 Assembly Header UpdateUnitCost
  2. 1766callsCodeunit 130000 Assert AreEqual
  3. 1775callsTable 900 Assembly Header UpdateUnitCost
  4. 1778callsTable 900 Assembly Header UpdateUnitCost
  5. 1780callsCodeunit 130000 Assert IsTrue

UpdateAssemblySetup line 1787

  1. 1791validatesTable 905 Assembly Setup Assembly Order Nos.
  2. 1791callsCodeunit 131000 Library - Utility GetGlobalNoSeriesCode
  3. 1792validatesTable 905 Assembly Setup Copy Component Dimensions from
  4. 1793validatesTable 905 Assembly Setup Default Location for Orders
  5. 1794validatesTable 905 Assembly Setup Posted Assembly Order Nos.
  6. 1795writesTable 905 Assembly Setup Modify(true)

UpdateInventorySetup line 1798

  1. 1806writesTable 313 Inventory Setup Modify(true)

UpdateAssemblyLine line 1809

  1. 1818writesTable 901 Assembly Line Modify(true)

UpdateAssemblyHeader line 1821

  1. 1830writesTable 900 Assembly Header Modify(true)

UpdateInvtPeriod line 1833

  1. 1838callsCodeunit 132200 Library - Costing AdjustCostItemEntries
  2. 1841writesTable 32 Item Ledger Entry Delete
  3. 1843callsCodeunit 5820 Close Inventory Period SetReOpen
  4. 1844callsCodeunit 5820 Close Inventory Period SetHideDialog
  5. 1845runsCodeunit 5820 Close Inventory Period
  6. 1848writesTable 5814 Inventory Period Delete

UpdateSKUCards line 1851

  1. 1859validatesTable 5700 Stockkeeping Unit Standard Cost
  2. 1859callsCodeunit 130440 Library - Random RandDec
  3. 1861validatesTable 5700 Stockkeeping Unit Unit Cost
  4. 1861callsCodeunit 130440 Library - Random RandDec
  5. 1862writesTable 5700 Stockkeeping Unit Modify(true)

VerifytAsmReservationEntryATO line 1866

  1. 1886callsCodeunit 130000 Assert AreEqual

VerifyHardLinkEntry line 1892

  1. 1905callsCodeunit 130000 Assert AreEqual

VerifySaleReservationEntryATO line 1909

  1. 1930callsCodeunit 130000 Assert AreEqual

VerifyEntityDimensions line 1936

  1. 1943callsCodeunit 131001 Library - Dimension FindDefaultDimension
  2. 1945callsCodeunit 131001 Library - Dimension FindDefaultDimension
  3. 1947callsCodeunit 131001 Library - Dimension FindDimensionSetEntry
  4. 1951callsCodeunit 130000 Assert AreEqual

VerifyILEs line 1956

  1. 1958callsVerifyILEsGeneric

VerifyILEsGeneric line 1961

  1. 1993callsCodeunit 130000 Assert AreEqual
  2. 1995callsVerifyApplicationEntry
  3. 2017callsCodeunit 130000 Assert AreEqual
  4. 2019callsVerifyApplicationEntry

VerifyILEsForAsmOnATO line 2023

  1. 2025callsVerifyILEsGeneric

VerifyILEsUndo line 2028

  1. 2062callsCodeunit 130000 Assert AreEqual
  2. 2066callsVerifyApplicationEntryUndo
  3. 2097callsCodeunit 130000 Assert AreEqual
  4. 2099callsVerifyApplicationEntryUndo

VerifyILEATOAndSale line 2103

  1. 2130callsCodeunit 130000 Assert AreEqual
  2. 2133callsVerifyILESale

VerifyILESale line 2137

  1. 2169callsCodeunit 130000 Assert AreEqual

VerifySKUCost line 2172

  1. 2181callsGetCostInformation
  2. 2190callsGetCostInformation

VerifyValueEntries line 2196

  1. 2198callsVerifyValueEntriesAsm

VerifyValueEntriesAsm line 2201

  1. 2227callsCodeunit 130000 Assert AreEqual
  2. 2229callsCodeunit 130000 Assert AreNearlyEqual
  3. 2230callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision
  4. 2231callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision
  5. 2247callsCodeunit 130000 Assert AreEqual
  6. 2249callsCodeunit 130000 Assert AreNearlyEqual
  7. 2251callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision
  8. 2272callsCodeunit 130000 Assert AreEqual
  9. 2274callsCodeunit 130000 Assert AreNearlyEqual
  10. 2276callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision

VerifyValueEntriesATO line 2280

  1. 2282callsVerifyValueEntriesAsm
  2. 2283callsVerifyValueEntriesSale

VerifyValueEntriesSale line 2286

  1. 2306callsCodeunit 130000 Assert AreEqual
  2. 2309callsCodeunit 130000 Assert AreNearlyEqual
  3. 2310callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision
  4. 2311callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision

VerifyValueEntriesUndo line 2314

  1. 2340callsCodeunit 130000 Assert AreEqual
  2. 2342callsCodeunit 130000 Assert AreNearlyEqual
  3. 2343callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision
  4. 2344callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision
  5. 2360callsCodeunit 130000 Assert AreEqual
  6. 2362callsCodeunit 130000 Assert AreNearlyEqual
  7. 2363callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision
  8. 2364callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision
  9. 2385callsCodeunit 130000 Assert AreEqual
  10. 2387callsCodeunit 130000 Assert AreNearlyEqual
  11. 2389callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision

VerifyResEntries line 2393

  1. 2395callsVerifyResEntriesGeneric

VerifyResEntriesATO line 2398

  1. 2400callsVerifyResEntriesGeneric

VerifyResEntriesGeneric line 2403

  1. 2433callsCodeunit 130000 Assert AreEqual
  2. 2435callsCodeunit 130000 Assert AreNearlyEqual
  3. 2436callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision
  4. 2437callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision

VerifyCapEntries line 2441

  1. 2443callsVerifyCapEntriesGeneric

VerifyCapEntriesATO line 2446

  1. 2448callsVerifyCapEntriesGeneric

VerifyCapEntriesGeneric line 2451

  1. 2479callsCodeunit 130000 Assert AreEqual
  2. 2482callsCodeunit 130000 Assert AreNearlyEqual
  3. 2484callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision

VerifyCapEntriesUndo line 2488

  1. 2519callsCodeunit 130000 Assert AreEqual

VerifyComments line 2523

  1. 2527callsVerifyLineComment
  2. 2533callsVerifyLineComment

VerifyLineComment line 2537

  1. 2547callsCodeunit 130000 Assert AreEqual

VerifyApplicationEntry line 2604

  1. 2621callsCodeunit 130000 Assert AreEqual

VerifyApplicationEntryUndo line 2625

  1. 2638callsCodeunit 130000 Assert AreEqual
  2. 2646callsCodeunit 130000 Assert AreEqual
  3. 2656callsCodeunit 130000 Assert AreEqual
  4. 2664callsCodeunit 130000 Assert AreEqual

VerifyPostedLineComment line 2670

  1. 2680callsCodeunit 130000 Assert AreEqual

VerifyGLEntries line 2683

  1. 2703callsGetPostingSetup
  2. 2707callsGetValueEntriesAmount
  3. 2710callsGetValueEntriesAmount
  4. 2713callsGetValueEntriesAmount
  5. 2716callsGetValueEntriesAmount
  6. 2719callsGetValueEntriesAmount
  7. 2722callsGetValueEntriesAmount
  8. 2727callsGetValueEntriesAmount
  9. 2731callsGetValueEntriesAmount
  10. 2738callsGetValueEntriesAmount
  11. 2740callsGetValueEntriesAmount
  12. 2746callsVerifyGLEntry
  13. 2750callsVerifyGLEntry
  14. 2754callsVerifyGLEntry
  15. 2758callsVerifyGLEntry
  16. 2763callsVerifyGLEntry
  17. 2768callsVerifyGLEntry
  18. 2772callsVerifyGLEntry
  19. 2781callsGetPostingSetup
  20. 2791callsVerifyGLEntry
  21. 2795callsVerifyGLEntry
  22. 2799callsVerifyGLEntry
  23. 2811callsCodeunit 130000 Assert AreEqual

VerifyGLEntry line 2814

  1. 2829callsCodeunit 130000 Assert AreNearlyEqual
  2. 2829callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision

VerifyLineAdjustmentEntry line 2832

  1. 2842callsGetCostInformation
  2. 2844callsFindLineValueEntries
  3. 2848callsNeedsAdjustment
  4. 2849callsCodeunit 130000 Assert AreEqual
  5. 2851callsCodeunit 130000 Assert AreNearlyEqual
  6. 2852callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision
  7. 2854callsCodeunit 130000 Assert AreNearlyEqual
  8. 2856callsCodeunit 131300 Library - ERM GetUnitAmountRoundingPrecision
  9. 2860callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision
  10. 2861callsCodeunit 130000 Assert IsTrue

VerifyAdjustmentEntries line 2865

  1. 2889callsVerifyLineAdjustmentEntry
  2. 2892callsGetAdjAmounts
  3. 2893callsVerifyHeaderAdjustmentEntry
  4. 2898callsVerifyHeaderVarianceEntry

VerifyHeaderAdjustmentEntry line 2902

  1. 2906callsFindHeaderValueEntries
  2. 2912callsCodeunit 130000 Assert AreEqual
  3. 2913callsCodeunit 130000 Assert AreNearlyEqual
  4. 2914callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision
  5. 2916callsCodeunit 130000 Assert AreNearlyEqual
  6. 2918callsCodeunit 131300 Library - ERM GetUnitAmountRoundingPrecision
  7. 2921callsCodeunit 130000 Assert IsTrue

VerifyHeaderVarianceEntry line 2924

  1. 2929callsFindHeaderValueEntries
  2. 2938callsCodeunit 130000 Assert AreNearlyEqual
  3. 2938callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision
  4. 2941callsCodeunit 130000 Assert IsTrue

VerifyIndirectCostEntries line 2944

  1. 2956callsGetCostInformation
  2. 2964callsGetValueEntriesAmount
  3. 2969callsGetValueEntriesAmount
  4. 2972callsCodeunit 130000 Assert AreNearlyEqual
  5. 2972callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision
  6. 2982callsFindLineValueEntries
  7. 2987callsFindLineValueEntries
  8. 2990callsCodeunit 130000 Assert AreNearlyEqual
  9. 2990callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision

VerifyPartialPosting line 2995

  1. 3008callsCodeunit 130000 Assert AreNearlyEqual
  2. 3010callsCodeunit 131300 Library - ERM GetUnitAmountRoundingPrecision
  3. 3011callsCodeunit 130000 Assert AreNearlyEqual
  4. 3014callsCodeunit 131300 Library - ERM GetUnitAmountRoundingPrecision
  5. 3016callsCodeunit 130000 Assert AreNearlyEqual
  6. 3017callsCodeunit 131300 Library - ERM GetUnitAmountRoundingPrecision
  7. 3018callsCodeunit 130000 Assert AreNearlyEqual
  8. 3020callsCodeunit 131300 Library - ERM GetUnitAmountRoundingPrecision

VerifyPostedAssemblyHeader line 3026

  1. 3046callsCodeunit 130000 Assert AreEqual
  2. 3048callsCodeunit 130000 Assert AreNearlyEqual
  3. 3049callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision
  4. 3067callsCodeunit 130000 Assert AreEqual
  5. 3071callsCodeunit 130000 Assert AreNearlyEqual
  6. 3073callsCodeunit 131300 Library - ERM GetAmountRoundingPrecision

VerifyPostedComments line 3077

  1. 3082callsFindPostedAssemblyHeaders
  2. 3084callsVerifyPostedLineComment
  3. 3086callsFindPostedAssemblyLines
  4. 3089callsVerifyPostedLineComment

VerifyWarehouseEntries line 3093

  1. 3116callsCodeunit 132204 Library - Warehouse GetZoneForBin
  2. 3119callsCodeunit 130000 Assert AreEqual
  3. 3143callsCodeunit 130000 Assert AreEqual

VerifyBinContent line 3147

  1. 3161callsCodeunit 130000 Assert AreEqual

VerifyBinContents line 3164

  1. 3169callsVerifyBinContent
  2. 3178callsVerifyBinContent

EarliestAvailableDate line 3191

  1. 3208callsSetLinkToLines
  2. 3215callsTable 901 Assembly Line CalcAvailToAssemble
  3. 3240callsCodeunit 5404 Lead-Time Management GetPlannedEndingDate
  4. 3242callsCodeunit 5404 Lead-Time Management ManufacturingLeadTime
  5. 3246callsCodeunit 5404 Lead-Time Management GetPlannedDueDate

ComponentsAvailable line 3252

  1. 3264callsSetLinkToLines
  2. 3265callsCodeunit 311 Item-Check Avail. AsmOrderCalculate
  3. 3267callsEarliestAvailableDate

LineCount line 3271

  1. 3275callsSetLinkToLines