Codeunit 132201 Library - Inventory

Application Test Library

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

CalculateInventory line 21

  1. 26callsReport 790 Calculate Inventory UseRequestPage
  2. 28callsReport 790 Calculate Inventory SetItemJnlLine
  3. 29callsReport 790 Calculate Inventory InitializeRequest

CalculateInventoryForSingleItem line 33

  1. 38callsCalculateInventory

CreateAnalysisColumnTemplate line 41

  1. 44validatesTable 7116 Analysis Column Template Analysis Area
  2. 45validatesTable 7116 Analysis Column Template Name
  3. 46callsCodeunit 131000 Library - Utility GenerateRandomCode
  4. 47writesTable 7116 Analysis Column Template Insert(true)

CreateAnalysisColumn line 50

  1. 55validatesTable 7118 Analysis Column Analysis Area
  2. 56validatesTable 7118 Analysis Column Analysis Column Template
  3. 58validatesTable 7118 Analysis Column Line No.
  4. 58callsCodeunit 131000 Library - Utility GetNewLineNo
  5. 59writesTable 7118 Analysis Column Insert(true)

CreateBaseCalendarChange line 62

  1. 65validatesTable 7601 Base Calendar Change Base Calendar Code
  2. 66validatesTable 7601 Base Calendar Change Recurring System
  3. 67validatesTable 7601 Base Calendar Change Date
  4. 68validatesTable 7601 Base Calendar Change Day
  5. 69writesTable 7601 Base Calendar Change Insert(true)

CreateBOMComponent line 72

  1. 77validatesTable 90 BOM Component Parent Item No.
  2. 79validatesTable 90 BOM Component Line No.
  3. 79callsCodeunit 131000 Library - Utility GetNewLineNo
  4. 80writesTable 90 BOM Component Insert(true)
  5. 81validatesTable 90 BOM Component Type
  6. 83validatesTable 90 BOM Component No.
  7. 84validatesTable 90 BOM Component Quantity per
  8. 86validatesTable 90 BOM Component Unit of Measure Code
  9. 88writesTable 90 BOM Component Modify(true)

ClearItemJournal line 91

  1. 100writesTable 83 Item Journal Line DeleteAll

CreateAnalysisLine line 103

  1. 108validatesTable 7114 Analysis Line Analysis Area
  2. 109validatesTable 7114 Analysis Line Analysis Line Template Name
  3. 111validatesTable 7114 Analysis Line Line No.
  4. 111callsCodeunit 131000 Library - Utility GetNewLineNo
  5. 112writesTable 7114 Analysis Line Insert(true)

CreateAnalysisLineTemplate line 115

  1. 118validatesTable 7112 Analysis Line Template Analysis Area
  2. 119validatesTable 7112 Analysis Line Template Name
  3. 120callsCodeunit 131000 Library - Utility GenerateRandomCode
  4. 121writesTable 7112 Analysis Line Template Insert(true)

CreateAnalysisReportName line 124

  1. 127validatesTable 7111 Analysis Report Name Analysis Area
  2. 128validatesTable 7111 Analysis Report Name Name
  3. 129callsCodeunit 131000 Library - Utility GenerateRandomCode
  4. 130writesTable 7111 Analysis Report Name Insert(true)

CreateAndUpdateTransferRoute line 133

  1. 135callsCreateTransferRoute
  2. 136validatesTable 5742 Transfer Route In-Transit Code
  3. 137validatesTable 5742 Transfer Route Shipping Agent Code
  4. 138validatesTable 5742 Transfer Route Shipping Agent Service Code
  5. 139writesTable 5742 Transfer Route Modify(true)

CreateSerialNoInformation line 142

  1. 146validatesTable 6504 Serial No. Information Item No.
  2. 147validatesTable 6504 Serial No. Information Variant Code
  3. 148validatesTable 6504 Serial No. Information Serial No.
  4. 149writesTable 6504 Serial No. Information Insert(true)

CreateLotNoInformation line 152

  1. 156validatesTable 6505 Lot No. Information Item No.
  2. 157validatesTable 6505 Lot No. Information Variant Code
  3. 158validatesTable 6505 Lot No. Information Lot No.
  4. 159writesTable 6505 Lot No. Information Insert(true)

CreateInventoryPostingGroup line 162

  1. 166validatesTable 94 Inventory Posting Group Code
  2. 167callsCodeunit 131000 Library - Utility GenerateRandomCode
  3. 168validatesTable 94 Inventory Posting Group Description
  4. 169writesTable 94 Inventory Posting Group Insert(true)

CreateInventoryPeriod line 172

  1. 178validatesTable 5814 Inventory Period Ending Date
  2. 179writesTable 5814 Inventory Period Insert(true)

CreateInventoryPostingSetup line 182

  1. 186validatesTable 5813 Inventory Posting Setup Location Code
  2. 187validatesTable 5813 Inventory Posting Setup Invt. Posting Group Code
  3. 188writesTable 5813 Inventory Posting Setup Insert(true)

CreatePhysInvtOrderHeader line 192

  1. 195writesTable 5875 Phys. Invt. Order Header Insert(true)

CreatePhysInvtOrderLine line 199

  1. 201validatesTable 5876 Phys. Invt. Order Line Document No.
  2. 202validatesTable 5876 Phys. Invt. Order Line Line No.
  3. 202callsCodeunit 131000 Library - Utility GetNewRecNo
  4. 203validatesTable 5876 Phys. Invt. Order Line Item No.
  5. 204writesTable 5876 Phys. Invt. Order Line Insert(true)

