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¶
wgEvpOnAfterPerformEnvironmentCopyActions¶
Event is raised after running the Productivity Package Environment Copy Actions.
Parameters¶
Type | Name | Description |
---|---|---|
Option |
pDestinationEnvironmentType |
Option that specifies te destination environment type. |
Text |
pDestinationEnvironmentName |
The destination environment name." |
Boolean |
pIsDataPerCompany |
Boolean that specifies whether the call is for datapercompany tables or not." |
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 |
The sales line a warehouse shipment line is created for. |
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 |
The Purchase Header. |
Boolean |
vHideDialog |
Boolean whether or not hide the default dialog. |
Integer |
vDefaultOption |
The default dialog option. |
Boolean |
pPrintPostedDoc |
Boolean whether or not to print the posted document. |
Boolean |
vIsHandled |
If true the line will not be created. |
wgEvpOnBeforeConfirmPostSales¶
Event is raised before the parameters are set.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Sales Header" |
vRecSalesHeader |
The Sales Header record. |
Boolean |
vHideDialog |
Boolean whether or not hide the default dialog. |
Integer |
vDefaultOption |
The default dialog option. |
Boolean |
pPrintPostedDoc |
Boolean whether or not to print the posted document. |
Boolean |
vIsHandled |
If true the customized post confirmation will be skipped. |
wgEvpOnBeforeConfirmPostService¶
Event is raised before the parameters are set.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Service Header" |
vRecServHeader |
The Service Header record. |
Boolean |
vHideDialog |
Boolean whether or not hide the default dialog. |
Boolean |
vShip |
Boolean whether or not post shipment. |
Boolean |
vConsume |
Boolean whether or not post consumption. |
Boolean |
vInvoice |
Boolean whether or not post invoice. |
Boolean |
vIsHandled |
If true the customized post confirmation will be skipped. |
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 |
If true the customized post confirmation will be skipped. |
wgEvpOnBeforePerformEnvironmentCopyActions¶
Event is raised before running the Productivity Package Environment Copy Actions.
Parameters¶
Type | Name | Description |
---|---|---|
Option |
pDestinationEnvironmentType |
Option that specifies te destination environment type. |
Text |
pDestinationEnvironmentName |
The destination environment name." |
Boolean |
pIsDataPerCompany |
Boolean that specifies whether the call is for datapercompany tables or not." |
wgEvpOnBeforePurchReplaceDates¶
Event is raised before the posting date is replaced.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Purchase Header" |
vRecPurchaseHeader |
The Purchase Header record. |
Boolean |
vIsHandled |
If true the pick document creation will be skipped. |
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 |
The Sales Line record. |
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 posting date is replaced.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Sales Header" |
vRecSalesHeader |
The Sales Header record. |
Boolean |
vIsHandled |
If true the date replacement will be skipped. |
wgEvpOnBeforeServiceReplaceDates¶
Event is raised before the posting date is replaced.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Service Header" |
vRecServiceHeader |
The Service Header record. |
Boolean |
vIsHandled |
If true the date replacement will be skipped. |
wgEvpOnBeforeTransferReplaceDates¶
Event is raised before the posting date is replaced.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Transfer Header" |
vRecTransferHeader |
The Transfer Header record where the Posting Date is to be replaced. |
Boolean |
vIsHandled |
If true the date replacement will be skipped. |