Codeunit 18060054 EOS089 WMS Test Library

Codeunit 18060054 EOS089 WMS Test Library

Methods

InitWMSSetup

procedure InitWMSSetup(LocationCode: Code[10]; ScanMode: Enum "EOS089 WMS Scan Mode"; SyncPickingWhseShipment: Boolean)

Parameters / Return Value

  • LocationCode Code[10]

  • ScanMode Enum "EOS089 WMS Scan Mode"

  • SyncPickingWhseShipment Boolean


CreateNoSeries

procedure CreateNoSeries(): Code[20]

Parameters / Return Value

  • Returns Code[20]

CreateWMSUser

procedure CreateWMSUser(LocationCode: Code[10]; ActivityTypes: List of [Enum "EOS089 WMS Activity Type"]; var WMSUser: Record "EOS089 WMS User")

Parameters / Return Value

  • LocationCode Code[10]

  • ActivityTypes List[Enum]

  • WMSUser Record "EOS089 WMS User"


CreateNoWarehouseLocation

procedure CreateNoWarehouseLocation(): Code[10]

Parameters / Return Value

  • Returns Code[10]

CreateFullWarehouseLocation

procedure CreateFullWarehouseLocation(MaxBins: Integer): Code[10]

Parameters / Return Value

  • MaxBins Integer

  • Returns Code[10]


CreateFullWarehouseLocation

procedure CreateFullWarehouseLocation(MaxBins: Integer; var Location: Record Location; var StockBins: List of [Code[20]])

Parameters / Return Value

  • MaxBins Integer

  • Location Record "Location"

  • StockBins List[Code]


CreateItem

procedure CreateItem(TrackingType: Enum "EOS089 WMS Tracking Type"; LotNosCode: Code[20]; SerialNosCode: Code[20]; UnitOfMeasureCode: Code[10]; var Item: Record Item)

Parameters / Return Value

  • TrackingType Enum "EOS089 WMS Tracking Type"

  • LotNosCode Code[20]

  • SerialNosCode Code[20]

  • UnitOfMeasureCode Code[10]

  • Item Record "Item"


CreateItem

procedure CreateItem(TrackingType: Enum "EOS089 WMS Tracking Type"; LotNosCode: Code[20]; SerialNosCode: Code[20]): Code[20]

Parameters / Return Value

  • TrackingType Enum "EOS089 WMS Tracking Type"

  • LotNosCode Code[20]

  • SerialNosCode Code[20]

  • Returns Code[20]


CreateItem

procedure CreateItem(TrackingType: Enum "EOS089 WMS Tracking Type"; LotNosCode: Code[20]; SerialNosCode: Code[20]; var Item: Record Item)

Parameters / Return Value

  • TrackingType Enum "EOS089 WMS Tracking Type"

  • LotNosCode Code[20]

  • SerialNosCode Code[20]

  • Item Record "Item"


CreateItem

procedure CreateItem(TrackingType: Enum "EOS089 WMS Tracking Type"; LotNosCode: Code[20]; SerialNosCode: Code[20]; UnitOfMeasureCode: Code[10]): Code[20]

Parameters / Return Value

  • TrackingType Enum "EOS089 WMS Tracking Type"

  • LotNosCode Code[20]

  • SerialNosCode Code[20]

  • UnitOfMeasureCode Code[10]

  • Returns Code[20]


CreateItemVariants

procedure CreateItemVariants(ItemNo: Code[20]; MaxVariants: Integer; var VariantCodes: List of [Code[10]])

Parameters / Return Value

  • ItemNo Code[20]

  • MaxVariants Integer

  • VariantCodes List[Code]


CreatePurchaseLine

procedure CreatePurchaseLine(PurchaseHeader: Record "Purchase Header"; ItemNo: Code[20]; VariantCode: Code[10]; LocationCode: Code[10]; Quantity: Decimal)

Parameters / Return Value

  • PurchaseHeader Record "Purchase Header"

  • ItemNo Code[20]

  • VariantCode Code[10]

  • LocationCode Code[10]

  • Quantity Decimal


CreatePurchaseLine

procedure CreatePurchaseLine(PurchaseHeader: Record "Purchase Header"; ItemNo: Code[20]; VariantCode: Code[10]; LocationCode: Code[10]; Quantity: Decimal; var PurchaseLine: Record "Purchase Line")

Parameters / Return Value

  • PurchaseHeader Record "Purchase Header"

  • ItemNo Code[20]

  • VariantCode Code[10]

  • LocationCode Code[10]

  • Quantity Decimal

  • PurchaseLine Record "Purchase Line"


CreateSalesLine

procedure CreateSalesLine(SalesHeader: Record "Sales Header"; ItemNo: Code[20]; VariantCode: Code[10]; LocationCode: Code[10]; Quantity: Decimal)

Parameters / Return Value

  • SalesHeader Record "Sales Header"

  • ItemNo Code[20]

  • VariantCode Code[10]

  • LocationCode Code[10]

  • Quantity Decimal


CreateSalesLine

procedure CreateSalesLine(SalesHeader: Record "Sales Header"; ItemNo: Code[20]; VariantCode: Code[10]; LocationCode: Code[10]; Quantity: Decimal; var SalesLine: Record "Sales Line")

Parameters / Return Value

  • SalesHeader Record "Sales Header"

  • ItemNo Code[20]

  • VariantCode Code[10]

  • LocationCode Code[10]

  • Quantity Decimal

  • SalesLine Record "Sales Line"


CreateTransferLine

procedure CreateTransferLine(TransferHeader: Record "Transfer Header"; ItemNo: Code[20]; VariantCode: Code[10]; FromBinCode: Code[20]; ToBinCode: Code[20]; Quantity: Decimal)

Parameters / Return Value

  • TransferHeader Record "Transfer Header"

  • ItemNo Code[20]

  • VariantCode Code[10]

  • FromBinCode Code[20]

  • ToBinCode Code[20]

  • Quantity Decimal


CheckSourceScansAfterPost

procedure CheckSourceScansAfterPost(ActivityType: Enum "EOS089 WMS Activity Type"; SourceSubtypeAsInt: Integer; SourceId: Code[20]; JournalTemplateName: Code[10]; SourceBatchName: Code[10])

Parameters / Return Value

  • ActivityType Enum "EOS089 WMS Activity Type"

  • SourceSubtypeAsInt Integer

  • SourceId Code[20]

  • JournalTemplateName Code[10]

  • SourceBatchName Code[10]



EOS Labs -