Properties
| Property | Value |
| Object Type | Codeunit |
| Object Subtype | Normal |
| Object ID | 23044921 |
| Accessibility Level | Public |
Events
OnBeforeAddRemoveReclassTracking()
Called before modifying item reclass tracking information.
Syntax
OnBeforeAddRemoveReclassTracking(var precItemJournalLine: Record "Item Journal Line", var pcodSerialNumber: Code[50], var pcodLotNumber: Code[50], var pcodPackageNumber: Code[50], var pdtExpirationDate: Date, var pdChangeQty: Decimal, var pcodUOM: Code[10], var pbHandled: Boolean)
Parameters
| Parameter | Type | Description |
| precItemJournalLine | Record “Item Journal Line” | The item journal line. |
| pcodSerialNumber | Code[50] | The serial number. |
| pcodLotNumber | Code[50] | The lot number. |
| pcodPackageNumber | Code[50] | The package number. |
| pdtExpirationDate | Date | The expiration date. |
| pdChangeQty | Decimal | The item tracking quantity. |
| pcodUOM | Code[10] | The item tracking quantity unit of measure. |
| pbHandled | Boolean | Set to true if the procedure has been handled. False if the base code should continue to execute. |
OnAfterAddRemoveReclassTracking()
Called after modifying item reclass tracking information.
Syntax
OnAfterAddRemoveReclassTracking(var precItemJournalLine: Record "Item Journal Line", var pcodSerialNumber: Code[50], var pcodLotNumber: Code[50], var pcodPackageNumber: Code[50], var pdtExpirationDate: Date, var pdChangeQty: Decimal, var pcodUOM: Code[10])
Parameters
| Parameter | Type | Description |
| precItemJournalLine | Record “Item Journal Line” | The item journal line. |
| pcodSerialNumber | Code[50] | The serial number. |
| pcodLotNumber | Code[50] | The lot number. |
| pcodPackageNumber | Code[50] | The package number. |
| pdtExpirationDate | Date | The expiration date. |
| pdChangeQty | Decimal | The item tracking quantity. |
| pcodUOM | Code[10] | The item tracking quantity unit of measure. |
OnBeforeAddRemoveWhseReclassTracking()
Called before modifying warehouse item reclass tracking information.
Syntax
OnBeforeAddRemoveWhseReclassTracking(var precWhseJournalLine: Record "Warehouse Journal Line", var pcodSerialNumber: Code[50], var pcodLotNumber: Code[50], var pcodPackageNumber: Code[50], var pdtExpirationDate: Date, var pdChangeQtyInWhseUOM: Decimal, var pbHandled: Boolean)
Parameters
| Parameter | Type | Description |
| precItemJournalLine | Record “Item Journal Line” | The item journal line. |
| pcodSerialNumber | Code[50] | The serial number. |
| pcodLotNumber | Code[50] | The lot number. |
| pcodPackageNumber | Code[50] | The package number. |
| pdtExpirationDate | Date | The expiration date. |
| pdChangeQtyInWhseUOM | Decimal | The item tracking quantity. |
| pbHandled | Boolean | Set to true if the procedure has been handled. False if the base code should continue to execute. |
OnAfterAddRemoveWhseReclassTracking()
Called after modifying warehouse item reclass tracking information.
Syntax
OnAfterAddRemoveWhseReclassTracking(var precWhseJournalLine: Record "Warehouse Journal Line", var precWhseItemTrackingLine: Record "Whse. Item Tracking Line", var pcodSerialNumber: Code[50], var pcodLotNumber: Code[50], var pcodPackageNumber: Code[50], var pdtExpirationDate: Date, var pdChangeQtyInWhseUOM: Decimal)
Parameters
| Parameter | Type | Description |
| precItemJournalLine | Record “Item Journal Line” | The item journal line. |
| pcodSerialNumber | Code[50] | The serial number. |
| pcodLotNumber | Code[50] | The lot number. |
| pcodPackageNumber | Code[50] | The package number. |
| pdtExpirationDate | Date | The expiration date. |
| pdChangeQtyInWhseUOM | Decimal | The item tracking quantity. |
OnBeforeGetItemReclassJournal()
Called before getting the ad-hoc journal lines.
Syntax
OnBeforeGetItemReclassJournal(var pcodTemplateName: Code[10], var pcodBatchName: Code[10], var pcodUserName: Code[100], var ptrecEventParams: Record "IWX Event Param" temporary, var pbsOutput: BigText, var pbHandled: Boolean)
Parameters
| Parameter | Type | Description |
| pcodTemplateName | Code[10] | The template name. |
| pcodBatchName | Code[10] | The batch name. |
| pcodUserName | Code[100] | The username. |
| ptrecEventParams | Record “IWX Event Param” | The variables (key/value pairs) being supplied to the procedure. |
| pbsOutput | BigText | The output text to return to the device. |
| pbHandled | Boolean | Set to true if the procedure has been handled. False if the base code should continue to execute. |
OnAfterGetItemReclassJournal()
Called after getting the ad-hoc journal lines.
Syntax
OnAfterGetItemReclassJournal(var precItemJournalBatch: Record "Item Journal Batch", var ptrecEventParams: Record "IWX Event Param" temporary, var pbsOutput: BigText)
Parameters
| Parameter | Type | Description |
| precItemJournalBatch | Record “Item Journal Batch” | The journal batch. |
| ptrecEventParams | Record “IWX Event Param” | The variables (key/value pairs) being supplied to the procedure. |
| pbsOutput | BigText | The output text to return to the device. |
OnBeforeGetWhseReclassJournal()
Called before getting the warehouse ad-hoc journal lines.
Syntax
OnBeforeGetWhseReclassJournal(var pcodTemplateName: Code[10], var pcodBatchName: Code[10], var pcodUserName: Code[100], var ptrecEventParams: Record "IWX Event Param" temporary, var pbsOutput: BigText, var pbHandled: Boolean)
Parameters
| Parameter | Type | Description |
| pcodTemplateName | Code[10] | The template name. |
| pcodBatchName | Code[10] | The batch name. |
| pcodUserName | Code[100] | The username. |
| ptrecEventParams | Record “IWX Event Param” | The variables (key/value pairs) being supplied to the procedure. |
| pbsOutput | BigText | The output text to return to the device. |
| pbHandled | Boolean | Set to true if the procedure has been handled. False if the base code should continue to execute. |
OnAfterGetWhseReclassJournal()
Called after getting the warehouse ad-hoc journal lines.
Syntax
OnAfterGetWhseReclassJournal(var precWhseJnlLine: Record "Warehouse Journal Line", var ptrecEventParams: Record "IWX Event Param" temporary, var pbsOutput: BigText)
Parameters
| Parameter | Type | Description |
| precWhseJnlLine | Record “Warehouse Journal Line” | The warehouse journal lines. |
| ptrecEventParams | Record “IWX Event Param” | The variables (key/value pairs) being supplied to the procedure. |
| pbsOutput | BigText | The output text to return to the device. |
OnBeforeUpdateWhseReclassJournal()
Called before updating the warehouse ad-hoc journal lines.
Syntax
OnBeforeUpdateWhseReclassJournal(var precWhseJnlLine: Record "Warehouse Journal Line", var pcodSerialNumber: Code[50], var pcodLotNumber: Code[50], var pcodPackageNumber: Code[50], var pdtExpirationDate: Date, var pdQuantity: Decimal, var ptrecEventParams: Record "IWX Event Param" temporary, var pbsOutput: BigText, var pbHandled: Boolean)
Parameters
| Parameter | Type | Description |
| precWhseJnlLine | Record “Warehouse Journal Line” | The warehouse journal line. |
| pcodSerialNumber | Code[50] | The serial number. |
| pcodLotNumber | Code[50] | The lot number. |
| pcodPackageNumber | Code[50] | The package number. |
| pdtExpirationDate | Date | The expiration date. |
| pdQuantity | Decimal | The quantity.
|
| ptrecEventParams | Record “IWX Event Param” | The variables (key/value pairs) being supplied to the procedure. |
| pbsOutput | BigText | The output text to return to the device. |
| pbHandled | Boolean | Set to true if the procedure has been handled. False if the base code should continue to execute. |
OnAfterUpdateWhseReclassJournal()
Called after updating a warehouse ad-hoc journal line.
Syntax
OnAfterUpdateWhseReclassJournal(var precWhseJnlLine: Record "Warehouse Journal Line", var pcodSerialNumber: Code[50], var pcodLotNumber: Code[50], var pcodPackageNumber: Code[50], var pdtExpirationDate: Date, var pdQuantity: Decimal, var ptrecEventParams: Record "IWX Event Param" temporary, var pbsOutput: BigText)
Parameters
| Parameter | Type | Description |
| precWhseJnlLine | Record “Warehouse Journal Line” | The warehouse journal line. |
| pcodSerialNumber | Code[50] | The serial number. |
| pcodLotNumber | Code[50] | The lot number. |
| pcodPackageNumber | Code[50] | The package number. |
| pdtExpirationDate | Date | The expiration date. |
| pdQuantity | Decimal | The quantity. |
| ptrecEventParams | Record “IWX Event Param” | The variables (key/value pairs) being supplied to the procedure. |
| pbsOutput | BigText | The output text to return to the device. |
OnBeforeUpdateItemReclassJournal()
Called before updating an ad-hoc journal line.
Syntax
OnBeforeUpdateItemReclassJournal(var precItemJnlLine: Record "Item Journal Line", var pcodSerialNumber: Code[50], var pcodLotNumber: Code[50], var pcodPackageNumber: Code[50], var pdtExpirationDate: Date, var pdQuantity: Decimal, var ptrecEventParams: Record "IWX Event Param" temporary, var pbsOutput: BigText, var pbHandled: Boolean)
Parameters
| Parameter | Type | Description |
| precItemJnlLine | Record “Item Journal Line” | The item journal line. |
| pcodSerialNumber | Code[50] | The serial number. |
| pcodLotNumber | Code[50] | The lot number. |
| pcodPackageNumber | Code[50] | The package number. |
| pdtExpirationDate | Date | The expiration date. |
| pdQuantity | Decimal | The quantity. |
| ptrecEventParams | Record “IWX Event Param” | The variables (key/value pairs) being supplied to the procedure. |
| pbsOutput | BigText | The output text to return to the device. |
| pbHandled | Boolean | Set to true if the procedure has been handled. False if the base code should continue to execute. |
OnAfterUpdateItemReclassJournal()
Called after updating an ad-hoc journal line.
Syntax
OnAfterUpdateItemReclassJournal(var precItemJnlLine: Record "Item Journal Line", var pcodSerialNumber: Code[50], var pcodLotNumber: Code[50], var pcodPackageNumber: Code[50], var pdtExpirationDate: Date, var pdQuantity: Decimal, var ptrecEventParams: Record "IWX Event Param" temporary, var pbsOutput: BigText)
Parameters
| Parameter | Type | Description |
| precItemJnlLine | Record “Item Journal Line” | The item journal line. |
| pcodSerialNumber | Code[50] | The serial number. |
| pcodLotNumber | Code[50] | The lot number. |
| pcodPackageNumber | Code[50] | The package number. |
| pdtExpirationDate | Date | The expiration date. |
| pdQuantity | Decimal | The quantity. |
| ptrecEventParams | Record “IWX Event Param” | The variables (key/value pairs) being supplied to the procedure. |
| pbsOutput | BigText | The output text to return to the device. |
OnBeforePostWhseReclassJournal()
Called before posting a warehouse ad-hoc movement.
Syntax
OnBeforePostWhseReclassJournal(var precWhseJnlLine: Record "Warehouse Journal Line", var ptrecEventParams: Record "IWX Event Param" temporary, var pbsOutput: BigText, var pbHandled: Boolean)
Parameters
| Parameter | Type | Description |
| precWhseJnlLine | Record “Warehouse Journal Line” | The warehouse journal line. |
| ptrecEventParams | Record “IWX Event Param” | The variables (key/value pairs) being supplied to the procedure. |
| pbsOutput | BigText | The output text to return to the device. |
| pbHandled | Boolean | Set to true if the procedure has been handled. False if the base code should continue to execute. |
OnAfterPostWhseReclassJournal()
Called after posting a warehouse ad-hoc movement.
Syntax
OnAfterPostWhseReclassJournal(var precWhseJnlLine: Record "Warehouse Journal Line", var ptrecEventParams: Record "IWX Event Param" temporary, var pbsOutput: BigText)
Parameters
| Parameter | Type | Description |
| precWhseJnlLine | Record “Warehouse Journal Line” | The warehouse journal line. |
| ptrecEventParams | Record “IWX Event Param” | The variables (key/value pairs) being supplied to the procedure. |
| pbsOutput | BigText | The output text to return to the device. |
OnBeforePostItemReclassJournal()
Called before posting an ad-hoc movement.
Syntax
OnBeforePostItemReclassJournal(var precItemJnlLine: Record "Item Journal Line", var ptrecEventParams: Record "IWX Event Param" temporary, var pbsOutput: BigText, var pbHandled: Boolean)
Parameters
| Parameter | Type | Description |
| precItemJnlLine | Record “Item Journal Line” | The item journal line. |
| ptrecEventParams | Record “IWX Event Param” | The variables (key/value pairs) being supplied to the procedure. |
| pbsOutput | BigText | The output text to return to the device. |
| pbHandled | Boolean | Set to true if the procedure has been handled. False if the base code should continue to execute. |
OnAfterPostItemReclassJournal()
Called after posting an ad-hoc movement.
Syntax
OnAfterPostItemReclassJournal(var precItemJnlLine: Record "Item Journal Line", var ptrecEventParams: Record "IWX Event Param" temporary, var pbsOutput: BigText)
Parameters
| Parameter | Type | Description |
| precItemJnlLine | Record “Item Journal Line” | The item journal line. |
| ptrecEventParams | Record “IWX Event Param” | The variables (key/value pairs) being supplied to the procedure. |
| pbsOutput | BigText | The output text to return to the device. |
OnBeforeProcessWhseReclassLPScan()
Called before processing a license plate scan on a warehouse ad-hoc movement.
Syntax
OnBeforeProcessWhseReclassLPScan(var codReclassBatchName: Code[10], var pcodLicensePlateNumber: Code[20], var piLPAction: Integer, var pbTakeMode: Boolean, var pcodLocationCode: Code[10], var pcodNewLocationCode: Code[10], var pcodBinCode: Code[20], var pcodNewBinCode: Code[20], var ptrecEventParams: Record "IWX Event Param" temporary, var pbsOutput: BigText, var pbHandled: Boolean)
Parameters
| Parameter | Type | Description |
| codReclassBatchName | Code[10] | The batch name. |
| pcodLicensePlateNumber | Code[20] | The license plate number. |
| piLPAction | Integer | The license plate adjustment action. |
| pbTakeMode | Boolean | True if take mode; false if place mode. |
| pcodLocationCode | Code[10] | The location code. |
| pcodNewLocationCode | Code[10] | The new location code. |
| pcodBinCode | Code[20] | The bin code. |
| pcodNewBinCode | Code[20] | The new bin code. |
| ptrecEventParams | Record “IWX Event Param” | The variables (key/value pairs) being supplied to the procedure. |
| pbsOutput | BigText | The output text to return to the device. |
| pbHandled | Boolean | Set to true if the procedure has been handled. False if the base code should continue to execute. |
OnAfterProcessWhseReclassLPScan()
Called after processing a license plate scan on a warehouse ad-hoc movement.
Syntax
OnAfterProcessWhseReclassLPScan(var codReclassBatchName: Code[10], var pcodLicensePlateNumber: Code[20], var piLPAction: Integer, var pbTakeMode: Boolean, var pcodLocationCode: Code[10], var pcodNewLocationCode: Code[10], var pcodBinCode: Code[20], var pcodNewBinCode: Code[20], var ptrecEventParams: Record "IWX Event Param" temporary, var pbsOutput: BigText)
Parameters
| Parameter | Type | Description |
| codReclassBatchName | Code[10] | The batch name. |
| pcodLicensePlateNumber | Code[20] | The license plate number. |
| piLPAction | Integer | The license plate adjustment action. |
| pbTakeMode | Boolean | True if take mode; false if place mode. |
| pcodLocationCode | Code[10] | The location code. |
| pcodNewLocationCode | Code[10] | The new location code. |
| pcodBinCode | Code[20] | The bin code. |
| pcodNewBinCode | Code[20] | The new bin code. |
| ptrecEventParams | Record “IWX Event Param” | The variables (key/value pairs) being supplied to the procedure. |
| pbsOutput | BigText | The output text to return to the device. |
OnBeforeProcessItemReclassLPScan()
Called before processing a license plate scan on an ad-hoc movement.
Syntax
OnBeforeProcessItemReclassLPScan(var codReclassBatchName: Code[10], var pcodLicensePlateNumber: Code[20], var pbTakeMode: Boolean, var pcodLocationCode: Code[10], var pcodNewLocationCode: Code[10], var pcodBinCode: Code[20], var pcodNewBinCode: Code[20], var ptrecEventParams: Record "IWX Event Param" temporary, var pbsOutput: BigText, var pbHandled: Boolean)
Parameters
| Parameter | Type | Description |
| codReclassBatchName | Code[10] | The batch name. |
| pcodLicensePlateNumber | Code[20] | The license plate number. |
| pbTakeMode | Boolean | True if take mode; false if place mode. |
| pcodLocationCode | Code[10] | The location code. |
| pcodNewLocationCode | Code[10] | The new location code. |
| pcodBinCode | Code[20] | The bin code. |
| pcodNewBinCode | Code[20] | The new bin code. |
| ptrecEventParams | Record “IWX Event Param” | The variables (key/value pairs) being supplied to the procedure. |
| pbsOutput | BigText | The output text to return to the device. |
| pbHandled | Boolean | Set to true if the procedure has been handled. False if the base code should continue to execute. |
OnAfterProcessItemReclassLPScan()
Called after processing a license plate scan on an ad-hoc movement.
Syntax
OnAfterProcessItemReclassLPScan(var codReclassBatchName: Code[10], var pcodLicensePlateNumber: Code[20], var pbTakeMode: Boolean, var pcodLocationCode: Code[10], var pcodNewLocationCode: Code[10], var pcodBinCode: Code[20], var pcodNewBinCode: Code[20], var ptrecEventParams: Record "IWX Event Param" temporary, var pbsOutput: BigText)
Parameters
| Parameter | Type | Description |
| codReclassBatchName | Code[10] | The batch name. |
| pcodLicensePlateNumber | Code[20] | The license plate number. |
| pbTakeMode | Boolean | True if take mode; false if place mode. |
| pcodLocationCode | Code[10] | The location code. |
| pcodNewLocationCode | Code[10] | The new location code. |
| pcodBinCode | Code[20] | The bin code. |
| pcodNewBinCode | Code[20] | The new bin code. |
| ptrecEventParams | Record “IWX Event Param” | The variables (key/value pairs) being supplied to the procedure. |
| pbsOutput | BigText | The output text to return to the device. |
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.