API Document Lines / Item Code
Item Code Property


Sets or returns the item code in the inventory. The item code must be unique. This is a foreign key to the Items object.

Field name: ItemCode.

Mandatory property.

Length: 20 characters.

Property type

Read-write property


Visual Basic
Public Property ItemCode() As String


ItemCode is the primary key of item records in SAP Business One and used to distinguish between items in the system.

See Also

Related information

Batch Numbers BatchNumbers Object· Table: OBTN BTNT
BatchNumbers is a business object that represents the batch numbers of an item in the Inventory and Production module. This object enables you to add batch numbers for a selected item row (one record per item). Source table: OBTN, OBTW, OITL,...
   Parent: Document Lines Document_Lines Object· Table: IGE1 IGN1

SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates