Codeunit 132210 Library - Templates
src/Layers/W1/Tests/ApplicationTestLibrary/LibraryTemplates.Codeunit.al17 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
DisableTemplatesFeature line 23
- 27callsCodeunit 132210 Library - Templates SetTemplatesFeatureEnabled
EnableTemplatesFeature line 30
- 34callsCodeunit 132210 Library - Templates SetTemplatesFeatureEnabled
CreateVendorTemplate line 37
- 40validatesTable 1383 Vendor Templ. Code
- 40callsCodeunit 131000 Library - Utility GenerateRandomCode
- 41validatesTable 1383 Vendor Templ. Description
- 42writesTable 1383 Vendor Templ. Insert(true)
CreateVendorTemplateWithData line 45
- 52callsCreateVendorTemplate
- 54callsCodeunit 130512 Library - Purchase CreateVendorPostingGroup
- 55callsCodeunit 131300 Library - ERM FindGeneralPostingSetupInvtFull
- 56callsCodeunit 131300 Library - ERM FindVATPostingSetupInvt
- 57callsCodeunit 131300 Library - ERM FindPaymentMethod
- 59validatesTable 1383 Vendor Templ. Vendor Posting Group
- 60validatesTable 1383 Vendor Templ. Gen. Bus. Posting Group
- 61validatesTable 1383 Vendor Templ. VAT Bus. Posting Group
- 62validatesTable 1383 Vendor Templ. Payment Method Code
- 63validatesTable 1383 Vendor Templ. Payment Terms Code
- 63callsCodeunit 131300 Library - ERM FindPaymentTermsCode
- 64writesTable 1383 Vendor Templ. Modify(true)
CreateVendorTemplateWithDataAndDimensions line 67
CreateCustomerTemplate line 74
- 77validatesTable 1381 Customer Templ. Code
- 77callsCodeunit 131000 Library - Utility GenerateRandomCode
- 78validatesTable 1381 Customer Templ. Description
- 79writesTable 1381 Customer Templ. Insert(true)
CreateCustomerTemplateWithData line 82
- 89callsCreateCustomerTemplate
- 91callsCodeunit 130509 Library - Sales CreateCustomerPostingGroup
- 92callsCodeunit 131300 Library - ERM FindGeneralPostingSetupInvtFull
- 93callsCodeunit 131300 Library - ERM FindVATPostingSetupInvt
- 94callsCodeunit 131300 Library - ERM FindPaymentMethod
- 96validatesTable 1381 Customer Templ. Customer Posting Group
- 97validatesTable 1381 Customer Templ. Gen. Bus. Posting Group
- 98validatesTable 1381 Customer Templ. VAT Bus. Posting Group
- 99validatesTable 1381 Customer Templ. Payment Method Code
- 100validatesTable 1381 Customer Templ. Payment Terms Code
- 100callsCodeunit 131300 Library - ERM FindPaymentTermsCode
- 101writesTable 1381 Customer Templ. Modify(true)
CreateCustomerTemplateWithDataAndDimensions line 104
CreateItemTemplate line 111
- 114validatesTable 1382 Item Templ. Code
- 114callsCodeunit 131000 Library - Utility GenerateRandomCode
- 115validatesTable 1382 Item Templ. Description
- 116writesTable 1382 Item Templ. Insert(true)
CreateItemTemplateWithData line 119
- 126callsCreateItemTemplate
- 129callsCodeunit 132201 Library - Inventory CreateInventoryPostingGroup
- 130callsCodeunit 131300 Library - ERM FindGeneralPostingSetupInvtFull
- 131callsCodeunit 131300 Library - ERM FindVATPostingSetupInvt
- 132callsCodeunit 132201 Library - Inventory CreateUnitOfMeasureCode
- 134validatesTable 1382 Item Templ. Inventory Posting Group
- 135validatesTable 1382 Item Templ. Gen. Prod. Posting Group
- 136validatesTable 1382 Item Templ. VAT Prod. Posting Group
- 137validatesTable 1382 Item Templ. Base Unit of Measure
- 138writesTable 1382 Item Templ. Modify(true)
CreateItemTemplateWithDataAndDimensions line 141
CreateEmployeeTemplate line 148
- 151validatesTable 1384 Employee Templ. Code
- 151callsCodeunit 131000 Library - Utility GenerateRandomCode
- 152validatesTable 1384 Employee Templ. Description
- 153writesTable 1384 Employee Templ. Insert(true)
CreateEmployeeTemplateWithData line 156
- 161callsCreateEmployeeTemplate
- 164validatesTable 5221 Employee Posting Group Code
- 164callsCodeunit 131000 Library - Utility GenerateRandomCode
- 165writesTable 5221 Employee Posting Group Insert
- 168validatesTable 5212 Employee Statistics Group Code
- 168callsCodeunit 131000 Library - Utility GenerateRandomCode
- 169writesTable 5212 Employee Statistics Group Insert
- 171validatesTable 1384 Employee Templ. Employee Posting Group
- 172validatesTable 1384 Employee Templ. Statistics Group Code
- 173writesTable 1384 Employee Templ. Modify(true)
CreateEmployeeTemplateWithDataAndDimensions line 176
CreateTemplateGlobalDimensions line 183
- 190callsCodeunit 131001 Library - Dimension GetGlobalDimCodeValue
- 191callsCodeunit 131001 Library - Dimension CreateDefaultDimension
CreateTemplateDimensions line 195
- 201callsCodeunit 130440 Library - Random RandIntInRange
- 202callsCodeunit 131001 Library - Dimension CreateDimWithDimValue
- 203callsCodeunit 131001 Library - Dimension CreateDefaultDimension
UpdateTemplatesVATGroups line 212
- 219callsCodeunit 131300 Library - ERM FindVATPostingSetup
- 222writesTable 1381 Customer Templ. ModifyAll
- 224writesTable 1383 Vendor Templ. ModifyAll
- 226writesTable 1382 Item Templ. ModifyAll