CreatePhysInvtRecordHeader line 208

  1. 210validatesTable 5877 Phys. Invt. Record Header Order No.
  2. 211validatesTable 5877 Phys. Invt. Record Header Recording No.
  3. 211callsCodeunit 131000 Library - Utility GetNewRecNo
  4. 212writesTable 5877 Phys. Invt. Record Header Insert(true)

CreatePhysInvtRecordLine line 216

  1. 218validatesTable 5878 Phys. Invt. Record Line Order No.
  2. 219validatesTable 5878 Phys. Invt. Record Line Order Line No.
  3. 220validatesTable 5878 Phys. Invt. Record Line Recording No.
  4. 221validatesTable 5878 Phys. Invt. Record Line Line No.
  5. 221callsCodeunit 131000 Library - Utility GetNewRecNo
  6. 222validatesTable 5878 Phys. Invt. Record Line Item No.
  7. 223validatesTable 5878 Phys. Invt. Record Line Quantity
  8. 224validatesTable 5878 Phys. Invt. Record Line Recorded
  9. 225writesTable 5878 Phys. Invt. Record Line Insert(true)

CreateItemWithoutVAT line 228

  1. 236callsItemNoSeriesSetup
  2. 238writesTable 27 Item Insert(true)
  3. 240callsCreateItemUnitOfMeasure
  4. 241callsCodeunit 131300 Library - ERM FindGeneralPostingSetupInvtFull
  5. 244callsCreateInventoryPostingGroup
  6. 248callsCreateInventoryPostingSetup
  7. 250validatesTable 27 Item Description
  8. 251validatesTable 27 Item Base Unit of Measure
  9. 252validatesTable 27 Item Gen. Prod. Posting Group
  10. 253validatesTable 27 Item Inventory Posting Group
  11. 256validatesTable 27 Item Tax Group Code
  12. 258writesTable 27 Item Modify(true)

CreateItem line 261

  1. 265callsCreateItemWithoutVAT
  2. 267callsCodeunit 131300 Library - ERM FindVATPostingSetupInvt
  3. 268validatesTable 27 Item VAT Prod. Posting Group
  4. 270writesTable 27 Item Modify(true)
  5. 271raisesOnAfterCreateItem

CreateItemNo line 275

  1. 279callsCreateItem

CreateItemNoWithoutVAT line 283

  1. 287callsCreateItemWithoutVAT

CreateItemWithTariffNo line 291

  1. 293callsCreateItem
  2. 294validatesTable 27 Item Tariff No.
  3. 295writesTable 27 Item Modify(true)

CreateItemWithUnitPriceAndUnitCost line 298

  1. 300callsCreateItem
  2. 301validatesTable 27 Item Unit Price
  3. 302validatesTable 27 Item Unit Cost
  4. 303writesTable 27 Item Modify(true)

CreateItemWithUnitPriceUnitCostAndPostingGroup line 306

  1. 308callsCreateItemWithUnitPriceAndUnitCost

CreateItemWithPostingSetup line 311

  1. 313callsCreateItem
  2. 314validatesTable 27 Item Gen. Prod. Posting Group
  3. 315validatesTable 27 Item VAT Prod. Posting Group
  4. 316writesTable 27 Item Modify(true)

CreateItemNoWithPostingSetup line 319

  1. 323callsCreateItemWithPostingSetup

CreateItemNoWithVATProdPostingGroup line 327

  1. 331callsCreateItem
  2. 332validatesTable 27 Item VAT Prod. Posting Group
  3. 333writesTable 27 Item Modify(true)

CreateItemAttribute line 337

  1. 340validatesTable 7500 Item Attribute Name
  2. 340callsCodeunit 131000 Library - Utility GenerateRandomCode
  3. 341validatesTable 7500 Item Attribute Type
  4. 342validatesTable 7500 Item Attribute Unit of Measure
  5. 343writesTable 7500 Item Attribute Insert(true)

CreateItemAttributeWithValue line 346

  1. 348callsCreateItemAttribute
  2. 349callsCreateItemAttributeValue

CreateItemAttributeValue line 352

  1. 355validatesTable 7501 Item Attribute Value Attribute ID
  2. 356validatesTable 7501 Item Attribute Value Value
  3. 357writesTable 7501 Item Attribute Value Insert(true)

CreateItemAttributeValueMapping line 360

  1. 364validatesTable 7505 Item Attribute Value Mapping Table ID
  2. 365validatesTable 7505 Item Attribute Value Mapping No.
  3. 366validatesTable 7505 Item Attribute Value Mapping Item Attribute ID
  4. 367validatesTable 7505 Item Attribute Value Mapping Item Attribute Value ID
  5. 368writesTable 7505 Item Attribute Value Mapping Insert(true)

CreateItemVariantAttributeValueMapping line 371

  1. 375validatesTable 7507 Item Var. Attr. Value Mapping Item No.
  2. 376validatesTable 7507 Item Var. Attr. Value Mapping Variant Code
  3. 377validatesTable 7507 Item Var. Attr. Value Mapping Item Attribute ID
  4. 378validatesTable 7507 Item Var. Attr. Value Mapping Item Attribute Value ID
  5. 379validatesTable 7507 Item Var. Attr. Value Mapping Inherited-From Table ID
  6. 380validatesTable 7507 Item Var. Attr. Value Mapping Inherited-From Key Value
  7. 381writesTable 7507 Item Var. Attr. Value Mapping Insert(true)

CreateUpdateItemTranslation line 384

  1. 390validatesTable 30 Item Translation Item No.
  2. 391validatesTable 30 Item Translation Variant Code
  3. 392validatesTable 30 Item Translation Language Code
  4. 393writesTable 30 Item Translation Insert(true)
  5. 395validatesTable 30 Item Translation Description
  6. 396validatesTable 30 Item Translation Description 2
  7. 397writesTable 30 Item Translation Modify(true)

