Codeunit 18090674 EOS041 Document Handling
Codeunit 18090674 EOS041 Document Handling
Methods
GetDocumentLines
Obsolete
Pending: Pending removal use new procedure GetDocumentLinesV2 instead (23.0)procedure GetDocumentLines(Document: Interface "EOS041 IDocumentHandler"; var JnlLine: Record "EOS041 CDW Journal Line")
Parameters / Return Value
Document
Interface "EOS041 IDocumentHandler"
JnlLine
Record "EOS041 CDW Journal Line"
GetDocumentLinesV2
procedure GetDocumentLinesV2(Document: Interface "EOS041 IDocumentHandler v2"; var JnlLine: Record "EOS041 CDW Journal Line")
Parameters / Return Value
Document
Interface "EOS041 IDocumentHandler v2"
JnlLine
Record "EOS041 CDW Journal Line"
AddDocumentLinesToJnl
procedure AddDocumentLinesToJnl(var TmpDocLineBuffer: Record "EOS041 CDW Journal Line"; var CdwJnlLine: Record "EOS041 CDW Journal Line")
Parameters / Return Value
TmpDocLineBuffer
Record "EOS041 CDW Journal Line"
CdwJnlLine
Record "EOS041 CDW Journal Line"
AddDocumentLinesToJnl
procedure AddDocumentLinesToJnl(var TmpDocLineBuffer: Record "EOS041 CDW Journal Line"; var CdwJnlLine: Record "EOS041 CDW Journal Line"; ReasonCode: Code[10])
Parameters / Return Value
TmpDocLineBuffer
Record "EOS041 CDW Journal Line"
CdwJnlLine
Record "EOS041 CDW Journal Line"
ReasonCode
Code[10]
CloseAllDocumentLines
Obsolete
Pending: Pending removal use new procedure CloseAllDocumentLinesV2 instead (23.0)procedure CloseAllDocumentLines(Handler: Interface "EOS041 IDocumentHandler"; DocumentNo: Code[20])
Parameters / Return Value
Handler
Interface "EOS041 IDocumentHandler"
DocumentNo
Code[20]
CloseAllDocumentLinesV2
procedure CloseAllDocumentLinesV2(Handler: Interface "EOS041 IDocumentHandler v2"; DocumentNo: Code[20])
Parameters / Return Value
Handler
Interface "EOS041 IDocumentHandler v2"
DocumentNo
Code[20]
CollectItemEntries
procedure CollectItemEntries(DocVariant: Variant; ItemShptEntryNo: Integer; var Entries: List of [Integer])
Parameters / Return Value
DocVariant
Variant
ItemShptEntryNo
Integer
Entries
List[Integer]
Events
OnBeforeGetCWSNoFromEX006CWS
local procedure OnBeforeGetCWSNoFromEX006CWS(TempDocumentLine: Record "EOS041 CDW Journal Line" temporary; var Handled: Boolean; var EX006CWSno: Code[20])
Event raised before getting EX006CWSNo from TempDocumentLine. Used to manage custom shipements that extends CWS too.
Parameters / Return Value
TempDocumentLine
Record "EOS041 CDW Journal Line"
Temporary Record “EOS041 CDW Journal Line”, it’s used for read some data.
Handled
Boolean
VAR Boolean, it’s used for enable the modify.
EX006CWSno
Code[20]
VAR Code[20], it’s used for specify the CWS Number that we want considerate.
OnBeforeInsertTempDocumentLine
local procedure OnBeforeInsertTempDocumentLine(var TempDocumentLine: Record "EOS041 CDW Journal Line" temporary; IsGroupLine: Boolean; var Handled: Boolean)
Raised before a line is inserted to the temporary buffer for selecting the document lines.
Parameters / Return Value
TempDocumentLine
Record "EOS041 CDW Journal Line"
The document line to be inserted.
IsGroupLine
Boolean
True if the line is a group line.
Handled
Boolean
Gets or sets if the event is handled.
OnAddDocumentLinesToJnlOnBeforeInsert
local procedure OnAddDocumentLinesToJnlOnBeforeInsert(var CdwJnlLine: Record "EOS041 CDW Journal Line")
Raised when copying a document line to the CDW journal, before writing the record in the database.
Parameters / Return Value
CdwJnlLine
Record "EOS041 CDW Journal Line"
Record “EOS041 CDW Journal 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.