Codeunit WSB_PRPPublic¶
Exposes additional event publishers and procedures next to the event publishers that are available from the public objects.
Properties¶
Name | Value |
---|---|
Access | Public |
Methods¶
wgEvpOnAfterSalesLineSkipIfPickCannotBeCreated¶
Event is raised when running the 'Create Warehouse Shipments for Sales Orders' report. With this you can skip the creation of a Whse. Shipment Line when creating a Whse. Pick / inventory pick.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Sales Line" |
vRecSalesLine |
|
Enum "Warehouse Activity Type" |
pActivityType |
Enum of type "Warehouse Activity Type" |
Enum "WSB_PRPWhseShptInvtAvailable" |
pWhseShptInvtAvailable |
Enum of type "WSB_PRPWhseShptInvtAvailable" |
Decimal |
pQtyAvailableToPick |
The calculated qty. available to pick |
Boolean |
vIsHandled |
If true the line will not be created. |
wgEvpOnBeforeConfirmCreateInventPickNoFiltersAreSet¶
Event is raised before the confirmation dialog is shown when running report Create Inventory Pick and no filters are set.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Sales Header" |
pRecSalesHeader |
Record to check if filters are applied |
Record "Sales Line" |
pRecSalesLine |
Record to check if filters are applied |
Boolean |
vShowConfirm |
Boolean to set if the dialog should be shown |
wgEvpOnBeforeConfirmCreateWhseShptNoFiltersAreSet¶
Event is raised before the confirmation dialog is shown when running report Create Warehouse Shipment and no filters are set.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Sales Header" |
pRecSalesHeader |
Record to check if filters are applied |
Record "Sales Line" |
pRecSalesLine |
Record to check if filters are applied |
Enum "Sales Header Shipping Advice" |
pShippingAdvice |
Shipping Advice that is set for this run |
Boolean |
vShowConfirm |
Boolean to set if the dialog should be shown |
wgEvpOnBeforeConfirmPostPurch¶
Event is raised before the parameters are set.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Purchase Header" |
vRecPurchHeader |
|
Boolean |
vHideDialog |
|
Integer |
vDefaultOption |
|
Boolean |
pPrintPostedDoc |
|
Boolean |
vIsHandled |
wgEvpOnBeforeConfirmPostSales¶
Event is raised before the parameters are set.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Sales Header" |
vRecSalesHeader |
|
Boolean |
vHideDialog |
|
Integer |
vDefaultOption |
|
Boolean |
pPrintPostedDoc |
|
Boolean |
vIsHandled |
wgEvpOnBeforeConfirmPostService¶
Event is raised before the parameters are set.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Service Header" |
vRecServHeader |
|
Boolean |
vHideDialog |
|
Boolean |
vShip |
|
Boolean |
vConsume |
|
Boolean |
vInvoice |
|
Boolean |
vIsHandled |
wgEvpOnBeforeCreatePickDocs¶
Event is raised before Warehouse Picks are created and after Warehouse Shipments are created
Parameters¶
Type | Name | Description |
---|---|---|
Record "Warehouse Shipment Header" temporary |
vRecTempWhseShptHeader |
Temporary recordset of created Warehouse Shipments |
Boolean |
vIsHandled |
Boolean to set if the code after this event will be executed |
wgEvpOnBeforePurchReplaceDates¶
Event is raised before the dates are replaced.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Purchase Header" |
vRecPurchaseHeader |
|
Boolean |
vIsHandled |
wgEvpOnBeforeSalesLineSkipIfPickCannotBeCreated¶
Event is raised when running the 'Create Warehouse Shipments for Sales Orders' report. With this you can skip the creation of a Whse. Shipment Line when creating a Whse. Pick / inventory pick.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Sales Line" |
vRecSalesLine |
|
Enum "Warehouse Activity Type" |
pActivityType |
Enum of type "Warehouse Activity Type" |
Enum "WSB_PRPWhseShptInvtAvailable" |
pWhseShptInvtAvailable |
Enum of type "WSB_PRPWhseShptInvtAvailable" |
Boolean |
vIsHandled |
If true the line will not be created. |
Boolean |
vResultIsHandled |
If true the rest of the code in procedure will be skipped |
wgEvpOnBeforeSalesReplaceDates¶
Event is raised before the dates are replaced.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Sales Header" |
vRecSalesHeader |
|
Boolean |
vIsHandled |
wgEvpOnBeforeServiceReplaceDates¶
Event is raised before the dates are replaced.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Service Header" |
vRecServiceHeader |
|
Boolean |
vIsHandled |
wgEvpOnBeforeTransferReplaceDates¶
Event is raised before the dates are replaced.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Transfer Header" |
vRecTransferHeader |
The transfer header record where the Posting Date is to be replaced. |
Boolean |
vIsHandled |
Boolean to set if the code after this event should be executed. |