CreateItemWithVATProdPostingGroup line 400

  1. 404callsCreateItem
  2. 405validatesTable 27 Item VAT Prod. Posting Group
  3. 406writesTable 27 Item Modify(true)

CreateItemBudgetEntry line 410

  1. 413validatesTable 7134 Item Budget Entry Analysis Area
  2. 414validatesTable 7134 Item Budget Entry Budget Name
  3. 415validatesTable 7134 Item Budget Entry Date
  4. 416validatesTable 7134 Item Budget Entry Item No.
  5. 417writesTable 7134 Item Budget Entry Insert(true)

CreateItemCategory line 420

  1. 423validatesTable 5722 Item Category Code
  2. 423callsCodeunit 131000 Library - Utility GenerateRandomCode
  3. 424writesTable 5722 Item Category Insert(true)

CreateInvtDocument line 427

  1. 431writesTable 5850 Invt. Document Header Insert(true)
  2. 432validatesTable 5850 Invt. Document Header Location Code
  3. 433writesTable 5850 Invt. Document Header Modify

CreateInvtDocumentLine line 436

  1. 441validatesTable 5851 Invt. Document Line Document Type
  2. 442validatesTable 5851 Invt. Document Line Document No.
  3. 444validatesTable 5851 Invt. Document Line Line No.
  4. 444callsCodeunit 131000 Library - Utility GetNewLineNo
  5. 445writesTable 5851 Invt. Document Line Insert(true)
  6. 446validatesTable 5851 Invt. Document Line Item No.
  7. 447validatesTable 5851 Invt. Document Line Unit Cost
  8. 448validatesTable 5851 Invt. Document Line Quantity
  9. 449writesTable 5851 Invt. Document Line Modify(true)

PostInvtDocument line 452

  1. 459runsCodeunit 5850 Invt. Doc.-Post Receipt
  2. 461runsCodeunit 5851 Invt. Doc.-Post Shipment

CreateItemChargeWithoutVAT line 465

  1. 471validatesTable 5800 Item Charge No.
  2. 471callsCodeunit 131000 Library - Utility GenerateRandomCode
  3. 472writesTable 5800 Item Charge Insert(true)
  4. 474callsCodeunit 131300 Library - ERM FindGeneralPostingSetupInvtBase
  5. 476validatesTable 5800 Item Charge Description
  6. 477validatesTable 5800 Item Charge Gen. Prod. Posting Group
  7. 478writesTable 5800 Item Charge Modify(true)

CreateItemCharge line 481

  1. 485callsCreateItemChargeWithoutVAT
  2. 487callsCodeunit 131300 Library - ERM FindZeroVATPostingSetup
  3. 488validatesTable 5800 Item Charge VAT Prod. Posting Group
  4. 489writesTable 5800 Item Charge Modify(true)

CreateItemChargeNo line 492

  1. 496callsCreateItemCharge

CreateItemChargeNoWithoutVAT line 500

  1. 504callsCreateItemChargeWithoutVAT

CreateItemChargeAssignment line 508

  1. 523callsCodeunit 131000 Library - Utility GetNewLineNo
  2. 524callsCodeunit 5807 Item Charge Assgnt. (Sales) InsertItemChargeAssignment
  3. 529validatesTable 5809 Item Charge Assignment (Sales) Qty. to Assign
  4. 530writesTable 5809 Item Charge Assignment (Sales) Modify(true)

CreateItemChargeAssignPurchase line 533

  1. 548callsCodeunit 131000 Library - Utility GetNewLineNo
  2. 549callsCodeunit 5805 Item Charge Assgnt. (Purch.) InsertItemChargeAssignment
  3. 553validatesTable 5805 Item Charge Assignment (Purch) Qty. to Assign
  4. 554writesTable 5805 Item Charge Assignment (Purch) Modify(true)

CreateItemJournalTemplate line 557

  1. 560validatesTable 82 Item Journal Template Name
  2. 563callsCodeunit 131000 Library - Utility GenerateRandomCode
  3. 565callsCodeunit 131000 Library - Utility GetFieldLength
  4. 566validatesTable 82 Item Journal Template Description
  5. 568writesTable 82 Item Journal Template Insert(true)

CreateItemJournalTemplateByType line 571

  1. 573callsCreateItemJournalTemplate
  2. 574validatesTable 82 Item Journal Template Type
  3. 575writesTable 82 Item Journal Template Modify(true)

CreateItemJournalBatch line 578

  1. 582validatesTable 233 Item Journal Batch Journal Template Name
  2. 583validatesTable 233 Item Journal Batch Name
  3. 584callsCodeunit 131000 Library - Utility GenerateRandomCode
  4. 586writesTable 233 Item Journal Batch Insert(true)

CreateItemJournalBatchByType line 589

  1. 594callsSelectItemJournalTemplateName
  2. 596callsCodeunit 131000 Library - Utility GenerateRandomCode
  3. 597writesTable 233 Item Journal Batch Insert(true)

CreateItemJournalLine line 600

  1. 606validatesTable 233 Item Journal Batch Journal Template Name
  2. 607callsTable 233 Item Journal Batch SetupNewBatch
  3. 608validatesTable 233 Item Journal Batch Name
  4. 609validatesTable 233 Item Journal Batch Description
  5. 610writesTable 233 Item Journal Batch Insert(true)
  6. 612callsCreateItemJnlLineWithNoItem
  7. 613validatesTable 83 Item Journal Line Item No.
  8. 614validatesTable 83 Item Journal Line Quantity
  9. 615writesTable 83 Item Journal Line Modify(true)

