Skip to content

Commit fa79560

Browse files
authored
[Shopify] Sync gross weight instead of net weight on invoice lines (#5624)
<!-- Thank you for submitting a Pull Request. If you're new to contributing to BCApps please read our pull request guideline below * https://github.com/microsoft/BCApps/Contributing.md --> #### Summary <!-- Provide a general summary of your changes --> Sync gross weight instead of net weight on invoice lines #### Work Item(s) <!-- Add the issue number here after the #. The issue needs to be open and approved. Submitting PRs with no linked issues or unapproved issues is highly discouraged. --> Fixes [AB#614154](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/614154)
1 parent 55290e3 commit fa79560

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Apps/W1/Shopify/App/src/Invoicing/Codeunits/ShpfyPostedInvoiceExport.Codeunit.al

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ codeunit 30362 "Shpfy Posted Invoice Export"
319319
TempOrderLine."Gift Card" := false;
320320
TempOrderLine.Taxable := false;
321321
TempOrderLine."Unit Price" := SalesInvoiceLine."Unit Price";
322-
TempOrderLine.Weight := SalesInvoiceLine."Net Weight";
322+
TempOrderLine.Weight := SalesInvoiceLine."Gross Weight";
323323
TempOrderHeader."Discount Amount" += SalesInvoiceLine."Line Discount Amount";
324324
TempOrderHeader.Modify(false);
325325

0 commit comments

Comments
 (0)