📚 SAP Business One SDK Help

DefaultCountingUoMEntry Property
See Also  Example

Description

Specify a UoM to be used as the default inventory counting UoM.

Field name: INUoMEntry.

Property type

Read-write property

Syntax

Visual Basic
Public Property DefaultCountingUoMEntry() As Long

Remarks

Available only when the UoM group is not Manual.

Example

C#Copy Code
 
Dim item As SAPbobsCOM.Items 
item = oCompany.GetBusinessObject(BoObjectTypes.oItems) 
Dim ret As Long 
 
ret = item.GetByKey("I001") 
item.DefaultCountingUoMEntry = 1 -- "SmallBox" 
 
ret = item.Update()

See Also