Codeunit 18006546 EOS Quality Functions

Codeunit 18006546 EOS Quality Functions

Methods

AddToTmpInspOrder

procedure AddToTmpInspOrder(InspOrderNo: Code[20])

Parameters / Return Value

  • InspOrderNo Code[20]

InspectionQtyAvailable

procedure InspectionQtyAvailable(ItemLedgEntry: Record "Item Ledger Entry"): Boolean

Parameters / Return Value

  • ItemLedgEntry Record "Item Ledger Entry"

  • Returns Boolean


CreateFinalInspection

procedure CreateFinalInspection(ItemJnlLine: Record "Item Journal Line"; GlobalItemLedgEntry: Record "Item Ledger Entry")

Parameters / Return Value

  • ItemJnlLine Record "Item Journal Line"

  • GlobalItemLedgEntry Record "Item Ledger Entry"


CreateInProgressInspection

procedure CreateInProgressInspection(ItemJnlLine: Record "Item Journal Line")

Parameters / Return Value

  • ItemJnlLine Record "Item Journal Line"

ConvertQty

procedure ConvertQty(Qty: Decimal; PerUoMQty: Decimal): Decimal

Parameters / Return Value

  • Qty Decimal

  • PerUoMQty Decimal

  • Returns Decimal


CalcBlockedQty

procedure CalcBlockedQty(VAR SalesLine: Record "Sales Line"): Decimal

Parameters / Return Value

  • SalesLine Record "Sales Line"

  • Returns Decimal


UpdatePutAwayAfterWhseReceivePost

procedure UpdatePutAwayAfterWhseReceivePost(var WarehouseReceiptHeader: Record "Warehouse Receipt Header"; var CounterPutAways: Integer)

Parameters / Return Value

  • WarehouseReceiptHeader Record "Warehouse Receipt Header"

  • CounterPutAways Integer


UpdatePutAwayAfterInspectionRelease

procedure UpdatePutAwayAfterInspectionRelease(var Rec: Record "EOS Inspection Order Header")

Parameters / Return Value

  • Rec Record "EOS Inspection Order Header"

UpdateWarehouseActivityAfterCreation

procedure UpdateWarehouseActivityAfterCreation(WhseActivHeader: Record "Warehouse Activity Header")

Parameters / Return Value

  • WhseActivHeader Record "Warehouse Activity Header"

CheckWarehouseActivityLineBeforePost

procedure CheckWarehouseActivityLineBeforePost(var WarehouseActivityLine: Record "Warehouse Activity Line")

Parameters / Return Value

  • WarehouseActivityLine Record "Warehouse Activity Line"

UpdatePostedWhseReceiptLineAfterWhseActivityPost

procedure UpdatePostedWhseReceiptLineAfterWhseActivityPost(var PostedWhseReceiptLine: Record "Posted Whse. Receipt Line"; WarehouseActivityLine: Record "Warehouse Activity Line")

Parameters / Return Value

  • PostedWhseReceiptLine Record "Posted Whse. Receipt Line"

  • WarehouseActivityLine Record "Warehouse Activity Line"


UpdateInspectionOrderAfterWarehouseActivityLineDeletion

procedure UpdateInspectionOrderAfterWarehouseActivityLineDeletion(var Rec: Record "Warehouse Activity Line"; RunTrigger: Boolean)

Parameters / Return Value

  • Rec Record "Warehouse Activity Line"

  • RunTrigger Boolean


GetWhseActivityCurrentQuantities

procedure GetWhseActivityCurrentQuantities(WarehouseActivityLine: Record "Warehouse Activity Line"; var InspectionQuantity: Decimal; var ComplianceQuantity: Decimal; var BlockedQuantity: Decimal)

Parameters / Return Value

  • WarehouseActivityLine Record "Warehouse Activity Line"

  • InspectionQuantity Decimal

  • ComplianceQuantity Decimal

  • BlockedQuantity Decimal


Events

OnBeforeGetWhseActivityCurrentQuantities

local procedure OnBeforeGetWhseActivityCurrentQuantities(WarehouseActivityLine: Record "Warehouse Activity Line"; var InspectionQuantity: Decimal; var ComplianceQuantity: Decimal; var BlockedQuantity: Decimal; var IsHandled: Boolean)

Raised before set the Inspection Quantity page fields on Warehouse Activity Line. Use it to modify Quantity parameters.

Parameters / Return Value

  • WarehouseActivityLine Record "Warehouse Activity Line"

    Current Warehouse Activity Line

  • InspectionQuantity Decimal

    Total Quantity of Inspection Order, linked to the Warehouse Activity Line

  • ComplianceQuantity Decimal

    Compliance Quantity of Inspection Order, linked to the Warehouse Activity Line

  • BlockedQuantity Decimal

    Blocked Quantity of Inspection Order, linked to the Warehouse Activity Line

  • IsHandled Boolean

    if true, no following app code will be executed


OnBeforeModifyInspOrderOnCreateInProgressInspection

local procedure OnBeforeModifyInspOrderOnCreateInProgressInspection(ItemJnlLine: Record "Item Journal Line"; InspMatrixSetup: Record "EOS Inspection Matrix Setup"; InspOrderHeader: Record "EOS Inspection Order Header"; var InspectionOrderNo: Code[20]; var IsHandled: Boolean)

Raised before modify an existing Inspection Order in Progress.

Parameters / Return Value

  • ItemJnlLine Record "Item Journal Line"

    Current item journal line

  • InspMatrixSetup Record "EOS Inspection Matrix Setup"

    Current inspection matrix setup

  • InspOrderHeader Record "EOS Inspection Order Header"

    Existing inspection order header

  • InspectionOrderNo Code[20]

    Inspection order number possibly created

  • IsHandled Boolean

    If true, skip the inspection order modification



EOS Labs -