Codeunit 30171 Shpfy Create Item

Shopify Connector, Microsoft.Integration.Shopify

src/Apps/W1/Shopify/App/src/Products/Codeunits/ShpfyCreateItem.Codeunit.al13 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 40, trigger

  1. 47callsSetShop
  2. 49callsExistItem
  3. 51writesTable 30127 Shpfy Product Modify
  4. 53callsCodeunit 30177 Shpfy Product Events OnBeforeCreateItem
  5. 55callsDoCreateItem
  6. 57writesTable 30127 Shpfy Product Modify
  7. 58callsCodeunit 30177 Shpfy Product Events OnAfterCreateItem
  8. 64callsCreateItemVariant
  9. 65callsCreateItemUnitOfMeasure
  10. 69callsExistItem
  11. 73callsCodeunit 30177 Shpfy Product Events OnBeforeCreateItem
  12. 75callsDoCreateItem
  13. 76callsCodeunit 30177 Shpfy Product Events OnAfterCreateItem
  14. 80callsExistItem
  15. 84callsCodeunit 30177 Shpfy Product Events OnBeforeCreateItem
  16. 86callsDoCreateItem
  17. 87callsCodeunit 30177 Shpfy Product Events OnAfterCreateItem
  18. 91callsExistItem
  19. 95callsCodeunit 30177 Shpfy Product Events OnBeforeCreateItem
  20. 97callsDoCreateItem
  21. 98callsCodeunit 30177 Shpfy Product Events OnAfterCreateItem

CreateItemVariant line 110, local

  1. 121callsCreateReferences
  2. 124writesTable 30129 Shpfy Variant Modify
  3. 127callsCodeunit 30177 Shpfy Product Events OnBeforeCreateItemVariant
  4. 143callsExistItem
  5. 145writesTable 30129 Shpfy Variant Modify
  6. 147callsCodeunit 30177 Shpfy Product Events OnBeforeCreateItem
  7. 149callsDoCreateItem
  8. 150callsCodeunit 30177 Shpfy Product Events OnAfterCreateItem
  9. 155callsCreateNewVariantCode
  10. 161writesTable 5401 Item Variant Insert
  11. 165writesTable 30129 Shpfy Variant Modify
  12. 166callsCodeunit 30171 Shpfy Create Item CreateReferences
  13. 168callsCodeunit 30177 Shpfy Product Events OnAfterCreateItemVariant

CreateNewVariantCode line 179, local

  1. 184callsCodeunit 30177 Shpfy Product Events OnBeforeCreateItemVariantCode

CreateReferences line 204, internal

  1. 209callsCodeunit 30175 Shpfy Item Reference Mgt. CreateItemBarCode
  2. 209callsFindUoMCode
  3. 213callsCodeunit 30175 Shpfy Item Reference Mgt. CreateItemBarCode
  4. 213callsFindUoMCode
  5. 218writesTable 27 Item Modify
  6. 220callsCodeunit 30175 Shpfy Item Reference Mgt. CreateItemReference
  7. 220callsFindUoMCode

DoCreateItem line 232, local

  1. 244callsFindItemTemplate
  2. 261callsCreateItemFromTemplate
  3. 264callsCreateItemUnitOfMeasure
  4. 268validatesTable 27 Item Unit Cost
  5. 270validatesTable 27 Item Unit Cost
  6. 270callsTable 330 Currency Exchange Rate ExchangeAmtFCYToLCY
  7. 270callsTable 330 Currency Exchange Rate ExchangeRate
  8. 274validatesTable 27 Item Unit Price
  9. 276validatesTable 27 Item Unit Price
  10. 276callsTable 330 Currency Exchange Rate ExchangeAmtFCYToLCY
  11. 276callsTable 330 Currency Exchange Rate ExchangeRate
  12. 279validatesTable 27 Item Tariff No.
  13. 279callsGetTariffNo
  14. 280validatesTable 27 Item Country/Region of Origin Code
  15. 280callsCodeunit 30166 Shpfy Process Order GetCountryCode
  16. 284callsCodeunit 30104 Shpfy Filter Mgt. CleanFilterValue
  17. 290callsCodeunit 30104 Shpfy Filter Mgt. CleanFilterValue
  18. 296callsCreateEntityText
  19. 298writesTable 27 Item Modify
  20. 301writesTable 30129 Shpfy Variant Modify
  21. 304writesTable 30127 Shpfy Product Modify
  22. 308callsCreateReferences

CreateEntityText line 311, local

  1. 323writesTable 2000000132 Entity Text Insert
  2. 325callsCodeunit 2010 Entity Text UpdateText
  3. 325callsTable 30127 Shpfy Product GetDescriptionHtml
  4. 326writesTable 2000000132 Entity Text Modify

CreateItemUnitOfMeasure line 329, local

  1. 343callsFindUoMCode
  2. 352writesTable 5404 Item Unit of Measure Insert

CreateItemFromTemplate line 358, local

  1. 369callsCodeunit 1336 Item Templ. Mgt. InitItemNo
  2. 371writesTable 27 Item Insert(true)
  3. 372callsCodeunit 1336 Item Templ. Mgt. ApplyItemTemplate

FindItemTemplate line 432, local

  1. 436callsCodeunit 30177 Shpfy Product Events OnBeforeFindItemTemplate
  2. 441callsCodeunit 30177 Shpfy Product Events OnAfterFindItemTemplate

FindUoMCode line 450, local

  1. 474writesTable 204 Unit of Measure Insert

GetTariffNo line 494, internal

  1. 504callsCodeunit 30104 Shpfy Filter Mgt. KeepDigits
  2. 510callsCodeunit 30104 Shpfy Filter Mgt. KeepDigits

CreateItemsFromShopifyProducts line 520, internal

  1. 524callsCreateItemFromShopifyProduct

CreateItemFromShopifyProduct line 532, internal

  1. 536callsCodeunit 30180 Shpfy Product Import SetShop
  2. 537callsCodeunit 30180 Shpfy Product Import SetProduct
  3. 538callsCodeunit 30180 Shpfy Product Import SetCreateNewItem
  4. 540runsCodeunit 30180 Shpfy Product Import