Codeunit 5470 Graph Collection Mgt - Item

Base Application, Microsoft.Integration.Graph

src/Layers/W1/BaseApp/Integration/Graph/GraphCollectionMgtItem.Codeunit.al21 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

InsertItemFromSalesDocument line 31

  1. 38writesTable 27 Item Insert(true)
  2. 40writesTable 27 Item Insert(true)
  3. 42callsUpdateOrCreateItemUnitOfMeasureFromSalesDocument
  4. 45callsCodeunit 5465 Graph Mgt - General Tools ProcessNewRecordFromAPI
  5. 48writesTable 27 Item Modify(true)

InsertItem line 52

  1. 58writesTable 27 Item Insert(true)
  2. 60writesTable 27 Item Insert(true)
  3. 62callsProcessComplexTypes
  4. 67callsCodeunit 5465 Graph Mgt - General Tools ProcessNewRecordFromAPI
  5. 70writesTable 27 Item Modify(true)

InsertItem line 74

  1. 77writesTable 27 Item Insert(true)
  2. 79writesTable 27 Item Insert(true)
  3. 81callsModifyItem

ModifyItem line 85

  1. 91callsCodeunit 5465 Graph Mgt - General Tools ProcessNewRecordFromAPI
  2. 94writesTable 27 Item Modify(true)

ProcessComplexTypes line 97

  1. 99callsUpdateUnitOfMeasure

ItemUnitOfMeasureToJSON line 102

  1. 111callsCodeunit 5468 Graph Mgt - Complex Types GetUnitOfMeasureJSON
  2. 119callsCodeunit 5459 JSON Management InitializeObject
  3. 120callsCodeunit 5459 JSON Management GetJSONObject
  4. 123callsCodeunit 5459 JSON Management AddJPropertyToJObject
  5. 124callsUOMConversionComplexTypeToUnitOfMeasure
  6. 125callsCodeunit 5459 JSON Management AddJPropertyToJObject
  7. 126callsUOMConversionComplexTypeFromToConversionRate
  8. 127callsCodeunit 5459 JSON Management AddJObjectToJObject
  9. 127callsUOMConversionComplexTypeName
  10. 128callsCodeunit 5459 JSON Management WriteObjectToString

UpdateOrCreateItemUnitOfMeasureFromSalesDocument line 131

  1. 143callsParseJSONToUnitOfMeasure
  2. 145callsParseJSONToItemUnitOfMeasure
  3. 148callsVerifyBaseUOMIsSet
  4. 151writesTable 204 Unit of Measure Insert
  5. 155validatesTable 27 Item Base Unit of Measure
  6. 156callsRegisterFieldSet
  7. 157callsRegisterFieldSet
  8. 161callsInsertOrUpdateItemUnitOfMeasureRecord
  9. 163callsInsertOrUpdateUnitOfMeasureRecord
  10. 166validatesTable 27 Item Base Unit of Measure
  11. 167callsRegisterFieldSet
  12. 168callsRegisterFieldSet
  13. 178writesTable 5404 Item Unit of Measure Insert(true)

UpdateUnitOfMeasure line 183

  1. 209callsItemUnitOfMeasureToJSON
  2. 214callsParseJSONToUnitOfMeasure
  3. 216callsParseJSONToItemUnitOfMeasure
  4. 220callsInsertOrUpdateUnitOfMeasureRecord
  5. 223callsInsertOrUpdateItemUnitOfMeasureRecord

InsertOrUpdateUnitOfMeasureRecord line 231, local

  1. 240writesTable 204 Unit of Measure Insert(true)
  2. 245validatesTable 204 Unit of Measure Description
  3. 250validatesTable 204 Unit of Measure Symbol
  4. 255writesTable 204 Unit of Measure Modify(true)

InsertOrUpdateItemUnitOfMeasureRecord line 258, local

  1. 262writesTable 5404 Item Unit of Measure Insert(true)
  2. 267validatesTable 5404 Item Unit of Measure Qty. per Unit of Measure
  3. 268writesTable 5404 Item Unit of Measure Modify(true)

ParseJSONToUnitOfMeasure line 272

  1. 279callsCodeunit 5459 JSON Management InitializeObject
  2. 280callsCodeunit 5459 JSON Management GetJSONObject
  3. 282callsCodeunit 5465 Graph Mgt - General Tools GetMandatoryStringPropertyFromJObject
  4. 282callsUOMComplexTypeUnitCode
  5. 284callsCodeunit 5459 JSON Management GetStringPropertyValueFromJObjectByName
  6. 284callsUOMComplexTypeUnitName
  7. 285callsCodeunit 5459 JSON Management GetStringPropertyValueFromJObjectByName
  8. 285callsUOMComplexTypeSymbol

ParseJSONToItemUnitOfMeasure line 288, local

  1. 297callsCodeunit 5459 JSON Management InitializeObject
  2. 298callsCodeunit 5459 JSON Management GetJSONObject
  3. 300callsCodeunit 5459 JSON Management GetStringPropertyValueFromJObjectByName
  4. 300callsUOMConversionComplexTypeName
  5. 309callsCodeunit 5459 JSON Management InitializeObject
  6. 310callsCodeunit 5459 JSON Management GetJSONObject
  7. 312callsCodeunit 5465 Graph Mgt - General Tools GetMandatoryStringPropertyFromJObject
  8. 313callsUOMConversionComplexTypeToUnitOfMeasure
  9. 316callsCodeunit 5465 Graph Mgt - General Tools GetMandatoryStringPropertyFromJObject
  10. 317callsUOMConversionComplexTypeFromToConversionRate
  11. 321writesTable 5404 Item Unit of Measure Insert

WriteItemEDMComplexTypes line 327

  1. 331callsCodeunit 5465 Graph Mgt - General Tools InsertOrUpdateODataType
  2. 331callsGetItemUOMEDM
  3. 332callsCodeunit 5465 Graph Mgt - General Tools InsertOrUpdateODataType
  4. 332callsGetItemUOMConversionEDM

GetItemUOMEDM line 335, local

  1. 342callsUOMComplexTypeUnitCode
  2. 344callsUOMComplexTypeUnitName
  3. 346callsUOMComplexTypeSymbol
  4. 348callsUOMConversionComplexTypeName

GetItemUOMConversionEDM line 352, local

  1. 359callsUOMConversionComplexTypeToUnitOfMeasure
  2. 361callsUOMConversionComplexTypeFromToConversionRate

EnableItemODataWebService line 365, local

  1. 367callsWriteItemEDMComplexTypes

SetLastDateTimeModified line 370

  1. 382callsCodeunit 3006 DotNet_DateTimeOffset ConvertToUtcDateTime
  2. 383writesTable 27 Item Modify

RegisterFieldSet line 387, local

  1. 389callsCodeunit 10 Type Helper GetField
  2. 394validatesTable 2000000041 Field No.
  3. 395writesTable 2000000041 Field Insert(true)

VerifyBaseUOMIsSet line 428, local

  1. 434callsUOMConversionComplexTypeToUnitOfMeasure

HandleApiSetup line 438, local

  1. 440callsEnableItemODataWebService
  2. 441callsUpdateIds

UpdateIds line 449

  1. 459callsTable 27 Item UpdateReferencedIds
  2. 460writesTable 27 Item Modify
  3. 462callsCodeunit 9994 API Data Upgrade CountRecordsAndCommit