Codeunit 70491912 EOS055 Packing List Management
Codeunit 70491912 EOS055 Packing List Management
Methods
GetDocAssignment
procedure GetDocAssignment(SourceType: Integer; SourceSubtype: Integer; SourceNo: Code[20];HuNo: Code[20];var TempSourceBuffer: Record "EOS055 Handling Unit Buffer" temporary)
Parameters / Return Value
SourceType
Integer
SourceSubtype
Integer
SourceNo
Code[20]
HuNo
Code[20]
TempSourceBuffer
Record "EOS055 Handling Unit Buffer"
SumUpTotals
procedure SumUpTotals(var TempSourceBuffer: Record "EOS055 Handling Unit Buffer" temporary;var NoOfLoadCarriers: Integer;var NoOfParcels: Integer;var NetWeight: Decimal;var GrossWeight: Decimal;var Volume: Decimal)
Parameters / Return Value
TempSourceBuffer
Record "EOS055 Handling Unit Buffer"
NoOfLoadCarriers
Integer
NoOfParcels
Integer
NetWeight
Decimal
GrossWeight
Decimal
Volume
Decimal
SumUpTotals
procedure SumUpTotals(var TempSourceBuffer: Record "EOS055 Handling Unit Buffer" temporary;var NoOfLoadCarriers: Integer;var NoOfParcels: Integer;var NetWeight: Decimal;var GrossWeight: Decimal;var Volume: Decimal;Preview: Boolean)
Parameters / Return Value
TempSourceBuffer
Record "EOS055 Handling Unit Buffer"
NoOfLoadCarriers
Integer
NoOfParcels
Integer
NetWeight
Decimal
GrossWeight
Decimal
Volume
Decimal
Preview
Boolean
CalcDocAssignments
procedure CalcDocAssignments(SourceType: Integer; SourceSubtype: Integer; SourceNo: Code[20]; SourceLineNo: Integer; SourceSublineNo: Integer;var TempHandlingUnitBuffer: Record "EOS055 Handling Unit Buffer" temporary)
Parameters / Return Value
SourceType
Integer
SourceSubtype
Integer
SourceNo
Code[20]
SourceLineNo
Integer
SourceSublineNo
Integer
TempHandlingUnitBuffer
Record "EOS055 Handling Unit Buffer"
CalcDocAssignments
procedure CalcDocAssignments(SourceType: Integer; SourceSubtype: Integer; SourceNo: Code[20]; SourceLineNo: Integer; SourceSublineNo: Integer;HuNo: Code[20];var TempHandlingUnitBuffer: Record "EOS055 Handling Unit Buffer" temporary)
Parameters / Return Value
SourceType
Integer
SourceSubtype
Integer
SourceNo
Code[20]
SourceLineNo
Integer
SourceSublineNo
Integer
HuNo
Code[20]
TempHandlingUnitBuffer
Record "EOS055 Handling Unit Buffer"
CancelAssignment
procedure CancelAssignment(HUBuffer: Record "EOS055 Handling Unit Buffer")
deletes all assignments related to the parameter, if it’s a parent then all assignments of all levels are canceld.
Parameters / Return Value
- HUBuffer
Record "EOS055 Handling Unit Buffer"
SuggestPackingListYesNo
procedure SuggestPackingListYesNo(SourceDoc: Variant; var TempHandlingUnitContentModify: Record "EOS055 Handling Unit Buffer" temporary)
Parameters / Return Value
SourceDoc
Variant
TempHandlingUnitContentModify
Record "EOS055 Handling Unit Buffer"
SuggestPackingListYesNo
procedure SuggestPackingListYesNo(SourceDoc: Variant; var TempSourceItem: Record "EOS055 Handling Unit Buffer" temporary; var TempHandlingUnitContentModify: Record "EOS055 Handling Unit Buffer" temporary)
Parameters / Return Value
SourceDoc
Variant
TempSourceItem
Record "EOS055 Handling Unit Buffer"
TempHandlingUnitContentModify
Record "EOS055 Handling Unit Buffer"
TestPackingListEmpty
procedure TestPackingListEmpty(SourceDoc: Variant)
Tests if a packing list is empty. If it is not, a runtime error is thrown. This is a TryFunction.
Parameters / Return Value
SourceDoc
Variant
The source document to check for.
CreatePackingList
procedure CreatePackingList(SourceDoc: Variant; var TempSourceItem: Record "EOS055 Handling Unit Buffer" temporary; var TempHandlingUnitContentModify: Record "EOS055 Handling Unit Buffer" temporary)
Parameters / Return Value
SourceDoc
Variant
TempSourceItem
Record "EOS055 Handling Unit Buffer"
TempHandlingUnitContentModify
Record "EOS055 Handling Unit Buffer"
GetLotNoInformation
procedure GetLotNoInformation(var LotNoInfo: Record "Lot No. Information"; ItemNo: Code[20]; VariantCode: Code[10]; LotNo: Code[50]): Boolean
Parameters / Return Value
LotNoInfo
Record "Lot No. Information"
ItemNo
Code[20]
VariantCode
Code[10]
LotNo
Code[50]
Returns
Boolean
GetLotNoInformation
procedure GetLotNoInformation(var LotNoInfo: Record "Lot No. Information"; ItemNo: Code[20]; VariantCode: Code[10]; LotNo: Code[50]; Create: Enum "EOS066 TriState Boolean"): Boolean
Parameters / Return Value
LotNoInfo
Record "Lot No. Information"
ItemNo
Code[20]
VariantCode
Code[10]
LotNo
Code[50]
Create
Enum "EOS066 TriState Boolean"
Returns
Boolean
GetSerialNoInformation
procedure GetSerialNoInformation(var SerialNoInfo: Record "Serial No. Information"; ItemNo: Code[20]; VariantCode: Code[10]; SerialNo: Code[50]): Boolean
Parameters / Return Value
SerialNoInfo
Record "Serial No. Information"
ItemNo
Code[20]
VariantCode
Code[10]
SerialNo
Code[50]
Returns
Boolean
GetSerialNoInformation
procedure GetSerialNoInformation(var SerialNoInfo: Record "Serial No. Information"; ItemNo: Code[20]; VariantCode: Code[10]; SerialNo: Code[50]; Create: Enum "EOS066 TriState Boolean"): Boolean
Parameters / Return Value
SerialNoInfo
Record "Serial No. Information"
ItemNo
Code[20]
VariantCode
Code[10]
SerialNo
Code[50]
Create
Enum "EOS066 TriState Boolean"
Returns
Boolean
IsRemoveAssignementAllowed
procedure IsRemoveAssignementAllowed(HUNo: Code[20]) IsAllowed: Boolean
Parameters / Return Value
HUNo
Code[20]
Returns
Boolean
IsRemoveContentAllowed
procedure IsRemoveContentAllowed(HUNo: Code[20]) IsAllowed: Boolean
Parameters / Return Value
HUNo
Code[20]
Returns
Boolean
Events
OnAfterInsertLotNoInformation
local procedure OnAfterInsertLotNoInformation(var LotNoInfo: Record "Lot No. Information")
Raised after a lot no. information record has been created.
Parameters / Return Value
LotNoInfo
Record "Lot No. Information"
The lot no. information that has been created.
OnAfterInsertSerialNoInformation
local procedure OnAfterInsertSerialNoInformation(var SerialNoInfo: Record "Serial No. Information")
Raised after a serial no. information record has been created.
Parameters / Return Value
SerialNoInfo
Record "Serial No. Information"
The serial no. information that has been created.
OnWeightCalculationFilters
local procedure OnWeightCalculationFilters(WeightCalculation: Enum "EOS055 Weight Calculation";var TempSourceBuffer: Record "EOS055 Handling Unit Buffer")
Raised when filtering TempSourceBuffer before doing the CalcSums for Net Weight, Gross Weight and Volume.
Parameters / Return Value
WeightCalculation
Enum "EOS055 Weight Calculation"
The enum value of the Weight Calculation setup.
TempSourceBuffer
Record "EOS055 Handling Unit Buffer"
The unfiltered TempSourceBuffer.
OnAfterSumUpTotals
local procedure OnAfterSumUpTotals(var TempSourceBuffer: Record "EOS055 Handling Unit Buffer";var NoOfLoadCarriers: Integer;var NoOfParcels: Integer;var NetWeight: Decimal;var GrossWeight: Decimal;var Volume: Decimal)
Raised after calculating the No. of Load Carriers, No. of Parcels, Total Net Weight, Total Gross Weight, and Total Volume.
Parameters / Return Value
TempSourceBuffer
Record "EOS055 Handling Unit Buffer"
The buffer.
NoOfLoadCarriers
Integer
Calculated no. of load carriers.
NoOfParcels
Integer
Calculated no. of parcels.
NetWeight
Decimal
Calculated total net weight.
GrossWeight
Decimal
Calculated total gross weight.
Volume
Decimal
Calculated total volume.
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.