CreateItemJournalLineInItemTemplate line 618

  1. 623callsSelectItemJournalTemplateName
  2. 624callsSelectItemJournalBatchName
  3. 625callsCreateItemJournalLine
  4. 627validatesTable 83 Item Journal Line Location Code
  5. 628validatesTable 83 Item Journal Line Bin Code
  6. 629writesTable 83 Item Journal Line Modify(true)

CreateItemJnlLine line 632

  1. 637callsFindItemJournalTemplate
  2. 638callsFindItemJournalBatch
  3. 639callsCreateItemJournalLine
  4. 642writesTable 83 Item Journal Line Modify

CreateItemJnlLine line 645

  1. 649writesTable 83 Item Journal Line Modify

CreateItemJnlLineWithNoItem line 652

  1. 661validatesTable 83 Item Journal Line Journal Template Name
  2. 662validatesTable 83 Item Journal Line Journal Batch Name
  3. 664validatesTable 83 Item Journal Line Line No.
  4. 664callsCodeunit 131000 Library - Utility GetNewLineNo
  5. 665writesTable 83 Item Journal Line Insert(true)
  6. 666validatesTable 83 Item Journal Line Posting Date
  7. 667validatesTable 83 Item Journal Line Entry Type
  8. 669callsCodeunit 310 No. Series PeekNextNo
  9. 671callsCodeunit 131000 Library - Utility GenerateRandomCode
  10. 672validatesTable 83 Item Journal Line Document No.
  11. 673writesTable 83 Item Journal Line Modify(true)
  12. 675raisesOnAfterCreateItemJnlLineWithNoItem

CreateItemManufacturing line 678

  1. 687callsItemNoSeriesSetup
  2. 689writesTable 27 Item Insert(true)
  3. 691callsCreateItemUnitOfMeasure
  4. 693callsCodeunit 131300 Library - ERM FindGeneralPostingSetupInvtToGL
  5. 694callsCodeunit 131300 Library - ERM FindVATPostingSetupInvt
  6. 699callsCreateInventoryPostingSetup
  7. 701validatesTable 27 Item Description
  8. 702validatesTable 27 Item Base Unit of Measure
  9. 703validatesTable 27 Item Gen. Prod. Posting Group
  10. 704validatesTable 27 Item VAT Prod. Posting Group
  11. 705validatesTable 27 Item Inventory Posting Group
  12. 708validatesTable 27 Item Tax Group Code
  13. 710writesTable 27 Item Modify(true)
  14. 711raisesOnAfterCreateItemManufacturing

CreateItemTrackingCode line 715

  1. 718validatesTable 6502 Item Tracking Code Code
  2. 718callsCodeunit 131000 Library - Utility GenerateRandomCode
  3. 719writesTable 6502 Item Tracking Code Insert(true)

CreateItemUnitOfMeasure line 727

  1. 732validatesTable 5404 Item Unit of Measure Item No.
  2. 738callsCreateUnitOfMeasureCode
  3. 739validatesTable 5404 Item Unit of Measure Code
  4. 741validatesTable 5404 Item Unit of Measure Code
  5. 744validatesTable 5404 Item Unit of Measure Qty. per Unit of Measure
  6. 747validatesTable 5404 Item Unit of Measure Qty. Rounding Precision
  7. 748writesTable 5404 Item Unit of Measure Insert(true)

CreateItemUnitOfMeasureCode line 751

  1. 755callsCreateUnitOfMeasureCode
  2. 756callsCreateItemUnitOfMeasure

CreateItemVariant line 759

  1. 763raisesOnBeforeCreateItemVariant
  2. 768validatesTable 5401 Item Variant Item No.
  3. 769validatesTable 5401 Item Variant Code
  4. 769callsCodeunit 131000 Library - Utility GenerateRandomCode
  5. 770validatesTable 5401 Item Variant Description
  6. 771writesTable 5401 Item Variant Insert(true)
  7. 772raisesOnAfterCreateItemVariant

CreateItemVendor line 777

  1. 780validatesTable 99 Item Vendor Vendor No.
  2. 781validatesTable 99 Item Vendor Item No.
  3. 782writesTable 99 Item Vendor Insert(true)

CreateNonStock line 785

  1. 788validatesTable 5718 Nonstock Item Entry No.
  2. 789callsCodeunit 131000 Library - Utility GenerateRandomCode
  3. 790writesTable 5718 Nonstock Item Insert(true)

CreateNonStockItem line 793

  1. 801callsCreateUnitOfMeasureCode
  2. 804callsCreateNonStock
  3. 805validatesTable 5718 Nonstock Item Vendor No.
  4. 805callsCodeunit 130512 Library - Purchase CreateVendorNo
  5. 806validatesTable 5718 Nonstock Item Vendor Item No.
  6. 807callsCodeunit 131000 Library - Utility GenerateRandomCode
  7. 808validatesTable 5718 Nonstock Item Item Templ. Code
  8. 809validatesTable 5718 Nonstock Item Unit of Measure
  9. 810validatesTable 5718 Nonstock Item Description
  10. 811writesTable 5718 Nonstock Item Modify(true)
  11. 812callsCodeunit 5703 Catalog Item Management NonstockAutoItem

CreateNonStockItemWithItemTemplateCode line 815

  1. 822callsCreateUnitOfMeasureCode
  2. 824callsCreateNonStock
  3. 825validatesTable 5718 Nonstock Item Vendor No.
  4. 825callsCodeunit 130512 Library - Purchase CreateVendorNo
  5. 826validatesTable 5718 Nonstock Item Vendor Item No.
  6. 827callsCodeunit 131000 Library - Utility GenerateRandomCode
  7. 828validatesTable 5718 Nonstock Item Item Templ. Code
  8. 829validatesTable 5718 Nonstock Item Unit of Measure
  9. 830validatesTable 5718 Nonstock Item Description
  10. 831writesTable 5718 Nonstock Item Modify(true)
  11. 832callsCodeunit 5703 Catalog Item Management NonstockAutoItem

