{"title":"Codeunit 30182 Shpfy Product Price Calc., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/30182-shpfy-product-price-calc/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-05","object":{"type":"codeunit","id":30182,"name":"Shpfy Product Price Calc.","app":"Shopify Connector","url":"https://jonas-paprotka.de/ref/codeunit/30182-shpfy-product-price-calc/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/30182-shpfy-product-price-calc/source/","path":"src/Apps/W1/Shopify/App/src/Products/Codeunits/ShpfyProductPriceCalc.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:30313":{"name":"Shpfy Skipped Record","url":"https://jonas-paprotka.de/ref/codeunit/30313-shpfy-skipped-record/"},"codeunit:30177":{"name":"Shpfy Product Events","url":"https://jonas-paprotka.de/ref/codeunit/30177-shpfy-product-events/"},"table:37":{"name":"Sales Line","url":"https://jonas-paprotka.de/ref/table/37-sales-line/"},"table:36":{"name":"Sales Header","url":"https://jonas-paprotka.de/ref/table/36-sales-header/"}},"procs":[{"name":"CalcPrice","line":58,"kind":"procedure","access":"internal","params":6,"steps":[[66,"call","IsValidUoM",2],[67,"ext","codeunit",30313,"LogSkippedRecord",3],[70,"ext","codeunit",30177,"OnBeforeCalculateUnitPrice",9],[78,"ext","table",37,"SetSalesHeader",1],[79,"validate",37,"Type"],[80,"validate",37,"No."],[81,"validate",37,"Variant Code"],[82,"validate",37,"Quantity"],[84,"validate",37,"Unit of Measure Code"],[101,"ext","codeunit",30177,"OnAfterCalculateUnitPrice",8]]},{"name":"CreateTempSalesHeader","line":107,"kind":"procedure","access":"local","params":0,"steps":[[137,"validate",36,"Document Date"],[138,"validate",36,"Order Date"],[139,"validate",36,"Currency Code"],[140,"write",36,"Insert"]]},{"name":"SetShop","line":167,"kind":"procedure","access":"internal","params":1,"steps":[[171,"call","SetParameters",1],[173,"write",36,"DeleteAll"],[174,"call","CreateTempSalesHeader",0]]},{"name":"SetShopAndCatalog","line":178,"kind":"procedure","access":"internal","params":2,"steps":[[186,"call","SetParameters",1],[188,"write",36,"DeleteAll"],[189,"call","CreateTempSalesHeader",0]]}]}