Codeunit 18122512 EOS001 DTI Purch. Handler
Codeunit 18122512 EOS001 DTI Purch. Handler
Methods
InvoicePurchRcptLine
procedure InvoicePurchRcptLine(PurchRcptLine: Record "Purch. Rcpt. Line"; QtyToInvoice: Decimal)
Posts all DTI-related entries for an invoiced purchase 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 purchase 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
PurchRcptLine
Record "Purch. Rcpt. Line"
The purchase receipt line being invoiced.
QtyToInvoice
Decimal
The quantity being invoiced.
InvoicePurchRcptLine
procedure InvoicePurchRcptLine(PurchRcptLine: Record "Purch. Rcpt. Line"; PurchInvLine: Record "Purch. Inv. Line"; QtyToInvoice: Decimal)
Posts all DTI-related entries for an invoiced purchase 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
PurchRcptLine
Record "Purch. Rcpt. Line"
The purchase receipt line being invoiced.
PurchInvLine
Record "Purch. Inv. Line"
The purchase invoice line.
QtyToInvoice
Decimal
The quantity being invoiced.
InvoiceReturnShptLine
procedure InvoiceReturnShptLine(ReturnShptLine: Record "Return Shipment Line"; QtyToInvoice: Decimal)
Posts all DTI-related entries for an invoiced return 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 return 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
ReturnShptLine
Record "Return Shipment Line"
The return shipment line being invoiced.
QtyToInvoice
Decimal
The quantity being invoiced.
InvoiceReturnShptLine
procedure InvoiceReturnShptLine(ReturnShptLine: Record "Return Shipment Line"; PurchCrMemoLine: Record "Purch. Cr. Memo Line"; QtyToInvoice: Decimal)
Posts all DTI-related entries for an invoiced return 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
ReturnShptLine
Record "Return Shipment Line"
The return shipment line being invoiced.
PurchCrMemoLine
Record "Purch. Cr. Memo Line"
The purchase credit memo line.
QtyToInvoice
Decimal
The quantity being invoiced.
Events
OnBeforeCollectPurchRcptLines
local procedure OnBeforeCollectPurchRcptLines(PurchLine: Record "Purchase Line"; var TmpSalesShptLine: Record "Purch. Rcpt. Line"; var IsHandled: Boolean)
Parameters / Return Value
PurchLine
Record "Purchase Line"
TmpSalesShptLine
Record "Purch. Rcpt. Line"
IsHandled
Boolean
OnBeforeCollectReturnShptLines
local procedure OnBeforeCollectReturnShptLines(PurchLine: Record "Purchase Line"; var TmpReturnShptLine: Record "Return Shipment Line"; var IsHandled: Boolean)
Parameters / Return Value
PurchLine
Record "Purchase Line"
TmpReturnShptLine
Record "Return Shipment Line"
IsHandled
Boolean
OnAfterCollectPurchRcptLines
local procedure OnAfterCollectPurchRcptLines(PurchLine: Record "Purchase Line"; var TmpPurchRcptLine: Record "Purch. Rcpt. Line")
Parameters / Return Value
PurchLine
Record "Purchase Line"
TmpPurchRcptLine
Record "Purch. Rcpt. Line"
OnAfterCollectReturnShptLines
local procedure OnAfterCollectReturnShptLines(PurchLine: Record "Purchase Line"; var TmpReturnShptLine: Record "Return Shipment Line")
Parameters / Return Value
PurchLine
Record "Purchase Line"
TmpReturnShptLine
Record "Return Shipment Line"
OnAfterInvoicePurchRcptLine
local procedure OnAfterInvoicePurchRcptLine(DocInvEntry: Record "EOS001 DTI Entry"; ReturnRcptLine: Record "Purch. Rcpt. Line"; PurchInvLine: Record "Purch. Inv. Line")
Parameters / Return Value
DocInvEntry
Record "EOS001 DTI Entry"
ReturnRcptLine
Record "Purch. Rcpt. Line"
PurchInvLine
Record "Purch. Inv. Line"
OnAfterInvoiceReturnShptLine
local procedure OnAfterInvoiceReturnShptLine(DocInvEntry: Record "EOS001 DTI Entry"; ReturnShptLine: Record "Return Shipment Line"; PurchCrMemoLine: Record "Purch. Cr. Memo Line")
Parameters / Return Value
DocInvEntry
Record "EOS001 DTI Entry"
ReturnShptLine
Record "Return Shipment Line"
PurchCrMemoLine
Record "Purch. 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.