Codeunit 70491903 EOS055 Packaging Calc. - V16
Codeunit 70491903 EOS055 Packaging Calc. - V16
Methods
FindPackagingInstruction
procedure FindPackagingInstruction(SourceDoc: Variant; var PackagingInstruction: Record "EOS055 Packaging Instruction"): Boolean
Parameters / Return Value
SourceDoc
Variant
PackagingInstruction
Record "EOS055 Packaging Instruction"
Returns
Boolean
CollectPackagingInstructions
procedure CollectPackagingInstructions(SourceDoc: Variant; var TempPackagingInstruction: Record "EOS055 Packaging Instruction")
Parameters / Return Value
SourceDoc
Variant
TempPackagingInstruction
Record "EOS055 Packaging Instruction"
Events
OnCollectPackagingInstructionsForDocument
local procedure OnCollectPackagingInstructionsForDocument(SourceDoc: Variant; var TempPackagingInstruction: Record "EOS055 Packaging Instruction"; var Handled: Boolean)
Raised when packaging instructions are collected for a document that is not handled by default. Documents handled by default are sales, purchase and transfer lines.
Parameters / Return Value
SourceDoc
Variant
The document to collect packaging instructions for.
TempPackagingInstruction
Record "EOS055 Packaging Instruction"
The buffer used to return the found packaging instructions.
Handled
Boolean
Gets or sets that the event was correctly handled.
OnAfterCollectPackagingInstructions
local procedure OnAfterCollectPackagingInstructions(SourceDoc: Variant; var TempPackagingInstruction: Record "EOS055 Packaging Instruction")
Raised after packaging instructions for a given source document have been collected. Use this to modify the buffer contents.
Parameters / Return Value
SourceDoc
Variant
The source document line.
TempPackagingInstruction
Record "EOS055 Packaging Instruction"
A buffer containing all found packaging instructions for the given source document.
OnBeforeCollectPackagingInstructions
local procedure OnBeforeCollectPackagingInstructions(SourceDoc: Variant; var TempPackagingInstruction: Record "EOS055 Packaging Instruction"; var Handled: Boolean)
Raised before packaging instructions are collected for a given source document line. Use this to override default behaviour.
Parameters / Return Value
SourceDoc
Variant
The source document.
TempPackagingInstruction
Record "EOS055 Packaging Instruction"
The buffer containing the resulting packaging instructions.
Handled
Boolean
Gets or sets that the event was correctly handled.
OnAfterSetSalesFilter
local procedure OnAfterSetSalesFilter(var PackagingInstruction: Record "EOS055 Packaging Instruction";SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line")
Parameters / Return Value
PackagingInstruction
Record "EOS055 Packaging Instruction"
SalesHeader
Record "Sales Header"
SalesLine
Record "Sales Line"
OnAfterSetPurchaseFilter
local procedure OnAfterSetPurchaseFilter(var PackagingInstruction: Record "EOS055 Packaging Instruction";PurchHeader: Record "Purchase Header"; PurchLine: Record "Purchase Line")
Parameters / Return Value
PackagingInstruction
Record "EOS055 Packaging Instruction"
PurchHeader
Record "Purchase Header"
PurchLine
Record "Purchase Line"
OnAfterSetTransferFilter
local procedure OnAfterSetTransferFilter(var PackagingInstruction: Record "EOS055 Packaging Instruction";TransferHeader: Record "Transfer Header"; TransferLine: Record "Transfer Line")
Parameters / Return Value
PackagingInstruction
Record "EOS055 Packaging Instruction"
TransferHeader
Record "Transfer Header"
TransferLine
Record "Transfer Line"
OnAfterSetServiceFilter
local procedure OnAfterSetServiceFilter(var PackagingInstruction: Record "EOS055 Packaging Instruction";ServiceHeader: Record "Service Header"; ServiceLine: Record "Service Line")
Parameters / Return Value
PackagingInstruction
Record "EOS055 Packaging Instruction"
ServiceHeader
Record "Service Header"
ServiceLine
Record "Service 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.