CreateServiceTypeItem line 835

  1. 837callsCreateItem
  2. 838validatesTable 27 Item Type
  3. 839writesTable 27 Item Modify(true)

CreateNonInventoryTypeItem line 842

  1. 844callsCreateItem
  2. 845validatesTable 27 Item Type
  3. 846writesTable 27 Item Modify(true)

CreateStockKeepingUnit line 849

  1. 854callsReport 5706 Create Stockkeeping Unit SetParameters
  2. 863callsReport 5706 Create Stockkeeping Unit UseRequestPage

CreateStockkeepingUnitForLocationAndVariant line 867

  1. 870validatesTable 5700 Stockkeeping Unit Location Code
  2. 871validatesTable 5700 Stockkeeping Unit Item No.
  3. 872validatesTable 5700 Stockkeeping Unit Variant Code
  4. 873writesTable 5700 Stockkeeping Unit Insert(true)

CreateShippingAgent line 876

  1. 879validatesTable 291 Shipping Agent Code
  2. 879callsCodeunit 131000 Library - Utility GenerateRandomCode
  3. 880writesTable 291 Shipping Agent Insert(true)

CreateShippingAgentService line 883

  1. 886validatesTable 5790 Shipping Agent Services Shipping Agent Code
  2. 887validatesTable 5790 Shipping Agent Services Code
  3. 888callsCodeunit 131000 Library - Utility GenerateRandomCode
  4. 889writesTable 5790 Shipping Agent Services Insert(true)
  5. 890validatesTable 5790 Shipping Agent Services Shipping Time
  6. 891writesTable 5790 Shipping Agent Services Modify(true)

CreateShippingAgentServiceUsingPages line 894

  1. 908callsCodeunit 131000 Library - Utility GenerateRandomCode

CreateStandardCostWorksheetName line 918

  1. 921validatesTable 5840 Standard Cost Worksheet Name Name
  2. 922callsCodeunit 131000 Library - Utility GenerateRandomCode
  3. 923writesTable 5840 Standard Cost Worksheet Name Insert(true)

CreateTrackedItem line 926

  1. 928callsCreateItem
  2. 929validatesTable 27 Item Item Tracking Code
  3. 930validatesTable 27 Item Serial Nos.
  4. 931validatesTable 27 Item Lot Nos.
  5. 932writesTable 27 Item Modify(true)

CreateTransferHeader line 935

  1. 940callsCodeunit 132204 Library - Warehouse CreateLocationWithInventoryPostingSetup
  2. 941callsCodeunit 132204 Library - Warehouse CreateLocationWithInventoryPostingSetup
  3. 942callsCodeunit 132204 Library - Warehouse CreateInTransitLocation

CreateTransferHeader line 948

  1. 952raisesOnBeforeCreateTransferHeader
  2. 958writesTable 5740 Transfer Header Insert(true)
  3. 959validatesTable 5740 Transfer Header Transfer-from Code
  4. 960validatesTable 5740 Transfer Header Transfer-to Code
  5. 961validatesTable 5740 Transfer Header In-Transit Code
  6. 962writesTable 5740 Transfer Header Modify(true)
  7. 964raisesOnAfterCreateTransferHeader

CreateTransferLine line 967

  1. 973validatesTable 5741 Transfer Line Document No.
  2. 975validatesTable 5741 Transfer Line Line No.
  3. 975callsCodeunit 131000 Library - Utility GetNewLineNo
  4. 976writesTable 5741 Transfer Line Insert(true)
  5. 977validatesTable 5741 Transfer Line Item No.
  6. 978validatesTable 5741 Transfer Line Quantity
  7. 979writesTable 5741 Transfer Line Modify(true)

CreateTransferOrder line 982

  1. 984callsCreateTransferHeader
  2. 985validatesTable 5740 Transfer Header Posting Date
  3. 986validatesTable 5740 Transfer Header Shipment Date
  4. 987writesTable 5740 Transfer Header Modify
  5. 988callsCreateTransferLine
  6. 989validatesTable 5741 Transfer Line Shipment Date
  7. 990validatesTable 5741 Transfer Line Variant Code
  8. 991writesTable 5741 Transfer Line Modify

CreateTransferRoute line 994

  1. 998validatesTable 5742 Transfer Route Transfer-from Code
  2. 999validatesTable 5742 Transfer Route Transfer-to Code
  3. 1000writesTable 5742 Transfer Route Insert(true)

CreateAndPostTransferOrder line 1003

  1. 1007callsCreateTransferOrder
  2. 1009callsPostTransferHeader

CreateUnitOfMeasureCode line 1012

  1. 1015validatesTable 204 Unit of Measure Code
  2. 1015callsCodeunit 131000 Library - Utility GenerateRandomCode
  3. 1016validatesTable 204 Unit of Measure Description
  4. 1017validatesTable 204 Unit of Measure International Standard Code
  5. 1018callsCodeunit 131000 Library - Utility GenerateRandomCode
  6. 1019validatesTable 204 Unit of Measure Symbol
  7. 1020callsCodeunit 131000 Library - Utility GenerateRandomCode
  8. 1021writesTable 204 Unit of Measure Insert(true)

CreateVariant line 1024

  1. 1028raisesOnBeforeCreateVariant
  2. 1034validatesTable 5401 Item Variant Item No.
  3. 1035validatesTable 5401 Item Variant Code
  4. 1035callsCodeunit 131000 Library - Utility GenerateRandomCode
  5. 1036validatesTable 5401 Item Variant Description
  6. 1037writesTable 5401 Item Variant Insert
  7. 1039raisesOnAfterCreateVariant

