Codeunit 18123320 EOS047 OVR Test Library

Codeunit 18123320 EOS047 OVR Test Library

Methods

RegisterWhseActivity

procedure RegisterWhseActivity(WhseActHeader: Record "Warehouse Activity Header")

Parameters / Return Value

  • WhseActHeader Record "Warehouse Activity Header"

EnableOverQtyOnBlanketOrder

procedure EnableOverQtyOnBlanketOrder()

EnableOverdeliverySales

procedure EnableOverdeliverySales(var OvrSetup: Record "EOS047 Setup Line"; CustomerNo: Code[20]; ItemNo: Code[20]; TolType: Integer; TolValue: Decimal)

Parameters / Return Value

  • OvrSetup Record "EOS047 Setup Line"

  • CustomerNo Code[20]

  • ItemNo Code[20]

  • TolType Integer

  • TolValue Decimal


EnableOverdelivery

procedure EnableOverdelivery(SalesLine: Record "Sales Line"; TolType: Integer; TolValue: Decimal)

Parameters / Return Value

  • SalesLine Record "Sales Line"

  • TolType Integer

  • TolValue Decimal


EnableOverdelivery

procedure EnableOverdelivery(var OvrSetupLine: Record "EOS047 Setup Line"; SalesLine: Record "Sales Line"; TolType: Integer; TolValue: Decimal)

Parameters / Return Value

  • OvrSetupLine Record "EOS047 Setup Line"

  • SalesLine Record "Sales Line"

  • TolType Integer

  • TolValue Decimal


EnableOverdeliveryPurch

procedure EnableOverdeliveryPurch(var OvrSetup: Record "EOS047 Setup Line"; VendorNo: Code[20]; ItemNo: Code[20]; TolType: Integer; TolValue: Decimal)

Parameters / Return Value

  • OvrSetup Record "EOS047 Setup Line"

  • VendorNo Code[20]

  • ItemNo Code[20]

  • TolType Integer

  • TolValue Decimal


EnableOverdelivery

procedure EnableOverdelivery(PurchaseLine: Record "Purchase Line"; TolType: Integer; TolValue: Decimal)

Parameters / Return Value

  • PurchaseLine Record "Purchase Line"

  • TolType Integer

  • TolValue Decimal


EnableOverdelivery

procedure EnableOverdelivery(var OvrSetupLine: Record "EOS047 Setup Line"; PurchaseLine: Record "Purchase Line"; TolType: Integer; TolValue: Decimal)

Parameters / Return Value

  • OvrSetupLine Record "EOS047 Setup Line"

  • PurchaseLine Record "Purchase Line"

  • TolType Integer

  • TolValue Decimal


EnableUnderdelivery

procedure EnableUnderdelivery(SalesLine: Record "Sales Line"; TolType: Integer; TolValue: Decimal)

Parameters / Return Value

  • SalesLine Record "Sales Line"

  • TolType Integer

  • TolValue Decimal


EnableUnderdelivery

procedure EnableUnderdelivery(var OvrSetupLine: Record "EOS047 Setup Line"; SalesLine: Record "Sales Line"; TolType: Integer; TolValue: Decimal)

Parameters / Return Value

  • OvrSetupLine Record "EOS047 Setup Line"

  • SalesLine Record "Sales Line"

  • TolType Integer

  • TolValue Decimal


EnableUnderdelivery

procedure EnableUnderdelivery(PurchaseLine: Record "Purchase Line"; TolType: Integer; TolValue: Decimal)

Parameters / Return Value

  • PurchaseLine Record "Purchase Line"

  • TolType Integer

  • TolValue Decimal


EnableUnderdelivery

procedure EnableUnderdelivery(var OvrSetupLine: Record "EOS047 Setup Line"; PurchaseLine: Record "Purchase Line"; TolType: Integer; TolValue: Decimal)

Parameters / Return Value

  • OvrSetupLine Record "EOS047 Setup Line"

  • PurchaseLine Record "Purchase Line"

  • TolType Integer

  • TolValue Decimal


