Codeunit 30246 Shpfy Create Sales Doc. Refund
src/Apps/W1/Shopify/App/src/Order Return Refund Processing/Codeunits/ShpfyCreateSalesDocRefund.Codeunit.al11 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
OnRun line 21, trigger
CreateSalesDocument line 41, local
- 48callsDoCreateSalesHeader
- 49callsCreateSalesLines
- 51runsCodeunit 414 Release Sales Document
- 52callsCodeunit 30247 Shpfy Refund Process Events OnAfterProcessSalesDocument
DoCreateSalesHeader line 57, local
- 76callsCodeunit 30247 Shpfy Refund Process Events OnBeforeCreateSalesHeader
- 79callsTable 36 Sales Header SetHideValidationDialog
- 80validatesTable 36 Sales Header Document Type
- 81writesTable 36 Sales Header Insert(true)
- 83validatesTable 36 Sales Header Sell-to Customer No.
- 89callsCodeunit 30166 Shpfy Process Order GetCountryCode
- 94validatesTable 36 Sales Header Sell-to Contact No.
- 95validatesTable 36 Sales Header Bill-to Customer No.
- 101callsCodeunit 30166 Shpfy Process Order GetCountryCode
- 104validatesTable 36 Sales Header Bill-to Contact No.
- 105validatesTable 36 Sales Header Ship-to Code
- 111callsCodeunit 30166 Shpfy Process Order GetCountryCode
- 118validatesTable 36 Sales Header Currency Code
- 120validatesTable 36 Sales Header Currency Code
- 122validatesTable 36 Sales Header Document Date
- 124validatesTable 36 Sales Header Tax Area Code
- 125validatesTable 36 Sales Header Tax Liable
- 127callsCodeunit 30164 Shpfy Order Mgt. FindTaxArea
- 128validatesTable 36 Sales Header Tax Area Code
- 130validatesTable 36 Sales Header Tax Liable
- 132callsMapPaymentMethodCode
- 135callsRefundHasExchangeItemLines
- 139writesTable 36 Sales Header Modify(true)
- 141callsCodeunit 30259 Shpfy BC Document Type Convert Convert
- 145writesTable 30146 Shpfy Doc. Link To Doc. Insert
- 146callsCodeunit 30247 Shpfy Refund Process Events OnAfterCreateSalesHeader
CreateSalesLines line 165, local
- 174callsGetLastLineNo
- 177callsTable 37 Sales Line SetHideValidationDialog
- 178validatesTable 37 Sales Line Document Type
- 179validatesTable 37 Sales Line Document No.
- 180validatesTable 37 Sales Line Line No.
- 181validatesTable 37 Sales Line Type
- 183validatesTable 37 Sales Line Description
- 184writesTable 37 Sales Line Insert(true)
- 190callsCreateSalesLinesFromRefundLines
- 197callsCreateSalesLinesFromReturnLines
- 200callsCreateSalesLinesFromRefundShippingLines
- 201callsCreateSalesLinesFromRemainingAmount
CreateSalesLinesFromRefundLines line 204, local
- 224callsGetLastLineNo
- 226callsCodeunit 30247 Shpfy Refund Process Events OnBeforeCreateItemSalesLine
- 229callsTable 37 Sales Line SetHideValidationDialog
- 230validatesTable 37 Sales Line Document Type
- 231validatesTable 37 Sales Line Document No.
- 232validatesTable 37 Sales Line Line No.
- 233writesTable 37 Sales Line Insert(true)
- 236validatesTable 37 Sales Line Type
- 238validatesTable 37 Sales Line No.
- 241validatesTable 37 Sales Line Type
- 243validatesTable 37 Sales Line No.
- 246validatesTable 37 Sales Line Type
- 247validatesTable 37 Sales Line No.
- 249validatesTable 37 Sales Line Unit of Measure Code
- 252validatesTable 37 Sales Line Variant Code
- 264validatesTable 37 Sales Line Location Code
- 267validatesTable 37 Sales Line Location Code
- 270validatesTable 37 Sales Line Quantity
- 271validatesTable 37 Sales Line Unit Price
- 275validatesTable 37 Sales Line Unit Price
- 276validatesTable 37 Sales Line Line Discount Amount
- 280validatesTable 37 Sales Line Unit Price
- 281validatesTable 37 Sales Line Line Discount Amount
- 291writesTable 37 Sales Line Modify
- 295callsTable 37 Sales Line GetLineAmountInclVAT
- 306writesTable 30110 Shpfy Gift Card Modify
- 309callsCodeunit 30247 Shpfy Refund Process Events OnAfterCreateItemSalesLine
- 313callsGetLastLineNo
- 315callsTable 37 Sales Line SetHideValidationDialog
- 316validatesTable 37 Sales Line Document Type
- 317validatesTable 37 Sales Line Document No.
- 318validatesTable 37 Sales Line Line No.
- 319writesTable 37 Sales Line Insert(true)
- 321validatesTable 37 Sales Line Type
- 323validatesTable 37 Sales Line No.
- 324validatesTable 37 Sales Line Quantity
- 327validatesTable 37 Sales Line Unit Price
- 329validatesTable 37 Sales Line Unit Price
- 333writesTable 37 Sales Line Modify
CreateSalesLinesFromReturnLines line 339, local
- 346callsGetLastLineNo
- 347callsCodeunit 30247 Shpfy Refund Process Events OnBeforeCreateItemSalesLineFromReturnLine
- 350callsTable 37 Sales Line SetHideValidationDialog
- 351validatesTable 37 Sales Line Document Type
- 352validatesTable 37 Sales Line Document No.
- 353validatesTable 37 Sales Line Line No.
- 354writesTable 37 Sales Line Insert(true)
- 356validatesTable 37 Sales Line Type
- 357validatesTable 37 Sales Line No.
- 359validatesTable 37 Sales Line Unit of Measure Code
- 362validatesTable 37 Sales Line Variant Code
- 365validatesTable 37 Sales Line Location Code
- 368validatesTable 37 Sales Line Location Code
- 370validatesTable 37 Sales Line Quantity
- 374validatesTable 37 Sales Line Unit Price
- 376validatesTable 37 Sales Line Unit Price
- 380writesTable 37 Sales Line Modify
- 381callsCodeunit 30247 Shpfy Refund Process Events OnAfterCreateItemSalesLineFromReturnLine
CreateSalesLinesFromRefundShippingLines line 385, local
- 394callsGetLastLineNo
- 396callsTable 37 Sales Line SetHideValidationDialog
- 397validatesTable 37 Sales Line Document Type
- 398validatesTable 37 Sales Line Document No.
- 399validatesTable 37 Sales Line Line No.
- 400writesTable 37 Sales Line Insert(true)
- 402validatesTable 37 Sales Line Type
- 404validatesTable 37 Sales Line No.
- 405validatesTable 37 Sales Line Description
- 406validatesTable 37 Sales Line Quantity
- 411validatesTable 37 Sales Line Unit Price
- 413validatesTable 37 Sales Line Unit Price
- 416validatesTable 37 Sales Line Unit Price
- 418validatesTable 37 Sales Line Unit Price
- 422writesTable 37 Sales Line Modify
FillRemainingAmountLineFields line 426, local
- 429callsGetLastLineNo
- 431callsTable 37 Sales Line SetHideValidationDialog
- 432validatesTable 37 Sales Line Document Type
- 433validatesTable 37 Sales Line Document No.
- 434validatesTable 37 Sales Line Line No.
- 435writesTable 37 Sales Line Insert(true)
- 436validatesTable 37 Sales Line Type
- 437validatesTable 37 Sales Line No.
- 438validatesTable 37 Sales Line Quantity
CreateSalesLinesFromRemainingAmount line 442, local
- 451callsTable 4 Currency Initialize
- 452callsCreateRoundingLine
- 454callsCodeunit 30247 Shpfy Refund Process Events OnBeforeCreateSalesLinesFromRemainingAmount
- 463callsRefundHasExchangeItemLines
- 471callsFillRemainingAmountLineFields
- 473validatesTable 37 Sales Line Unit Price
- 475validatesTable 37 Sales Line Unit Price
- 480callsTable 4 Currency VATRoundingDirection
- 482writesTable 37 Sales Line Modify
- 486callsFillRemainingAmountLineFields
- 488validatesTable 37 Sales Line Unit Price
- 490validatesTable 37 Sales Line Unit Price
- 495callsTable 4 Currency VATRoundingDirection
- 497writesTable 37 Sales Line Modify
CreateRoundingLine line 524, local
- 530callsGetLastLineNo
- 532callsTable 37 Sales Line SetHideValidationDialog
- 533validatesTable 37 Sales Line Document Type
- 534validatesTable 37 Sales Line Document No.
- 535validatesTable 37 Sales Line Line No.
- 536writesTable 37 Sales Line Insert(true)
- 538validatesTable 37 Sales Line Type
- 540validatesTable 37 Sales Line No.
- 541validatesTable 37 Sales Line Quantity
- 542validatesTable 37 Sales Line Unit Price
- 542callsGetRoundingAmountFromTransactions
- 543validatesTable 37 Sales Line Description
- 544writesTable 37 Sales Line Modify
MapPaymentMethodCode line 549, local
- 566validatesTable 36 Sales Header Payment Method Code