📚 SAP Business One SDK Help

UserFieldsMD Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a new user field to an exiting user table.
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 RemoveRemoves a specified field from the table.
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 DefaultValueSets or returns the default value of the field.

Field name: Dflt.

Length: 254 characters.

Public Property DescriptionSets or returns the description of the field.

Field name: Descr.

Length: 80 characters.

Public Property EditSizeSets or returns the field maximum value entered by the user. This applies only when the Type property is set to db_Alpha or db_Numeric.

Field name: EditSize.

Public Property FieldIDReturns the unique identification key of the field in the meta data table.

Field name: FieldID.

Public Property LinkedSystemObjectLinks to an existing system object of SAP Business One.
Public Property LinkedTableSets or returns a linked user table name, so that the user field will be used as a foreign key in the TableName.

Field name: RTable.

Length: 20 characters.

Public Property LinkedUDOLinks to a user-defined object (UDO) form of both Matrix style and Header Lines style.

Field name: RelUDO.

Length: 20 characters.

Public Property MandatorySets or returns a valid value that determines wether or not this User Field is mandatory in SAP Business One.

Field name: Sys.

Public Property NameSets or returns the field name.

Field name: AliasID.

Length: 50 characters.

Public Property SizeThe actual size of the field. The value is automatically determined by the input of the EditSize property.

Do not set any value in the Size property.

Field name: SizeID.

Public Property SubTypeReturns or set the field sub-type, which specifies a specific format of the data type.
Public Property TableNameSets or returns the name of the parent table that this field refers to.

Length: 21 characters.

Field name: TableID.

Public Property TypeSets or returns the data type, which describes the nature of the data, of the specified field .

Field name: TypeID.

Public Property ValidValuesReturns the ValidValuesMD object.

See Also