{"title":"Table 30102 Shpfy Shop, extension points 29","url":"https://jonas-paprotka.de/ref/table/30102-shpfy-shop/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-16","object":{"type":"table","id":30102,"name":"Shpfy Shop","app":"Shopify Connector","url":"https://jonas-paprotka.de/ref/table/30102-shpfy-shop/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/30102-shpfy-shop/source/","path":"src/Apps/W1/Shopify/App/src/Base/Tables/ShpfyShop.Table.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:30199":{"name":"Shpfy Authentication Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/30199-shpfy-authentication-mgt/"},"codeunit:1820":{"name":"Customer Consent Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/1820-customer-consent-mgt/"},"codeunit:8714":{"name":"Audit Log","url":"https://jonas-paprotka.de/ref/codeunit/8714-audit-log/"},"table:30102":{"name":"Shpfy Shop","url":"https://jonas-paprotka.de/ref/table/30102-shpfy-shop/"},"codeunit:30269":{"name":"Shpfy Webhooks Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/30269-shpfy-webhooks-mgt/"},"codeunit:30103":{"name":"Shpfy Communication Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/30103-shpfy-communication-mgt/"},"codeunit:30156":{"name":"Shpfy Hash","url":"https://jonas-paprotka.de/ref/codeunit/30156-shpfy-hash/"},"table:30103":{"name":"Shpfy Synchronization Info","url":"https://jonas-paprotka.de/ref/table/30103-shpfy-synchronization-info/"},"table:3901":{"name":"Retention Policy Setup","url":"https://jonas-paprotka.de/ref/table/3901-retention-policy-setup/"},"codeunit:30157":{"name":"Shpfy Json Helper","url":"https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/"},"codeunit:30107":{"name":"Shpfy Sync Countries","url":"https://jonas-paprotka.de/ref/codeunit/30107-shpfy-sync-countries/"},"codeunit:30211":{"name":"Shpfy Shop Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/30211-shpfy-shop-mgt/"},"codeunit:30198":{"name":"Shpfy Sync Shop Locations","url":"https://jonas-paprotka.de/ref/codeunit/30198-shpfy-sync-shop-locations/"}},"procs":[{"name":"Shopify URL.OnValidate","line":55,"kind":"trigger","steps":[[60,"ext","codeunit",30199,"CorrectShopUrl",1],[61,"ext","codeunit",30199,"AssertValidShopUrl",1],[63,"call","CalcShopId",0]]},{"name":"Enabled.OnValidate","line":71,"kind":"trigger","steps":[[80,"ext","codeunit",1820,"ConfirmUserConsent",0],[82,"ext","codeunit",8714,"LogAuditMessage",5],[85,"validate",30102,"Order Created Webhooks"],[86,"ext","codeunit",30269,"DisableBulkOperationsWebhook",1]]},{"name":"Shipping Charges Account.OnValidate","line":125,"kind":"trigger","steps":[[130,"call","CheckGLAccount",1]]},{"name":"UoM as Variant.OnValidate","line":329,"kind":"trigger","steps":[[332,"call","VerifyNoItemAttributesAsOptions",0]]},{"name":"Tip Account.OnValidate","line":411,"kind":"trigger","steps":[[416,"call","CheckGLAccount",1]]},{"name":"Sold Gift Card Account.OnValidate","line":427,"kind":"trigger","steps":[[432,"call","CheckGLAccount",1]]},{"name":"Refund Acc. non-restock Items.OnValidate","line":584,"kind":"trigger","steps":[[589,"call","CheckGLAccount",1]]},{"name":"Refund Account.OnValidate","line":599,"kind":"trigger","steps":[[604,"call","CheckGLAccount",1]]},{"name":"Order Created Webhooks.OnValidate","line":643,"kind":"trigger","steps":[[648,"ext","codeunit",30269,"EnableOrderCreatedWebhook",1],[650,"ext","codeunit",30269,"DisableOrderCreatedWebhook",1]]},{"name":"Logging Mode.OnValidate","line":694,"kind":"trigger","steps":[[697,"call","EnableShopifyLogRetentionPolicySetup",0]]},{"name":"Advanced Shopify Plan.OnValidate","line":952,"kind":"trigger","steps":[[955,"validate",30102,"Auto Create Catalog"]]},{"name":"OnDelete","line":985,"kind":"trigger","steps":[[989,"ext","codeunit",30269,"DisableOrderCreatedWebhook",1],[990,"ext","codeunit",30269,"DisableBulkOperationsWebhook",1]]},{"name":"RequestAccessToken","line":1002,"kind":"procedure","access":"internal","params":0,"steps":[[1007,"call","GetStoreName",0],[1009,"ext","codeunit",30199,"InstallShopifyApp",2]]},{"name":"HasAccessToken","line":1012,"kind":"procedure","access":"internal","params":0,"steps":[[1017,"call","GetStoreName",0],[1019,"ext","codeunit",30199,"AccessTokenExist",1]]},{"name":"TestConnection","line":1022,"kind":"procedure","access":"internal","params":0,"steps":[[1026,"ext","codeunit",30103,"SetShop",1],[1027,"ext","codeunit",30103,"ExecuteGraphQL",0]]},{"name":"SetStoreName","line":1039,"kind":"procedure","access":"internal","params":1,"steps":[[1041,"validate",30102,"Shopify URL"]]},{"name":"CalcShopId","line":1047,"kind":"procedure","access":"internal","params":0,"steps":[[1055,"ext","codeunit",30156,"CalcHash",1]]},{"name":"GetLastSyncTime","line":1070,"kind":"procedure","access":"internal","params":1,"steps":[[1076,"call","CalcShopId",0],[1077,"write",30102,"Modify"],[1081,"call","GetEmptySyncTime",0],[1087,"call","GetEmptySyncTime",0],[1090,"call","GetEmptySyncTime",0]]},{"name":"SetLastSyncTime","line":1098,"kind":"procedure","access":"internal","params":2,"steps":[[1109,"write",30103,"Modify"],[1115,"write",30103,"Insert"]]},{"name":"EnableShopifyLogRetentionPolicySetup","line":1127,"kind":"procedure","access":"local","params":0,"steps":[[1144,"validate",3901,"Enabled"],[1145,"write",3901,"Modify",1]]},{"name":"GetShopSettings","line":1148,"kind":"procedure","access":"internal","params":0,"steps":[[1155,"ext","codeunit",30103,"SetShop",1],[1156,"ext","codeunit",30103,"ExecuteGraphQL",0],[1159,"validate",30102,"Advanced Shopify Plan"],[1159,"ext","codeunit",30157,"GetValueAsBoolean",2],[1160,"ext","codeunit",30157,"GetValueAsText",2],[1161,"call","ConvertToWeightUnit",1],[1161,"ext","codeunit",30157,"GetValueAsText",2]]},{"name":"GetShopWeightUnit","line":1164,"kind":"procedure","access":"internal","params":0,"steps":[[1170,"ext","codeunit",30103,"SetShop",1],[1171,"ext","codeunit",30103,"ExecuteGraphQL",0],[1172,"call","ConvertToWeightUnit",1],[1172,"ext","codeunit",30157,"GetValueAsText",2]]},{"name":"SyncCountries","line":1175,"kind":"procedure","access":"internal","params":0,"steps":[[1177,"run","codeunit",30107]]},{"name":"ConvertToWeightUnit","line":1180,"kind":"procedure","access":"local","params":1,"steps":[[1184,"ext","codeunit",30103,"ConvertToCleanOptionValue",1]]},{"name":"CheckApiVersionExpiryDate","line":1191,"kind":"procedure","access":"internal","params":2,"steps":[[1196,"ext","codeunit",30211,"SendBlockedNotification",0],[1200,"ext","codeunit",30211,"SendExpirationNotification",1]]},{"name":"UpdateFulfillmentService","line":1207,"kind":"procedure","access":"internal","params":0,"steps":[[1215,"ext","codeunit",30198,"SetShop",1],[1216,"ext","codeunit",30198,"UpdateFulfillmentServiceCallbackUrl",0],[1220,"write",30102,"Modify"]]}]}