Codeunit 18122382 EOS CWS Receipt Mgmt

Codeunit 18122382 EOS CWS Receipt Mgmt

Methods

WhsePostRcpt

procedure WhsePostRcpt(var Rec: record "Warehouse Receipt Line"; PrintOption: Option None,Print,"Pr. Pos.")

Parameters / Return Value

  • Rec record "Warehouse Receipt Line"

  • PrintOption Option

    None (0) , Print (1) , "Pr. Pos." (2)


Events

OnBeforeConfirmWhseReceiptPost

local procedure OnBeforeConfirmWhseReceiptPost(var WhseReceiptLine: Record "Warehouse Receipt Line"; var HideDialog: Boolean; var IsPosted: Boolean; PrintOption: Option None,Print,"Pr. Pos.")

This event is raised before confirm post whse. receipt. You can use to manage a custom confirm dialog.

Parameters / Return Value

  • WhseReceiptLine Record "Warehouse Receipt Line"

    Whse. Receipt Line

  • HideDialog Boolean

    Set true to use your custom confirm dialog

  • IsPosted Boolean

    Set true to use your custom posting

  • PrintOption Option

    None (0) , Print (1) , "Pr. Pos." (2)

    Print Option


OnAfterConfirmPost

local procedure OnAfterConfirmPost(WhseReceiptLine: Record "Warehouse Receipt Line"; PrintOption: Option None,Print,"Pr. Pos.")

This event is raised after confirm post whse. receipt.

Parameters / Return Value

  • WhseReceiptLine Record "Warehouse Receipt Line"

    Whse. Receipt Line

  • PrintOption Option

    None (0) , Print (1) , "Pr. Pos." (2)

    Print Option


OnBeforeDeleteWarehouseReceiptLines

local procedure OnBeforeDeleteWarehouseReceiptLines(var WarehouseReceiptLine: Record "Warehouse Receipt Line"; var IsHandled: Boolean)

This event is raised before delete warehouse receipt line according to “Whse. Receipt Delete Policy” setup.

Parameters / Return Value

  • WarehouseReceiptLine Record "Warehouse Receipt Line"

    The warehouse receipt line to delete

  • IsHandled Boolean

    If true, doesn’t delete the line



EOS Labs -