CreatePhysicalInventoryCountingPeriod line 1042

  1. 1046validatesTable 7381 Phys. Invt. Counting Period Code
  2. 1047callsCodeunit 131000 Library - Utility GenerateRandomCode
  3. 1048writesTable 7381 Phys. Invt. Counting Period Insert(true)

CreatePaymentTerms line 1051

  1. 1054validatesTable 3 Payment Terms Code
  2. 1054callsCodeunit 131000 Library - Utility GenerateRandomCode
  3. 1055validatesTable 3 Payment Terms Description
  4. 1056writesTable 3 Payment Terms Insert(true)

CreatePaymentMethod line 1059

  1. 1062validatesTable 289 Payment Method Code
  2. 1062callsCodeunit 131000 Library - Utility GenerateRandomCode
  3. 1063validatesTable 289 Payment Method Description
  4. 1064writesTable 289 Payment Method Insert(true)

CreateExtendedTextForItem line 1067

  1. 1072callsCreateExtendedTextHeaderItem
  2. 1073callsCreateExtendedTextLineItem
  3. 1074validatesTable 280 Extended Text Line Text
  4. 1074callsCodeunit 131000 Library - Utility GenerateGUID
  5. 1075writesTable 280 Extended Text Line Modify

CreateExtendedTextHeaderItem line 1079

  1. 1082validatesTable 279 Extended Text Header Table Name
  2. 1083validatesTable 279 Extended Text Header No.
  3. 1084writesTable 279 Extended Text Header Insert(true)

CreateExtendedTextLineItem line 1087

  1. 1092validatesTable 280 Extended Text Line Table Name
  2. 1093validatesTable 280 Extended Text Line No.
  3. 1094validatesTable 280 Extended Text Line Language Code
  4. 1095validatesTable 280 Extended Text Line Text No.
  5. 1097validatesTable 280 Extended Text Line Line No.
  6. 1097callsCodeunit 131000 Library - Utility GetNewLineNo
  7. 1098writesTable 280 Extended Text Line Insert(true)

CopyItemAttributeToFilterItemAttributesBuffer line 1101

  1. 1107writesTable 7506 Filter Item Attributes Buffer Insert

CalculateCountingPeriod line 1110

  1. 1115callsCodeunit 7380 Phys. Invt. Count.-Management InitFromItemJnl
  2. 1116runsCodeunit 7380 Phys. Invt. Count.-Management

DateComprItemBudgetEntries line 1119

  1. 1126callsSetAnalysisViewDimensions
  2. 1127callsTable 363 Analysis View UpdateAllAnalysisViews
  3. 1128callsReport 7139 Date Comp. Item Budget Entries InitializeRequest
  4. 1136callsReport 7139 Date Comp. Item Budget Entries SetSkipAnalysisViewUpdateCheck
  5. 1137callsReport 7139 Date Comp. Item Budget Entries UseRequestPage

SetAnalysisViewDimensions line 1141, local

  1. 1150callsInsertSelectedDimension
  2. 1152callsInsertSelectedDimension
  3. 1154callsInsertSelectedDimension
  4. 1156callsInsertSelectedDimension
  5. 1159callsTable 368 Dimension Selection Buffer GetDimSelectionText

InsertSelectedDimension line 1163, local

  1. 1176writesTable 369 Selected Dimension Insert

FindItemJournalBatch line 1179

  1. 1188callsCreateItemJournalBatch
  2. 1191callsCodeunit 131000 Library - Utility CreateNoSeries
  3. 1192callsCodeunit 131000 Library - Utility CreateNoSeriesLine

FindItemJournalTemplate line 1197

  1. 1202callsCreateItemJournalTemplate
  2. 1203validatesTable 82 Item Journal Template Type
  3. 1204writesTable 82 Item Journal Template Modify(true)

FindUnitOfMeasure line 1215

  1. 1218callsCreateUnitOfMeasureCode

GetVariant line 1231

  1. 1239callsCodeunit 130440 Library - Random RandInt

NoSeriesSetup line 1248

  1. 1251validatesTable 313 Inventory Setup Internal Movement Nos.
  2. 1251callsCodeunit 131000 Library - Utility GetGlobalNoSeriesCode
  3. 1252validatesTable 313 Inventory Setup Inventory Movement Nos.
  4. 1252callsCodeunit 131000 Library - Utility GetGlobalNoSeriesCode
  5. 1253validatesTable 313 Inventory Setup Inventory Pick Nos.
  6. 1253callsCodeunit 131000 Library - Utility GetGlobalNoSeriesCode
  7. 1254validatesTable 313 Inventory Setup Inventory Put-away Nos.
  8. 1254callsCodeunit 131000 Library - Utility GetGlobalNoSeriesCode
  9. 1255validatesTable 313 Inventory Setup Item Nos.
  10. 1255callsCodeunit 131000 Library - Utility GetGlobalNoSeriesCode
  11. 1256validatesTable 313 Inventory Setup Posted Invt. Pick Nos.
  12. 1256callsCodeunit 131000 Library - Utility GetGlobalNoSeriesCode
  13. 1257validatesTable 313 Inventory Setup Posted Transfer Rcpt. Nos.
  14. 1257callsCodeunit 131000 Library - Utility GetGlobalNoSeriesCode
  15. 1258validatesTable 313 Inventory Setup Posted Transfer Shpt. Nos.
  16. 1258callsCodeunit 131000 Library - Utility GetGlobalNoSeriesCode
  17. 1259validatesTable 313 Inventory Setup Registered Invt. Movement Nos.
  18. 1259callsCodeunit 131000 Library - Utility GetGlobalNoSeriesCode
  19. 1260validatesTable 313 Inventory Setup Transfer Order Nos.
  20. 1260callsCodeunit 131000 Library - Utility GetGlobalNoSeriesCode
  21. 1261validatesTable 313 Inventory Setup Posted Invt. Put-away Nos.
  22. 1261callsCodeunit 131000 Library - Utility GetGlobalNoSeriesCode
  23. 1262writesTable 313 Inventory Setup Modify(true)