EnableOverdeliveryTransfer

procedure EnableOverdeliveryTransfer(var OvrSetup: Record "EOS047 Setup Line"; LocationCode: Code[10]; ItemNo: Code[20]; TolType: Integer; TolValue: Decimal)

Parameters / Return Value

  • OvrSetup Record "EOS047 Setup Line"

  • LocationCode Code[10]

  • ItemNo Code[20]

  • TolType Integer

  • TolValue Decimal


EnableOverdelivery

procedure EnableOverdelivery(TransferLine: Record "Transfer Line"; TolType: Integer; TolValue: Decimal)

Parameters / Return Value

  • TransferLine Record "Transfer Line"

  • TolType Integer

  • TolValue Decimal


EnableOverdelivery

procedure EnableOverdelivery(var OvrSetupLine: Record "EOS047 Setup Line"; TransferLine: Record "Transfer Line"; TolType: Integer; TolValue: Decimal)

Parameters / Return Value

  • OvrSetupLine Record "EOS047 Setup Line"

  • TransferLine Record "Transfer Line"

  • TolType Integer

  • TolValue Decimal


ClearSetup

procedure ClearSetup()

InitSetup

procedure InitSetup(var OVRSetup: Record "EOS047 Setup Line"; SourceType: Option; SourceNo: Code[20])

Parameters / Return Value

  • OVRSetup Record "EOS047 Setup Line"

  • SourceType Option

  • SourceNo Code[20]


InitSetup

procedure InitSetup(var OVRSetup: Record "EOS047 Setup Line"; SourceType: Option; SourceNo: Code[20]; Item: Record Item)

Parameters / Return Value

  • OVRSetup Record "EOS047 Setup Line"

  • SourceType Option

  • SourceNo Code[20]

  • Item Record "Item"


CreateLotTrackedItem

procedure CreateLotTrackedItem(var Item: Record Item)

Parameters / Return Value

  • Item Record "Item"

PrepareSetupForCase

procedure PrepareSetupForCase(var OVRSetup: Record "EOS047 Setup Line"; Type: Integer; Direction: Integer; CaseNo: Integer; var Qty: Decimal; var QtyToPost: Decimal; var ExpectedErrorMsg: Text)

Parameters / Return Value

  • OVRSetup Record "EOS047 Setup Line"

  • Type Integer

  • Direction Integer

  • CaseNo Integer

  • Qty Decimal

  • QtyToPost Decimal

  • ExpectedErrorMsg Text


PrepareSetupForCase

procedure PrepareSetupForCase(var OVRSetup: Record "EOS047 Setup Line"; Type: Integer; Direction: Integer; CaseNo: Enum "EOS047 OVR Test Cases"; var Qty: Decimal; var QtyToPost: Decimal; var ExpectedErrorMsg: Text)

Parameters / Return Value

  • OVRSetup Record "EOS047 Setup Line"

  • Type Integer

  • Direction Integer

  • CaseNo Enum "EOS047 OVR Test Cases"

  • Qty Decimal

  • QtyToPost Decimal

  • ExpectedErrorMsg Text


VerifyOverdelivery

procedure VerifyOverdelivery(SalesHeader: Record "Sales Header")

Parameters / Return Value

  • SalesHeader Record "Sales Header"

PostLotNo

procedure PostLotNo(ItemNo: Code[20]; LocationCode: Code[10]; Qty: Decimal): Code[20]

Parameters / Return Value

  • ItemNo Code[20]

  • LocationCode Code[10]

  • Qty Decimal

  • Returns Code[20]


PostLotNo

procedure PostLotNo(ItemNo: Code[20]; LocationCode: Code[10]; BinCode: Code[20]; Qty: Decimal): Code[20]

Parameters / Return Value

  • ItemNo Code[20]

  • LocationCode Code[10]

  • BinCode Code[20]

  • Qty Decimal

  • Returns Code[20]


AssertLastErrorContains

procedure AssertLastErrorContains(ExpectedText: Text)

Parameters / Return Value

  • ExpectedText Text

