Properties
| Property | Value |
| Object Type | Codeunit |
| Object Subtype | Normal |
| Object ID | 23044925 |
| Accessibility Level | Public |
Events
OnAfterFilterLookupCountSheets()
Called after filters have been applied to the count sheet records.
Syntax
OnAfterFilterLookupCountSheets(var precCountSheetConfig: Record "IWX Count Sheet Configuration", var pcodLocationCode: Code[10], var psFilter: Text)
Parameters
| Parameter | Type | Description |
| precCountSheetConfig | Record “IWX Count Sheet Configuration” | The count sheet records to filter. |
| pcodLocationCode | Code[10] | The location code to filter the records to. |
| psFilter | Text | The filter text supplied by the user. |
OnBeforeGetDocumentList()
Called prior to executing the document list event.
Syntax
OnBeforeGetDocumentList(var ptrecEventParams: Record "IWX Event Param" temporary, var pbsOutput: BigText, var pbHandled: Boolean)
Parameters
| Parameter | Type | Description |
| ptrecEventParams | Record “IWX Event Param” | The variables (key/value pairs) being supplied to the procedure. |
| pbsOutput | BigText | The output text to return back to the device. |
| pbHandled | Boolean | Set to true if the event has been handled. False if the base code should continue to execute. |
OnAfterGetDocumentList()
Called after the document list event has completed.
Syntax
OnAfterGetDocumentList(var ptrecEventParams: Record "IWX Event Param" temporary, var pbsOutput: BigText)
Parameters
| Parameter | Type | Description |
| ptrecEventParams | Record “IWX Event Param” | The variables (key/value pairs) being supplied to the procedure. |
| pbsOutput | BigText | The output text to return back to the device. |
OnBeforePostSheet()
Called prior to executing the post event.
Syntax
OnBeforePostSheet(var ptrecEventParams: Record "IWX Event Param" temporary, var pbsOutput: BigText, var pbHandled: Boolean)
Parameters
| Parameter | Type | Description |
| ptrecEventParams | Record “IWX Event Param” | The variables (key/value pairs) being supplied to the procedure. |
| pbsOutput | BigText | The output text to return back to the device. |
| pbHandled | Boolean |
Set to true if the event has been handled. False if the base code should continue to execute. |
OnAfterPostSheet()
Called after executing the post event.
Syntax
OnAfterPostSheet(var ptrecEventParams: Record "IWX Event Param" temporary, var pbsOutput: BigText)
Parameters
| Parameter | Type | Description |
| ptrecEventParams | Record “IWX Event Param” | The variables (key/value pairs) being supplied to the procedure. |
| pbsOutput | BigText | The output text to return back to the device. |
OnBeforeExecutePost()
Called before executing the post call.
Syntax
OnBeforeExecutePost(var precDeviceConfig: Record "WHI Device Configuration", var pcodCountNumber: Code[20], var pcodSheetName: Code[20], var pcodBatchName: Code[10], var pcodWhseBatchName: Code[10], var pbPostedWhse: Boolean, var pbPostedItem: Boolean, var pbHandled: Boolean)
Parameters
| Parameter | Type | Description |
| precDeviceConfig | Record “WHI Device Configuration” | The device configuration. |
| pcodCountNumber | Code[20] | The count number. |
| pcodSheetName | Code[20] | The sheet name. |
| pcodBatchName | Code[10] | The inventory batch to use. |
| pcodWhseBatchName | Code[10] | The warehouse inventory batch to use. |
| pbPostedWhse | Boolean | |
| pbPostedItem | Boolean | |
| pbHandled | Boolean | Set to true if the posting has been handled. False if the base code should continue to post. |
Still need help?
Ask other Business Central users in the Insight Works community, or send the details to the support team. Include the steps you took and any error message you saw.