📚 SAP Business One SDK Help

LengthMeasures Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a length unit of measure definition.
Public Method GetAsXMLReturns the object from XML data, which is stored as string in a buffer.
Public Method GetByKeyRetrieves and sets the values of the object's properties by the object's absolute key from the Company database.
Public Method RemoveDeletes the current record.
Public Method SaveToFileSave the object to a file as XML data.
Public Method SaveXMLSaves the object data to XML formatted data.
Public Method UpdateUpdates the object data in the company database.

Public Properties

Public Property BrowserReturns the DataBrowser object.
Public Property UnitCodeReturns the length unit code (primary key).

Field name: UnitCode.

Public Property UnitCodeforQuantityDisplaySets or returns the volume code (for example, cc).

Field name: VolDisply.

Length: 3 characters.

Public Property UnitDisplaySets or returns the displayed name for the length or width unit (for example, cm).

Field name: UnitDisply.

Length: 2 characters.

Public Property UnitLengthinmmSets or returns the length in milimeters. For example: 10 mm for cm measure unit or 25.4 mm for Inch measure unit.

Field name: SizeInMM.

Public Property UnitNameSets or returns the unit name (for example, centimeter).

Field name: UnitName.

Length: 20 characters.

Public Property UserFieldsReturns the UserFields object.

See Also