📚 SAP Business One SDK Help

WeightMeasures Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a weight 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 weight unit code (primary key).

Field name: UnitCode.

Public Property UnitDisplaySets or returns the displayed name of the weight unit (for example, kg).

Field name: UnitDisply.

Length: 2 characters.

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

Field name: UnitName.

Length: 20 characters.

Public Property UnitWeightinmgSets or returns the weight in miligrams. For example: 1,000,000 mg for Kg measure unit or 28,300 mg for Oz measure unit.

Field name: WightInMG.

Public Property UserFieldsReturns the UserFields object.

See Also