Codeunit 18122511 EOS001 DTI Sales Handler
Codeunit 18122511 EOS001 DTI Sales Handler
Methods
InvoiceSalesShptLine
procedure InvoiceSalesShptLine(SalesShptLine: Record "Sales Shipment Line"; QtyToInvoice: Decimal)
Posts all DTI-related entries for an invoiced sales shipment line. Use this if the line was invoiced without an invoicing document.
In this case all invoice-related fields will be taken from the sales shipment line.
Remember to call PostAll
on Codeunit EOS001 DTI Settlement
afterwards to post any pending settlement entries that might have been created.
Parameters / Return Value
SalesShptLine
Record "Sales Shipment Line"
The sales shipment line being invoiced.
QtyToInvoice
Decimal
The quantity being invoiced.
InvoiceSalesShptLine
procedure InvoiceSalesShptLine(SalesShptLine: Record "Sales Shipment Line"; SalesInvLine: Record "Sales Invoice Line"; QtyToInvoice: Decimal)
Post all DTI-related entries for an invoiced sales shipment line.
Remember to call PostAll
on Codeunit EOS001 DTI Settlement
afterwards to post any pending settlement entries that might have been created.
Parameters / Return Value
SalesShptLine
Record "Sales Shipment Line"
The sales shipment line being invoiced.
SalesInvLine
Record "Sales Invoice Line"
The sales invoice line.
QtyToInvoice
Decimal
The quantity being invoiced.
InvoiceReturnRcptLine
procedure InvoiceReturnRcptLine(ReturnRcptLine: Record "Return Receipt Line"; QtyToInvoice: Decimal)
Posts all DTI-related entries for an invoiced return receipt line. Use this if the line was invoiced without an invoicing document.
In this case all invoice-related fields will be taken from the return receipt line.
Remember to call PostAll
on Codeunit EOS001 DTI Settlement
afterwards to post any pending settlement entries that might have been created.
Parameters / Return Value
ReturnRcptLine
Record "Return Receipt Line"
The return receipt line being invoiced.
QtyToInvoice
Decimal
The quantity being invoiced.
InvoiceReturnRcptLine
procedure InvoiceReturnRcptLine(ReturnRcptLine: Record "Return Receipt Line"; SalesCrMemoLine: Record "Sales Cr.Memo Line"; QtyToInvoice: Decimal)
Post all DTI-related entries for an invoiced return receipt line.
Remember to call PostAll
on Codeunit EOS001 DTI Settlement
afterwards to post any pending settlement entries that might have been created.
Parameters / Return Value
ReturnRcptLine
Record "Return Receipt Line"
The sales credit memo line.
SalesCrMemoLine
Record "Sales Cr.Memo Line"
QtyToInvoice
Decimal
The quantity being invoiced.
Events
OnBeforeCollectSalesShptLines
local procedure OnBeforeCollectSalesShptLines(SalesLine: Record "Sales Line"; var TmpSalesShptLine: Record "Sales Shipment Line"; var IsHandled: Boolean)
Parameters / Return Value
SalesLine
Record "Sales Line"
TmpSalesShptLine
Record "Sales Shipment Line"
IsHandled
Boolean
OnBeforeCollectReturnRcptLines
local procedure OnBeforeCollectReturnRcptLines(SalesLine: Record "Sales Line"; var TmpReturRcptLine: Record "Return Receipt Line"; var IsHandled: Boolean)
Parameters / Return Value
SalesLine
Record "Sales Line"
TmpReturRcptLine
Record "Return Receipt Line"
IsHandled
Boolean
OnAfterCollectSalesShptLines
local procedure OnAfterCollectSalesShptLines(SalesLine: Record "Sales Line"; var TmpSalesShptLine: Record "Sales Shipment Line")
Parameters / Return Value
SalesLine
Record "Sales Line"
TmpSalesShptLine
Record "Sales Shipment Line"
OnAfterInvoiceSalesShptLine
local procedure OnAfterInvoiceSalesShptLine(DocInvEntry: Record "EOS001 DTI Entry"; SalesShptLine: Record "Sales Shipment Line"; SalesInvLine: Record "Sales Invoice Line")
Parameters / Return Value
DocInvEntry
Record "EOS001 DTI Entry"
SalesShptLine
Record "Sales Shipment Line"
SalesInvLine
Record "Sales Invoice Line"
OnAfterCollectReturnRcptLines
local procedure OnAfterCollectReturnRcptLines(SalesLine: Record "Sales Line"; var TmpReturRcptLine: Record "Return Receipt Line")
Parameters / Return Value
SalesLine
Record "Sales Line"
TmpReturRcptLine
Record "Return Receipt Line"
OnAfterInvoiceReturnRcptLine
local procedure OnAfterInvoiceReturnRcptLine(DocInvEntry: Record "EOS001 DTI Entry"; ReturnRcptLine: Record "Return Receipt Line"; SalesCrMemoLine: Record "Sales Cr.Memo Line")
Parameters / Return Value
DocInvEntry
Record "EOS001 DTI Entry"
ReturnRcptLine
Record "Return Receipt Line"
SalesCrMemoLine
Record "Sales Cr.Memo Line"
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.