Table Bin
Properties
| Name | Value |
|---|---|
| Caption | Bin |
| DataCaptionFields | 1,4,2 |
| LookupPageID | Page Microsoft.Warehouse.Structure."Bin List" |
| DataClassification | CustomerContent |
Fields
| Name | Type | Description |
|---|---|---|
| "Location Code" | Code[10] | Specifies the location from which you opened the Bins window. |
| Code | Code[20] | Specifies a code that uniquely describes the bin. |
| Description | Text[100] | Specifies a description of the bin. |
| "Zone Code" | Code[10] | Specifies the code of the zone in which the bin is located. |
| "Adjustment Bin" | Boolean | |
| "Bin Type Code" | Code[10] | Specifies the code of the bin type that applies to the bin. |
| "Warehouse Class Code" | Code[10] | Specifies the code of the warehouse class that applies to the bin. |
| "Block Movement" | Option | Specifies how the movement of an item, or bin content, into or out of this bin, is blocked. |
| "Special Equipment Code" | Code[10] | Specifies the code of the equipment needed when working in the bin. |
| "Bin Ranking" | Integer | Specifies the ranking of the bin. Items in the highest-ranking bins (with the highest number in the field) will be picked first. |
| "Maximum Cubage" | Decimal | Specifies the maximum cubage (volume) that the bin can hold. |
| "Maximum Weight" | Decimal | Specifies the maximum weight that this bin can hold. |
| Empty | Boolean | Specifies that the bin Specifies no items. |
| "Item Filter" | Code[20] | |
| "Variant Filter" | Code[10] | |
| Default | Boolean | Specifies if the bin is the default bin for an item. |
| "Cross-Dock Bin" | Boolean | Specifies if the bin is considered a cross-dock bin. |
| Dedicated | Boolean | Specifies that quantities in the bin are protected from being picked for other demands. |
| SystemId | Guid | |
| SystemCreatedAt | DateTime | |
| SystemCreatedBy | Guid | |
| SystemModifiedAt | DateTime | |
| SystemModifiedBy | Guid | |
| SystemCreatedByUserName | Text[50] | |
| SystemCreatedByFullName | Text[80] | |
| SystemModifiedByUserName | Text[50] | |
| SystemModifiedByFullName | Text[80] | |
| SystemRowVersion | BigInteger |
Methods
SetUpNewLine
procedure SetUpNewLine()
CalcCubageAndWeight
procedure CalcCubageAndWeight(var Cubage: Decimal; var Weight: Decimal; CalledbyPosting: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Cubage | Decimal | |
| Weight | Decimal | |
| CalledbyPosting | Boolean |
CheckWhseClass
procedure CheckWhseClass(ItemNo: Code[20]; IgnoreError: Boolean): Boolean
Parameters
| Name | Type | Description |
|---|---|---|
| ItemNo | Code[20] | |
| IgnoreError | Boolean |
Returns
| Type | Description |
|---|---|
| Boolean |
CheckIncreaseBin
procedure CheckIncreaseBin(BinCode: Code[20]; ItemNo: Code[20]; Qty: Decimal; DeductCubage: Decimal; DeductWeight: Decimal; PutawayCubage: Decimal; PutawayWeight: Decimal; CalledbyPosting: Boolean; IgnoreError: Boolean): Boolean
Parameters
| Name | Type | Description |
|---|---|---|
| BinCode | Code[20] | |
| ItemNo | Code[20] | |
| Qty | Decimal | |
| DeductCubage | Decimal | |
| DeductWeight | Decimal | |
| PutawayCubage | Decimal | |
| PutawayWeight | Decimal | |
| CalledbyPosting | Boolean | |
| IgnoreError | Boolean |
Returns
| Type | Description |
|---|---|
| Boolean |
Events
OnAfterCheckEmptyBin
[IntegrationEvent(False,False)]
local procedure OnAfterCheckEmptyBin(var Bin: Record Bin)
Parameters
| Name | Type | Description |
|---|---|---|
| Bin | Table Microsoft.Warehouse.Structure.Bin |
OnAfterCalcCubageAndWeight
[IntegrationEvent(False,False)]
local procedure OnAfterCalcCubageAndWeight(Bin: Record Bin; CalledByPosting: Boolean; var Cubage: Decimal; var Weight: Decimal)
Parameters
| Name | Type | Description |
|---|---|---|
| Bin | Table Microsoft.Warehouse.Structure.Bin | |
| CalledByPosting | Boolean | |
| Cubage | Decimal | |
| Weight | Decimal |
OnAfterSetUpNewLine
[IntegrationEvent(False,False)]
local procedure OnAfterSetUpNewLine(var Bin: Record Bin)
Parameters
| Name | Type | Description |
|---|---|---|
| Bin | Table Microsoft.Warehouse.Structure.Bin |
OnBeforeCheckMaxQtyBinContent
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckMaxQtyBinContent(var Bin: Record Bin; CheckWeight: Boolean; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Bin | Table Microsoft.Warehouse.Structure.Bin | |
| CheckWeight | Boolean | |
| IsHandled | Boolean |
OnBeforeCheckWhseClass
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckWhseClass(Bin: Record Bin; ItemNo: Code[20]; var ResultValue: Boolean; var IsHandled: Boolean; IgnoreError: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Bin | Table Microsoft.Warehouse.Structure.Bin | |
| ItemNo | Code[20] | |
| ResultValue | Boolean | |
| IsHandled | Boolean | |
| IgnoreError | Boolean |
OnBeforeOnInsert
[IntegrationEvent(False,False)]
local procedure OnBeforeOnInsert(var Bin: Record Bin; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Bin | Table Microsoft.Warehouse.Structure.Bin | |
| IsHandled | Boolean |
OnBeforeOnModify
[IntegrationEvent(False,False)]
local procedure OnBeforeOnModify(var Bin: Record Bin; var xBin: Record Bin; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Bin | Table Microsoft.Warehouse.Structure.Bin | |
| xBin | Table Microsoft.Warehouse.Structure.Bin | |
| IsHandled | Boolean |
OnBeforeCheckEmptyBin
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckEmptyBin(var Bin: Record Bin; ErrorText: Text[250]; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| Bin | Table Microsoft.Warehouse.Structure.Bin | |
| ErrorText | Text[250] | |
| IsHandled | Boolean |