📚 SAP Business One SDK Help

InventoryCountingLine Object Members
See Also  Overview 

Public Methods

Public Method FromXMLFileSets the object's properties using data from an XML file.

The XML file can be created using the object's ToXMLFile method.

Public Method FromXMLStringSets the object's properties using data from an XML string.

The XML string can be created using the object's ToXMLString method.

Public Method GetXMLSchemaReturns the XML schema for the XML generated by the ToXMLFile and ToXMLString methods.
Public Method ToXMLFileCreates an XML file that represents the object.
Public Method ToXMLStringCreates and returns an XML string that represents the object.

Public Properties

Public Property BarCodeThe barcode of the item.

Field name: BarCode.

Length: 16 characters.

Public Property BinEntryThe bin location for the item you want to count.

Mandatory property if you use bin.

Field name: BinEntry.

Public Property CostingCodeThe distribution rule for dimension 1 for allocating costs and revenues (both direct and indirect) to one or more profit centers.

Field name: OcrCode.

Length: 8 characters.

Public Property CostingCode2The distribution rule for dimension 2 for allocating costs and revenues (both direct and indirect) to one or more profit centers.

Field name: OcrCode2.

Length: 8 characters.

Public Property CostingCode3The distribution rule for dimension 3 for allocating costs and revenues (both direct and indirect) to one or more profit centers.

Field name: OcrCode3.

Length: 8 characters.

Public Property CostingCode4The distribution rule for dimension 4 for allocating costs and revenues (both direct and indirect) to one or more profit centers.

Field name: OcrCode4.

Length: 8 characters.

Public Property CostingCode5The distribution rule for dimension 5 for allocating costs and revenues (both direct and indirect) to one or more profit centers.

Field name: OcrCode5.

Length: 8 characters.

Public Property CountedIndicates whether the item was counted, and vice versa.

Field name: Counted.

Public Property CountedQuantityThe quantity of the item as counted in actual warehouses.

Field name: CountQty.

Public Property CounterIDThe ID of the counter.

Field name: CounterId.

Public Property CounterTypeThe type of the counter.

Field name: CounteType.

Public Property DocumentEntryThe internal key of the inventory counting.

Field name: DocEntry.

Public Property FreezeSpecify whether you want to freeze an item, that is, prevent any transaction (except inventory posting) that affects the in-warehouse quantity of the item in the selected warehouse and bin.

Field name: Freeze.

Public Property InventoryCountingBatchNumbersThe sub object to count inventory by batch number.
Public Property InventoryCountingLineUoMsThe sub object to count inventory by unit of measure.
Public Property InventoryCountingSerialNumbersThe sub object to count inventory by serial number.
Public Property InWarehouseQuantityThe quantities of an item in warehouses as recorded by the system on the selected count date and time.

Field name: InWhsQty.

Public Property ItemCodeThe code of the item that you specified for the inventory.

Mandatory property. Not mandatory only if BarCode is specified and is unique.

Field name: ItemCode.

Length: 20 characters.

Public Property ItemDescriptionThe description of the item that you specified for the inventory.

Field name: ItemDesc.

Length: 100 characters.

Public Property ItemsPerUnitThe calculated value from the group UoM definition of the item. 

Inventory Items per Unit = Base Qty ÷ Alt. QQty

Field name: ItmsPerUnt.

Public Property LineNumberThe line number of the inventory counting document.

Field name: LineNum.

Public Property LineStatusDetermines this document is open or close.

Field name: LineStatus.

Public Property ManufacturerThe manufacturer code of the item (foreign key of the Manufacturers object).

Field name: FirmCode.

Public Property MultipleCounterRoleThe role of the multiple counters, that is, the multiple counters conduct the inventory counting individually or as a team.

Field name: CounteRole.

Public Property PlasticPackageExemptionReasonReason for exemption from tax; options are determined by the authorities.
Public Property PreferredVendorThe preferred vendor for the item.

Field name: PrefVendor.

Length: 15 characters.

Public Property ProjectCodeThe project code related to the document.

Field name: ProjCode.

Length: 20 characters.

Public Property RemarksThe remarks of the inventory counting document line.

Field name: Remark.

Length: 254 characters.

Public Property SupplierCatalogNoThe vendor catalog number.

Field name: SuppCatNum.

Length: 17 characters.

Public Property TargetEntryThe target document internal ID.

Field name: TargetEntr.

Public Property TargetLineThe target document line.

Field name: TargetLine.

Public Property TargetReferenceThe target document reference.

Field name: TargetRef.

Public Property TargetTypeThe target document type.

Field name: TargetType.

Public Property UoMCodeThe UoM code.

Field name: UomCode.

Length: 20 characters.

Public Property UoMCountedQuantityThe counted quantity in the specified UoM.

Field name: UomQty.

Public Property UserFieldsReturns the UserFields object.
Public Property Variance

Displays the difference between the in-warehouse quantity on the count date and the counted quantity.

Field name: Difference.

Public Property VariancePercentage

Displays the absolute variance percentage between the in-warehouse quantity on the count date and the counted quantity.

Field name: DiffPercen.

Public Property VisualOrderThe visual order number. The value for the first row is null, and from the second row the number starts from 1.

Field name: VisOrder.

Public Property WarehouseCodeThe code of the warehouse where the item locates.

Mandatory property.

Field name: WhsCode.

Length: 8 characters.

Public Property WeightOfRecycledPlasticTotal weight of recycled plastic

See Also