---
title: "Events defined in Reclass Management"
app: "Warehouse Insight"
section: "Developer"
last_updated: "2023-06-06"
url: "https://insight-works.com/kb/warehouse-insight/events-defined-in-reclass-management/"
---

# Events defined in Reclass Management

### 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. |
