Codeunit 70491918 EOS055.01 Test Library
Codeunit 70491918 EOS055.01 Test Library
Methods
IntializeGlobalSetup
procedure IntializeGlobalSetup()
EnsureInvtPostSetup
procedure EnsureInvtPostSetup(ItemNo: Code[20]; LocationCode: Code[10])
Parameters / Return Value
ItemNo
Code[20]
LocationCode
Code[10]
EnsureInvtPostSetup
procedure EnsureInvtPostSetup(HandlingUnit: Record "EOS055 Handling Unit"; ReqLocationCode: Code[10])
Parameters / Return Value
HandlingUnit
Record "EOS055 Handling Unit"
ReqLocationCode
Code[10]
CreateHandlingUnitPool
procedure CreateHandlingUnitPool(var TempHu: Record "EOS055 Handling Unit"; LocationCode: Code[10]; PostItemEntry: Boolean)
Parameters / Return Value
TempHu
Record "EOS055 Handling Unit"
LocationCode
Code[10]
PostItemEntry
Boolean
CreateHandlingUnitPool
procedure CreateHandlingUnitPool(var TempHu: Record "EOS055 Handling Unit"; LocationCode: Code[10]; BinCode: Code[20]; PostItemEntry: Boolean)
Parameters / Return Value
TempHu
Record "EOS055 Handling Unit"
LocationCode
Code[10]
BinCode
Code[20]
PostItemEntry
Boolean
CreateItemPool
procedure CreateItemPool()
GetRandomPickBin
procedure GetRandomPickBin(var Bin: Record Bin; LocationCode: Code[10])
Parameters / Return Value
Bin
Record "Bin"
LocationCode
Code[10]
GetRandomPickBin
procedure GetRandomPickBin(var Bin: Record Bin; LocationCode: Code[10]; var Any: Codeunit Any)
Parameters / Return Value
Bin
Record "Bin"
LocationCode
Code[10]
Any
Codeunit "Any"
GetRandomItemFromPool
procedure GetRandomItemFromPool(var Item: Record Item; var Any: Codeunit Any)
Parameters / Return Value
Item
Record "Item"
Any
Codeunit "Any"
GetRandomItemFromPool
procedure GetRandomItemFromPool(var Item: Record Item)
Parameters / Return Value
- Item
Record "Item"
CreateNoSeries
procedure CreateNoSeries(): Code[20]
Parameters / Return Value
- Returns
Code[20]
CreateHuType
procedure CreateHuType(var HuType: Record "EOS055 Handling Unit Type")
Parameters / Return Value
- HuType
Record "EOS055 Handling Unit Type"
CreateHuType
procedure CreateHuType(var HuType: Record "EOS055 Handling Unit Type"; "Type": Enum "EOS055.01 Handling Unit Type")
Parameters / Return Value
HuType
Record "EOS055 Handling Unit Type"
Type
Enum "EOS055.01 Handling Unit Type"
CreatePM
procedure CreatePM(var PM: Record "EOS055 Packaging Material"; HuTypeCode: Code[10])
Parameters / Return Value
PM
Record "EOS055 Packaging Material"
HuTypeCode
Code[10]
PostContent
procedure PostContent(var HuBuffer: Record "EOS055 Handling Unit Buffer")
Parameters / Return Value
- HuBuffer
Record "EOS055 Handling Unit Buffer"
MultiplyContents
procedure MultiplyContents(var TempHuContent: Record "EOS055 Handling Unit Buffer"; Factor: Decimal)
Parameters / Return Value
TempHuContent
Record "EOS055 Handling Unit Buffer"
Factor
Decimal
PostContentToHandlingUnit
procedure PostContentToHandlingUnit(var HuBuffer: Record "EOS055 Handling Unit Buffer"; PostItemEntry: Boolean)
Parameters / Return Value
HuBuffer
Record "EOS055 Handling Unit Buffer"
PostItemEntry
Boolean
PostContentToHandlingUnit
procedure PostContentToHandlingUnit(var HuBuffer: Record "EOS055 Handling Unit Buffer"; ProdOrderLine: Record "Prod. Order Line")
Parameters / Return Value
HuBuffer
Record "EOS055 Handling Unit Buffer"
ProdOrderLine
Record "Prod. Order Line"
PostContentToHandlingUnit
procedure PostContentToHandlingUnit(var Hu: Record "EOS055 Handling Unit";ItemNo: Code[20]; VariantCode: Code[10];LocationCode: Code[10]; BinCode: Code[20];LotNo: Code[50]; SerialNo: Code[50]; ExpirationDate: Date;Qty: Decimal; PostItemEntry: Boolean)
Parameters / Return Value
Hu
Record "EOS055 Handling Unit"
ItemNo
Code[20]
VariantCode
Code[10]
LocationCode
Code[10]
BinCode
Code[20]
LotNo
Code[50]
SerialNo
Code[50]
ExpirationDate
Date
Qty
Decimal
PostItemEntry
Boolean
PostContentToHandlingUnit
procedure PostContentToHandlingUnit(var Hu: Record "EOS055 Handling Unit"; var HuBuffer: Record "EOS055 Handling Unit Buffer"; PostItemEntry: Boolean)
Parameters / Return Value
Hu
Record "EOS055 Handling Unit"
HuBuffer
Record "EOS055 Handling Unit Buffer"
PostItemEntry
Boolean
PostContentToHandlingUnit
procedure PostContentToHandlingUnit(var Hu: Record "EOS055 Handling Unit"; var HuBuffer: Record "EOS055 Handling Unit Buffer"; ProdOrderLine: Record "Prod. Order Line"; PostItemEntry: Boolean)
Parameters / Return Value
Hu
Record "EOS055 Handling Unit"
HuBuffer
Record "EOS055 Handling Unit Buffer"
ProdOrderLine
Record "Prod. Order Line"
PostItemEntry
Boolean
PostWhseJnlLine
procedure PostWhseJnlLine(HuBuffer: Record "EOS055 Handling Unit Buffer")
Parameters / Return Value
- HuBuffer
Record "EOS055 Handling Unit Buffer"
PostItemJnlLine
procedure PostItemJnlLine(HuBuffer: Record "EOS055 Handling Unit Buffer")
Parameters / Return Value
- HuBuffer
Record "EOS055 Handling Unit Buffer"
PostItemJnlLine
procedure PostItemJnlLine(HuBuffer: Record "EOS055 Handling Unit Buffer"; ProdOrderLine: Record "Prod. Order Line")
Parameters / Return Value
HuBuffer
Record "EOS055 Handling Unit Buffer"
ProdOrderLine
Record "Prod. Order Line"
CreatePurchDocForSingleHu
procedure CreatePurchDocForSingleHu(var PurchHeader: Record "Purchase Header"; DocType: Enum "Purchase Document Type"; HuNo: Code[20]; QtyFactor: Decimal)
Parameters / Return Value
PurchHeader
Record "Purchase Header"
DocType
Enum "Purchase Document Type"
HuNo
Code[20]
QtyFactor
Decimal
CreatePurchDocForAllHUs
procedure CreatePurchDocForAllHUs(var PurchHeader: Record "Purchase Header"; DocType: Enum "Purchase Document Type"; var Hu: Record "EOS055 Handling Unit"; QtyFactor: Decimal)
Parameters / Return Value
PurchHeader
Record "Purchase Header"
DocType
Enum "Purchase Document Type"
Hu
Record "EOS055 Handling Unit"
QtyFactor
Decimal
CreateSalesDocForSingleHu
procedure CreateSalesDocForSingleHu(var SalesHeader: Record "Sales Header"; SalesDocType: Enum "Sales Document Type"; HuNo: Code[20]; QtyFactor: Decimal)
Parameters / Return Value
SalesHeader
Record "Sales Header"
SalesDocType
Enum "Sales Document Type"
HuNo
Code[20]
QtyFactor
Decimal
CreateSalesDocForAllHUs
procedure CreateSalesDocForAllHUs(var SalesHeader: Record "Sales Header"; DocType: Enum "Sales Document Type"; var Hu: Record "EOS055 Handling Unit"; QtyFactor: Decimal)
Parameters / Return Value
SalesHeader
Record "Sales Header"
DocType
Enum "Sales Document Type"
Hu
Record "EOS055 Handling Unit"
QtyFactor
Decimal
CreateHu
procedure CreateHu(var Hu: Record "EOS055 Handling Unit"; HuTypeCode: Code[10])
Parameters / Return Value
Hu
Record "EOS055 Handling Unit"
HuTypeCode
Code[10]
CreateHuWithContent
procedure CreateHuWithContent(var Hu: Record "EOS055 Handling Unit"; HuTypeCode: Code[10]; LocationCode: Code[10]; PostItemEntry: Boolean)
Parameters / Return Value
Hu
Record "EOS055 Handling Unit"
HuTypeCode
Code[10]
LocationCode
Code[10]
PostItemEntry
Boolean
CreateHuWithContent
procedure CreateHuWithContent(var Hu: Record "EOS055 Handling Unit"; HuTypeCode: Code[10]; LocationCode: Code[10]; BinCode: Code[20]; PostItemEntry: Boolean)
Parameters / Return Value
Hu
Record "EOS055 Handling Unit"
HuTypeCode
Code[10]
LocationCode
Code[10]
BinCode
Code[20]
PostItemEntry
Boolean
CreateHuWithContent
procedure CreateHuWithContent(var Hu: Record "EOS055 Handling Unit"; LocationCode: Code[10]; PostItemEntry: Boolean)
Parameters / Return Value
Hu
Record "EOS055 Handling Unit"
LocationCode
Code[10]
PostItemEntry
Boolean
CreateRandomContents
procedure CreateRandomContents(var TempHuContent: Record "EOS055 Handling Unit Buffer"; LocationCode: Code[10])
Parameters / Return Value
TempHuContent
Record "EOS055 Handling Unit Buffer"
LocationCode
Code[10]
CreateRandomContents
procedure CreateRandomContents(var TempHuContent: Record "EOS055 Handling Unit Buffer"; LocationCode: Code[10]; BinCode: Code[20])
Parameters / Return Value
TempHuContent
Record "EOS055 Handling Unit Buffer"
LocationCode
Code[10]
BinCode
Code[20]
GetNonBaseItemUoM
procedure GetNonBaseItemUoM(ItemNo: Code[20]): Code[10]
Parameters / Return Value
ItemNo
Code[20]
Returns
Code[10]
CreateWhseShpt
procedure CreateWhseShpt(var WhseShptHeader: Record "Warehouse Shipment Header"; DocVariant: Variant): Code[20]
Parameters / Return Value
WhseShptHeader
Record "Warehouse Shipment Header"
DocVariant
Variant
Returns
Code[20]
CreateWhsePick
procedure CreateWhsePick(var WhseActHeader: Record "Warehouse Activity Header"; var WhseShptHeader: Record "Warehouse Shipment Header")
Parameters / Return Value
WhseActHeader
Record "Warehouse Activity Header"
WhseShptHeader
Record "Warehouse Shipment Header"
CreateWhseRcpt
procedure CreateWhseRcpt(var WhseRcptHeader: Record "Warehouse Receipt Header"; DocVariant: Variant): Code[20]
Parameters / Return Value
WhseRcptHeader
Record "Warehouse Receipt Header"
DocVariant
Variant
Returns
Code[20]
CreateWhseShptAndPick
procedure CreateWhseShptAndPick(DocVariant: Variant): Code[20]
Parameters / Return Value
DocVariant
Variant
Returns
Code[20]
SumItems
procedure SumItems(var Hu: Record "EOS055 Handling Unit"; var Content: Record "EOS055 Handling Unit Buffer")
Parameters / Return Value
Hu
Record "EOS055 Handling Unit"
Content
Record "EOS055 Handling Unit Buffer"
AssignQtyToHandleAndTracking
procedure AssignQtyToHandleAndTracking(WhseActHeader: Record "Warehouse Activity Header"; QtyFactor: Decimal)
Parameters / Return Value
WhseActHeader
Record "Warehouse Activity Header"
QtyFactor
Decimal
SetHandlingUnitPolicy
procedure SetHandlingUnitPolicy(LocationCode: Code[10]; NewHandlingUnitPolicy: Enum "EOS055.01 Handling Unit Policy")
Parameters / Return Value
LocationCode
Code[10]
NewHandlingUnitPolicy
Enum "EOS055.01 Handling Unit Policy"
SetHandlingUnitPolicy
procedure SetHandlingUnitPolicy(var Bin: Record Bin; NewHandlingUnitPolicy: Enum "EOS055.01 Handling Unit Policy")
Parameters / Return Value
Bin
Record "Bin"
NewHandlingUnitPolicy
Enum "EOS055.01 Handling Unit Policy"
CompareContents
procedure CompareContents(var TempBuffer1: Record "EOS055 Handling Unit Buffer" temporary;var TempBuffer2: Record "EOS055 Handling Unit Buffer" temporary)
Parameters / Return Value
TempBuffer1
Record "EOS055 Handling Unit Buffer"
TempBuffer2
Record "EOS055 Handling Unit Buffer"
CheckAssignedQty
procedure CheckAssignedQty(WhseShptHeader: Record "Warehouse Shipment Header"; PickedQty: Boolean)
Parameters / Return Value
WhseShptHeader
Record "Warehouse Shipment Header"
PickedQty
Boolean
CheckAssignedQty
procedure CheckAssignedQty(WhseRcptHeader: Record "Warehouse Receipt Header")
Parameters / Return Value
- WhseRcptHeader
Record "Warehouse Receipt Header"
CreateSalesHeaderFromHuBuffer
procedure CreateSalesHeaderFromHuBuffer(var SalesHeader: Record "Sales Header"; DocumentType: Integer; var TempItemBuffer: Record "EOS055 Handling Unit Buffer" temporary)
Parameters / Return Value
SalesHeader
Record "Sales Header"
DocumentType
Integer
TempItemBuffer
Record "EOS055 Handling Unit Buffer"
CreatePurchHeaderFromHuBuffer
procedure CreatePurchHeaderFromHuBuffer(var PurchHeader: Record "Purchase Header"; DocumentType: Integer; var TempItemBuffer: Record "EOS055 Handling Unit Buffer" temporary; CreateItemTracking: Boolean)
Parameters / Return Value
PurchHeader
Record "Purchase Header"
DocumentType
Integer
TempItemBuffer
Record "EOS055 Handling Unit Buffer"
CreateItemTracking
Boolean
EnablePostingErrors
procedure EnablePostingErrors()
CreatePackMaterial
procedure CreatePackMaterial("Type": Enum "EOS055.01 Handling Unit Type"): Code[20]
Parameters / Return Value
Type
Enum "EOS055.01 Handling Unit Type"
Returns
Code[20]
CreatePackMaterial
procedure CreatePackMaterial(var PackMaterial: Record "EOS055 Packaging Material"; "Type": Enum "EOS055.01 Handling Unit Type")
Parameters / Return Value
PackMaterial
Record "EOS055 Packaging Material"
Type
Enum "EOS055.01 Handling Unit Type"
CreatePackInstrForCustomer
procedure CreatePackInstrForCustomer(var PackInstruction: Record "EOS055 Packaging Instruction"; ItemNo: Code[20]; CustomerNo: Code[20])
Parameters / Return Value
PackInstruction
Record "EOS055 Packaging Instruction"
ItemNo
Code[20]
CustomerNo
Code[20]
CreateItemTrackingLines
procedure CreateItemTrackingLines(Doc: Variant; AssignedBuffer: Record "EOS055 Handling Unit Buffer")
Parameters / Return Value
Doc
Variant
AssignedBuffer
Record "EOS055 Handling Unit Buffer"
CreateContainerJournal
procedure CreateContainerJournal(var ContainerJnlBatch: Record "EOS029 Container Jnl. Batch")
Parameters / Return Value
- ContainerJnlBatch
Record "EOS029 Container Jnl. Batch"
CreateContainerJnlLine
procedure CreateContainerJnlLine(var ContainerJnlLine: Record "EOS029 Container Jnl. Line"; ContainerJnlBatch: Record "EOS029 Container Jnl. Batch";PmNo: Code[20])
Parameters / Return Value
ContainerJnlLine
Record "EOS029 Container Jnl. Line"
ContainerJnlBatch
Record "EOS029 Container Jnl. Batch"
PmNo
Code[20]
SetMultiDocumentAssignment
procedure SetMultiDocumentAssignment(isEnabled: Boolean)
Parameters / Return Value
- isEnabled
Boolean
VerifyUndoIntegrity
procedure VerifyUndoIntegrity(PostedDocumentLine: Variant; HuNo: Code[20]; var TempExpectedContent: Record "EOS055 Handling Unit Buffer")
Parameters / Return Value
PostedDocumentLine
Variant
HuNo
Code[20]
TempExpectedContent
Record "EOS055 Handling Unit Buffer"
SumHandlingUnitContentExcludingLine
procedure SumHandlingUnitContentExcludingLine(HuNo: Code[20]; PostedDocumentLine: Variant; var TempHuBuffer: Record "EOS055 Handling Unit Buffer")
Parameters / Return Value
HuNo
Code[20]
PostedDocumentLine
Variant
TempHuBuffer
Record "EOS055 Handling Unit Buffer"
ConfigureSubcontractingOnItem
procedure ConfigureSubcontractingOnItem(var Item: Record Item; CompItemNo: Code[20]; WorkCenterNo: Code[20]; CompItemQty: Decimal)
Parameters / Return Value
Item
Record "Item"
CompItemNo
Code[20]
WorkCenterNo
Code[20]
CompItemQty
Decimal
CreateSubcontractingWorkCenter
procedure CreateSubcontractingWorkCenter(var WorkCenter: Record "Work Center")
Parameters / Return Value
- WorkCenter
Record "Work Center"
CalculateSubcontractingOrders
procedure CalculateSubcontractingOrders(WorkCenter: Record "Work Center")
Parameters / Return Value
- WorkCenter
Record "Work Center"
CreateSubcontractPurchOrder
procedure CreateSubcontractPurchOrder(var PurchHeader: Record "Purchase Header"; LocationCode: Code[10])
Parameters / Return Value
PurchHeader
Record "Purchase Header"
LocationCode
Code[10]
FindPutAway
procedure FindPutAway(var WhseActHeader: Record "Warehouse Activity Header"; WhseRcptHeader: Record "Warehouse Receipt Header")
Parameters / Return Value
WhseActHeader
Record "Warehouse Activity Header"
WhseRcptHeader
Record "Warehouse Receipt Header"
CreateBinMandatoryLocation
procedure CreateBinMandatoryLocation(var Location: Record Location)
Parameters / Return Value
- Location
Record "Location"
CreateBinMandatoryLocationWithPick
procedure CreateBinMandatoryLocationWithPick(var Location: Record Location)
Parameters / Return Value
- Location
Record "Location"
PrepareTransferItemJnlBatch
procedure PrepareTransferItemJnlBatch(var ItemJnlBatch: Record "Item Journal Batch")
Parameters / Return Value
- ItemJnlBatch
Record "Item Journal Batch"
PostItemJnlBatch
procedure PostItemJnlBatch(ItemJnlBatch: Record "Item Journal Batch")
Parameters / Return Value
- ItemJnlBatch
Record "Item Journal Batch"
GetRandomBinCode
procedure GetRandomBinCode(LocationCode: Code[10]; var Any: Codeunit Any): Code[20]
Parameters / Return Value
LocationCode
Code[10]
Any
Codeunit "Any"
Returns
Code[20]
GetRandomBin
procedure GetRandomBin(var Bin: Record Bin; LocationCode: Code[10]; var Any: Codeunit Any)
Parameters / Return Value
Bin
Record "Bin"
LocationCode
Code[10]
Any
Codeunit "Any"
GetRandomBin
procedure GetRandomBin(var Bin: Record Bin; LocationCode: Code[10]; ZoneCode: Code[10]; var Any: Codeunit Any)
Parameters / Return Value
Bin
Record "Bin"
LocationCode
Code[10]
ZoneCode
Code[10]
Any
Codeunit "Any"
CreateLotTrackedItem
procedure CreateLotTrackedItem(var Item: Record Item)
Parameters / Return Value
- Item
Record "Item"
CalcRegenPlanForItems
procedure CalcRegenPlanForItems(var TempItem: Record Item temporary; EndDate: Date)
Parameters / Return Value
TempItem
Record "Item"
EndDate
Date
CreateEmptyPlanningWorksheet
procedure CreateEmptyPlanningWorksheet(var ReqWkshName: Record "Requisition Wksh. Name")
Parameters / Return Value
- ReqWkshName
Record "Requisition Wksh. Name"
CreateIntMovementForHu
procedure CreateIntMovementForHu(var WhseActHeader: Record "Warehouse Activity Header"; Hu: Record "EOS055 Handling Unit"; ToBinCode: Code[20])
Parameters / Return Value
WhseActHeader
Record "Warehouse Activity Header"
Hu
Record "EOS055 Handling Unit"
ToBinCode
Code[20]
CreateMultiLevelHU
procedure CreateMultiLevelHU(var ParentHu: Record "EOS055 Handling Unit"; LocationCode: Code[10]; NoOfChildHUs: Integer)
Parameters / Return Value
ParentHu
Record "EOS055 Handling Unit"
LocationCode
Code[10]
NoOfChildHUs
Integer
CreateTransferOrderForAllHUs
procedure CreateTransferOrderForAllHUs(var TransHeader: Record "Transfer Header"; var Hu: Record "EOS055 Handling Unit"; FromCode: Code[10]; InTransitCode: Code[10]; ToCode: Code[10])
Parameters / Return Value
TransHeader
Record "Transfer Header"
Hu
Record "EOS055 Handling Unit"
FromCode
Code[10]
InTransitCode
Code[10]
ToCode
Code[10]
CreateTransferOrderForSingleHU
procedure CreateTransferOrderForSingleHU(var TransHeader: Record "Transfer Header"; Hu: Record "EOS055 Handling Unit"; FromCode: Code[10]; InTransitCode: Code[10]; ToCode: Code[10])
Parameters / Return Value
TransHeader
Record "Transfer Header"
Hu
Record "EOS055 Handling Unit"
FromCode
Code[10]
InTransitCode
Code[10]
ToCode
Code[10]
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.