{"title":"Codeunit 30160 Shpfy Order Fulfillments, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/30160-shpfy-order-fulfillments/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-09","object":{"type":"codeunit","id":30160,"name":"Shpfy Order Fulfillments","app":"Shopify Connector","url":"https://jonas-paprotka.de/ref/codeunit/30160-shpfy-order-fulfillments/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/30160-shpfy-order-fulfillments/source/","path":"src/Apps/W1/Shopify/App/src/Order Fulfillments/Codeunits/ShpfyOrderFulfillments.Codeunit.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:30103":{"name":"Shpfy Communication Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/30103-shpfy-communication-mgt/"},"codeunit:30157":{"name":"Shpfy Json Helper","url":"https://jonas-paprotka.de/ref/codeunit/30157-shpfy-json-helper/"},"table:30111":{"name":"Shpfy Order Fulfillment","url":"https://jonas-paprotka.de/ref/table/30111-shpfy-order-fulfillment/"},"codeunit:30125":{"name":"Shpfy Gift Cards","url":"https://jonas-paprotka.de/ref/codeunit/30125-shpfy-gift-cards/"},"table:30114":{"name":"Shpfy Data Capture","url":"https://jonas-paprotka.de/ref/table/30114-shpfy-data-capture/"},"table:30139":{"name":"Shpfy Fulfillment Line","url":"https://jonas-paprotka.de/ref/table/30139-shpfy-fulfillment-line/"}},"procs":[{"name":"ConvertToFulFillmentStatus","line":19,"kind":"procedure","access":"local","params":1,"steps":[[21,"ext","codeunit",30103,"ConvertToCleanOptionValue",1]]},{"name":"GetFulfillments","line":28,"kind":"procedure","access":"internal","params":2,"steps":[[36,"ext","codeunit",30103,"SetShop",1],[39,"ext","codeunit",30103,"ExecuteGraphQL",2],[40,"ext","codeunit",30157,"GetJsonObject",3],[41,"ext","codeunit",30157,"GetValueAsBigInteger",2],[42,"ext","codeunit",30157,"GetJsonArray",2],[43,"call","GetFulfillmentInfos",2]]},{"name":"GetFulfillmentInfos","line":52,"kind":"procedure","access":"internal","params":2,"steps":[[57,"call","ImportFulfillment",2]]},{"name":"ImportFulfillment","line":65,"kind":"procedure","access":"internal","params":2,"steps":[[83,"ext","codeunit",30157,"GetValueAsBigInteger",2],[90,"call","ConvertToFulFillmentStatus",1],[90,"ext","codeunit",30157,"GetValueAsText",2],[92,"ext","codeunit",30157,"GetValueIntoField",4],[93,"ext","codeunit",30157,"GetValueIntoField",4],[94,"ext","codeunit",30157,"GetValueIntoField",4],[95,"ext","codeunit",30157,"GetValueIntoField",4],[96,"ext","codeunit",30157,"GetValueIntoField",4],[97,"ext","codeunit",30157,"GetJsonArray",2],[101,"ext","codeunit",30157,"GetValueIntoField",4],[102,"ext","codeunit",30157,"GetValueIntoField",4],[103,"ext","codeunit",30157,"GetValueIntoField",4],[109,"ext","codeunit",30157,"GetValueAsText",2],[110,"ext","codeunit",30157,"GetValueAsText",2],[111,"ext","codeunit",30157,"GetValueAsText",2],[119,"write",30111,"Insert"],[121,"write",30111,"Modify"],[126,"call","FillInFulFillItemLines",3],[126,"ext","codeunit",30157,"GetJsonArray",2],[127,"ext","codeunit",30157,"GetValueAsBoolean",2],[134,"ext","codeunit",30157,"GetValueAsText",2],[136,"ext","codeunit",30157,"GetValueAsText",2],[138,"ext","codeunit",30103,"ExecuteGraphQL",2],[139,"ext","codeunit",30157,"GetJsonToken",2],[146,"ext","codeunit",30125,"GetGiftCardsFromFulfillment",2],[148,"ext","table",30114,"Add",3]]},{"name":"FillInFulFillItemLines","line":152,"kind":"procedure","access":"local","params":3,"steps":[[159,"ext","codeunit",30103,"GetIdOfGId",1],[159,"ext","codeunit",30157,"GetValueAsText",2],[163,"write",30139,"Insert"],[167,"ext","codeunit",30103,"GetIdOfGId",1],[167,"ext","codeunit",30157,"GetValueAsText",2],[168,"ext","codeunit",30157,"GetValueAsInteger",2],[169,"ext","codeunit",30157,"GetValueAsBoolean",2],[170,"write",30139,"Modify"]]}]}