📚 SAP Business One SDK Help

UnitOfMeasurement 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 AbsEntry

The internal key of a UoM. Field name: UomEntry.

Public Property CodeThe unique code for the UoM.

Field name: UomCode.

Length: 20 characters.

Public Property EWBUnitEntryproperty EWBUnitEntry
Public Property Height1The height for the unit.

Field name: Height1.

Public Property Height1UnitThe height UoM.

Field name: Hght1Unit.

Public Property Height2The height for the unit.

Field name: Height2.

Public Property Height2UnitThe height UoM.

Field name: Hght2Unit.

Public Property InternationalSymbolThe international symbol for the UoM.

Field name: IntSymbol.

Length: 20 characters.

Public Property Length1The length for the unit.

Field name: Length1.

Public Property Length1UnitThe length UoM.

Field name: Len1Unit.

Public Property Length2The length for the unit.

Field name: Length2.

Public Property Length2UnitThe length UoM.

Field name: Len2Unit.

Public Property NameThe name for the UoM.

Field name: UomName.

Length: 100 characters.

Public Property PPWe1UnitWeight of plastic packaging, 1, unit. Number, default 0.

Field name: PPWe1Unit.

Public Property PPWe2UnitWeight of plastic packaging, 2, unit. Number, default 0.

Field name: PPWe2Unit.

Public Property PPWeight1Weight of plastic packaging, 1. Number, default 0.

Field name: PPWeight1.

Public Property PPWeight2Weight of plastic packaging, 2. Number, default 0.

Field name: PPWeight2.

Public Property UserFieldsGet User Fields
Public Property VolumeThe volume for the unit.

Field name: Volume.

Public Property VolumeUnitThe volume UoM.

Field name: VolUnit.

Public Property Weight1The weight for the unit.

Field name: Weight1.

Public Property Weight1UnitThe weight UoM.

Field name: WghtUnit.

Public Property Weight2The weight for the unit.

Field name: Weight2.

Public Property Weight2UnitThe weight UoM.

Field name: Wght2Unit.

Public Property Width1The width for the unit.

Field name: Width1.

Public Property Width1UnitThe width UoM.

Field name: Wdth1Unit.

Public Property Width2The width for the unit.

Field name: Width2.

Public Property Width2UnitThe width UoM.

Field name: Wdth2Unit.

See Also