ItemNoSeriesSetup line 1265, local

  1. 1270callsCodeunit 131000 Library - Utility GetGlobalNoSeriesCode
  2. 1272validatesTable 313 Inventory Setup Item Nos.
  3. 1272callsCodeunit 131000 Library - Utility GetGlobalNoSeriesCode
  4. 1273writesTable 313 Inventory Setup Modify(true)

CreateItemJournalLine line 1277

  1. 1279callsMakeItemJournalLine
  2. 1282validatesTable 83 Item Journal Line Unit Amount
  3. 1283writesTable 83 Item Journal Line Insert

CreateItemJournalLineWithApplication line 1286

  1. 1288callsMakeItemJournalLine
  2. 1291validatesTable 83 Item Journal Line Unit Amount
  3. 1292validatesTable 83 Item Journal Line Applies-to Entry
  4. 1293writesTable 83 Item Journal Line Insert

CreateItemReclassificationJournalLine line 1296

  1. 1298callsMakeItemJournalLine
  2. 1304writesTable 83 Item Journal Line Insert

CreateRevaluationJournalLine line 1307

  1. 1312callsCodeunit 131000 Library - Utility GenerateRandomCode
  2. 1313callsRevaluationJournalCalcInventory

RevaluationJournalCalcInventory line 1317

  1. 1326callsReport 5899 Calculate Inventory Value SetParameters
  2. 1330callsCreateItemJournalBatchByType
  3. 1333callsCodeunit 240 ItemJnlManagement TemplateSelection
  4. 1334callsCodeunit 240 ItemJnlManagement OpenJnl
  5. 1336validatesTable 83 Item Journal Line Journal Template Name
  6. 1337validatesTable 83 Item Journal Line Journal Batch Name
  7. 1338callsTable 83 Item Journal Line SetUpNewLine
  8. 1339callsReport 5899 Calculate Inventory Value SetItemJnlLine
  9. 1348callsReport 5899 Calculate Inventory Value UseRequestPage

MakeItemJournalLine line 1352

  1. 1364callsTable 27 Item IsNonInventoriableType
  2. 1366validatesTable 83 Item Journal Line Item No.
  3. 1367validatesTable 83 Item Journal Line Quantity
  4. 1369callsCodeunit 131000 Library - Utility GenerateRandomCode
  5. 1371callsCodeunit 131000 Library - Utility GetNewLineNo

PostDirectTransferOrder line 1374

  1. 1380callsPostTransferHeader
  2. 1383callsCodeunit 5856 TransferOrder-Post Transfer SetHideValidationDialog
  3. 1384runsCodeunit 5856 TransferOrder-Post Transfer

PostItemJournalBatch line 1389

  1. 1391callsPostItemJournalLine

PostItemJournalLine line 1394

  1. 1399validatesTable 83 Item Journal Line Journal Template Name
  2. 1400validatesTable 83 Item Journal Line Journal Batch Name
  3. 1401runsCodeunit 23 Item Jnl.-Post Batch

PostItemJnlLineWithCheck line 1404

  1. 1408callsCodeunit 22 Item Jnl.-Post Line RunWithCheck

PostItemJournalLine line 1411

  1. 1416callsCreateItemJournalBatchByType
  2. 1417callsCreateItemJournalLine
  3. 1419writesTable 83 Item Journal Line Modify
  4. 1420callsPostItemJournalBatch

PostNegativeAdjustment line 1423

  1. 1428callsPostItemJournalLine

PostPositiveAdjustment line 1433

  1. 1438callsPostItemJournalLine

PostReclassificationJournalLine line 1443

  1. 1448callsCreateItemJournalBatchByType
  2. 1449callsCreateItemReclassificationJournalLine
  3. 1451callsPostItemJournalBatch

PostTransferHeader line 1454

  1. 1461callsCodeunit 5704 TransferOrder-Post Shipment SetHideValidationDialog
  2. 1462runsCodeunit 5704 TransferOrder-Post Shipment
  3. 1465callsCodeunit 5705 TransferOrder-Post Receipt SetHideValidationDialog
  4. 1466runsCodeunit 5705 TransferOrder-Post Receipt

UndoTransferShipments line 1470

  1. 1476callsUndoTransferShipmentLinesInFilter

UndoTransferShipmentLinesInFilter line 1479

  1. 1481runsCodeunit 9030 Undo Transfer Shipment

ReleaseTransferOrder line 1484

  1. 1489runsCodeunit 5708 Release Transfer Document

ReopenTransferOrder line 1492

  1. 1496callsCodeunit 5708 Release Transfer Document Reopen

SaveAsStandardJournal line 1499

  1. 1507callsReport 750 Save as Standard Gen. Journal Initialise
  2. 1508callsReport 750 Save as Standard Gen. Journal InitializeRequest
  3. 1509callsReport 750 Save as Standard Gen. Journal UseRequestPage
  4. 1511callsReport 750 Save as Standard Gen. Journal GetStdGeneralJournal

SelectItemJournalTemplateName line 1514

  1. 1520callsCreateItemJournalTemplateByType

SelectItemJournalBatchName line 1523

  1. 1531callsCreateItemJournalBatch

SetAutomaticCostAdjmtAlways line 1534

  1. 1538writesTable 313 Inventory Setup Modify

