Codeunit 18123040 EOS Outb. EDoc. Hook Handler

Codeunit 18123040 EOS Outb. EDoc. Hook Handler

Gather all functions that handles specific hook code (i.e. GDO) specified in group setup

Methods

SetSalesInvoiceTmpBuffer

procedure SetSalesInvoiceTmpBuffer(var inTmpSalesHeader: Record "Sales Header" temporary; var inTmpShipHeader: Record "Sales Shipment Header" temporary)

Parameters / Return Value

  • inTmpSalesHeader Record "Sales Header"

  • inTmpShipHeader Record "Sales Shipment Header"


SetSalesCrMemoTmpBuffer

procedure SetSalesCrMemoTmpBuffer(var inReturnReceiptHeaderTMP: Record "Return Receipt Header" temporary)

Parameters / Return Value

  • inReturnReceiptHeaderTMP Record "Return Receipt Header"

SetServiceInvoiceTmpBuffer

procedure SetServiceInvoiceTmpBuffer(var inTmpServiceHeader: Record "Service Header" temporary; var inTmpServShipHeader: Record "Service Shipment Header" temporary)

Parameters / Return Value

  • inTmpServiceHeader Record "Service Header"

  • inTmpServShipHeader Record "Service Shipment Header"


AlwaysExportPEC

procedure AlwaysExportPEC(CustNo: Code[20]; header: RecordRef) RetValue: Boolean

Parameters / Return Value

  • CustNo Code[20]

  • header RecordRef

  • Returns Boolean


Events

OnBeforeCheckAmazonDocumentReasonSalesCrMemo

local procedure OnBeforeCheckAmazonDocumentReasonSalesCrMemo(header: RecordRef; var DocumentReason: Code[10]; var IsHandled: Boolean)

Raised during the General Data check for Amazon, before checking the Reason Code, while generating an electronic document for a Sales Cr.Memo for AMAZON

Parameters / Return Value

  • header RecordRef

    Document header

  • DocumentReason Code[10]

    Reason Code, if empty an error will be raised after the event

  • IsHandled Boolean

    if true, the error will be skipped



EOS Labs -