PostItemInventory

procedure PostItemInventory(TempItemJnlLine: Record "Item Journal Line")

Parameters / Return Value

  • TempItemJnlLine Record "Item Journal Line"

MultiplyQtyToHandleByFactor

procedure MultiplyQtyToHandleByFactor(var SalesLine: Record "Sales Line"; Factor: Decimal)

Parameters / Return Value

  • SalesLine Record "Sales Line"

  • Factor Decimal


MultiplyQtyToHandleByFactor

procedure MultiplyQtyToHandleByFactor(var PurchLine: Record "Purchase Line"; Factor: Decimal)

Parameters / Return Value

  • PurchLine Record "Purchase Line"

  • Factor Decimal


MultiplyQtyToHandleByFactor

procedure MultiplyQtyToHandleByFactor(var TransferLine: Record "Transfer Line"; Factor: Decimal)

Parameters / Return Value

  • TransferLine Record "Transfer Line"

  • Factor Decimal


CreateWhseShipment

procedure CreateWhseShipment(var SalesHeader: Record "Sales Header"; var WhseShptHeader: Record "Warehouse Shipment Header")

Parameters / Return Value

  • SalesHeader Record "Sales Header"

  • WhseShptHeader Record "Warehouse Shipment Header"


CreateWhseShipment

procedure CreateWhseShipment(var TransferHeader: Record "Transfer Header"; var WhseShptHeader: Record "Warehouse Shipment Header")

Parameters / Return Value

  • TransferHeader Record "Transfer Header"

  • WhseShptHeader Record "Warehouse Shipment Header"


CreateWhseReceipt

procedure CreateWhseReceipt(var PurchHeader: Record "Purchase Header"; var WhseRcptHeader: Record "Warehouse Receipt Header")

Parameters / Return Value

  • PurchHeader Record "Purchase Header"

  • WhseRcptHeader Record "Warehouse Receipt Header"


CreateAssemblyBom

procedure CreateAssemblyBom(ParentItem: Record Item; NoOfComponents: Integer)

Parameters / Return Value

  • ParentItem Record "Item"

  • NoOfComponents Integer


SetAnyInstance

procedure SetAnyInstance(var NewAny: Codeunit Any)

Parameters / Return Value

  • NewAny Codeunit "Any"

PostPosAdjustments

procedure PostPosAdjustments(SalesHeader: Record "Sales Header"; var Any: Codeunit Any; Factor: Decimal)

Parameters / Return Value

  • SalesHeader Record "Sales Header"

  • Any Codeunit "Any"

  • Factor Decimal


PostPosAdjustments

procedure PostPosAdjustments(var TempItemJnlLine: Record "Item Journal Line"; SalesHeader: Record "Sales Header"; var Any: Codeunit Any; Factor: Decimal)

Parameters / Return Value

  • TempItemJnlLine Record "Item Journal Line"

  • SalesHeader Record "Sales Header"

  • Any Codeunit "Any"

  • Factor Decimal


PostPosAdjustments

procedure PostPosAdjustments(AsmHeader: Record "Assembly Header"; var Any: Codeunit Any; Factor: Decimal)

Parameters / Return Value

  • AsmHeader Record "Assembly Header"

  • Any Codeunit "Any"

  • Factor Decimal


PostPosAdjustments

procedure PostPosAdjustments(var TempItemJnlLine: Record "Item Journal Line"; AsmHeader: Record "Assembly Header"; var Any: Codeunit Any; Factor: Decimal)

Parameters / Return Value

  • TempItemJnlLine Record "Item Journal Line"

  • AsmHeader Record "Assembly Header"

  • Any Codeunit "Any"

  • Factor Decimal


CreatePick

procedure CreatePick(WhseShptHeader: Record "Warehouse Shipment Header"; var WhseActHeader: Record "Warehouse Activity Header")

Parameters / Return Value

  • WhseShptHeader Record "Warehouse Shipment Header"

  • WhseActHeader Record "Warehouse Activity Header"



EOS Labs -