SetAutomaticCostAdjmtNever line 1541

  1. 1545writesTable 313 Inventory Setup Modify

SetAutomaticCostPosting line 1548

  1. 1552writesTable 313 Inventory Setup Modify

SetAverageCostSetup line 1555

  1. 1560writesTable 313 Inventory Setup Modify

SetAverageCostSetupInAccPeriods line 1563

  1. 1568writesTable 50 Accounting Period ModifyAll
  2. 1569writesTable 50 Accounting Period ModifyAll

SetExpectedCostPosting line 1572

  1. 1576writesTable 313 Inventory Setup Modify

SetLocationMandatory line 1579

  1. 1583writesTable 313 Inventory Setup Modify

SetPreventNegativeInventory line 1586

  1. 1590writesTable 313 Inventory Setup Modify

UpdateAverageCostSettings line 1593

  1. 1598runsCodeunit 5810 Change Average Cost Setting

UpdateGenProdPostingSetup line 1601

  1. 1608validatesTable 252 General Posting Setup Sales Account
  2. 1608callsCodeunit 131300 Library - ERM CreateGLAccountNo
  3. 1610validatesTable 252 General Posting Setup Purch. Account
  4. 1612validatesTable 252 General Posting Setup COGS Account
  5. 1614validatesTable 252 General Posting Setup Inventory Adjmt. Account
  6. 1616validatesTable 252 General Posting Setup COGS Account (Interim)
  7. 1618validatesTable 252 General Posting Setup Direct Cost Applied Account
  8. 1620validatesTable 252 General Posting Setup Purchase Variance Account
  9. 1622validatesTable 252 General Posting Setup Purch. Credit Memo Account
  10. 1624validatesTable 252 General Posting Setup Sales Credit Memo Account
  11. 1626validatesTable 252 General Posting Setup Sales Prepayments Account
  12. 1626callsCodeunit 131300 Library - ERM CreateGLAccountWithSalesSetup
  13. 1628validatesTable 252 General Posting Setup Purch. Prepayments Account
  14. 1628callsCodeunit 131300 Library - ERM CreateGLAccountWithPurchSetup
  15. 1629writesTable 252 General Posting Setup Modify(true)

UpdateInventorySetup line 1633

  1. 1636validatesTable 313 Inventory Setup Automatic Cost Posting
  2. 1637validatesTable 313 Inventory Setup Expected Cost Posting to G/L
  3. 1638validatesTable 313 Inventory Setup Automatic Cost Adjustment
  4. 1639validatesTable 313 Inventory Setup Average Cost Calc. Type
  5. 1640validatesTable 313 Inventory Setup Average Cost Period
  6. 1641writesTable 313 Inventory Setup Modify(true)

UpdateInventoryPostingSetup line 1654

  1. 1661callsCreateInventoryPostingSetup
  2. 1662validatesTable 5813 Inventory Posting Setup Inventory Account
  3. 1662callsCodeunit 131300 Library - ERM CreateGLAccountNo
  4. 1663validatesTable 5813 Inventory Posting Setup Inventory Account (Interim)
  5. 1663callsCodeunit 131300 Library - ERM CreateGLAccountNo
  6. 1664validatesTable 5813 Inventory Posting Setup WIP Account
  7. 1664callsCodeunit 131300 Library - ERM CreateGLAccountNo
  8. 1665validatesTable 5813 Inventory Posting Setup Material Variance Account
  9. 1665callsCodeunit 131300 Library - ERM CreateGLAccountNo
  10. 1666validatesTable 5813 Inventory Posting Setup Capacity Variance Account
  11. 1666callsCodeunit 131300 Library - ERM CreateGLAccountNo
  12. 1667raisesOnBeforeModifyInventoryPostingSetup
  13. 1668writesTable 5813 Inventory Posting Setup Modify(true)

UpdateSalesLine line 1671

  1. 1681writesTable 37 Sales Line Modify(true)

ItemJournalSetup line 1684

  1. 1688callsSelectItemJournalTemplateName
  2. 1689validatesTable 82 Item Journal Template No. Series
  3. 1689callsCodeunit 131000 Library - Utility GetGlobalNoSeriesCode
  4. 1690writesTable 82 Item Journal Template Modify(true)
  5. 1694callsSelectItemJournalBatchName
  6. 1695validatesTable 233 Item Journal Batch No. Series
  7. 1696writesTable 233 Item Journal Batch Modify(true)

OutputJournalSetup line 1699

  1. 1701callsSelectItemJournalTemplateName
  2. 1702callsSelectItemJournalBatchName

ConsumptionJournalSetup line 1705

  1. 1707callsSelectItemJournalTemplateName
  2. 1708callsSelectItemJournalBatchName

UpdateMaterialNonInvVarianceAccountInInventoryPostingSetup line 1725

  1. 1727validatesTable 5813 Inventory Posting Setup Mat. Non-Inv. Variance Acc.
  2. 1727callsCodeunit 131300 Library - ERM CreateGLAccountNo
  3. 1728writesTable 5813 Inventory Posting Setup Modify

CreateItem line 1731

  1. 1742writesTable 27 Item Modify

CreateItemSimple line 1745

  1. 1747callsCreateItem

CreateItemWithExtendedText line 1750

  1. 1756callsCreateItem
  2. 1757validatesTable 27 Item Automatic Ext. Texts
  3. 1758writesTable 27 Item Modify
  4. 1761callsCreateExtendedTextHeaderItem
  5. 1762validatesTable 279 Extended Text Header All Language Codes
  6. 1763writesTable 279 Extended Text Header Modify
  7. 1764callsCreateExtendedTextLineItem
  8. 1765validatesTable 280 Extended Text Line Text
  9. 1766writesTable 280 Extended Text Line Modify