📚 SAP Business One SDK Help

UserTablesMD Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a new table to the User-Defined Tables collection. The new table includes two columns by default: Code and Name, where the Code column is the primary key of the specific 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 RemoveDeletes a specified 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 ApplyAuthorizationYou can control authorizations for user-defined tables (UDTs) in the General Authorizations window.
Public Property Archivableproperty Archivable
Public Property ArchiveDateFieldproperty ArchiveDateField
Public Property BrowserReturns the DataBrowser object.
Public Property DisplayMenuDetermines whether to display the user-defined table as a submenu in the SAP Business One client, or a tile in the Web Client.

Field name: DisplyMenu.

Public Property TableDescriptionA string that describes the name and functionality of the table.

Field name: Descr.

Length: 30 characters.

Public Property TableNameSets or returns the name for the user defined table.

Field name: TableName.

Length: 19 characters.

Public Property TableTypeSets or returns a valid value of BoUTBTableType type that specifies the type of the user table.

Field name: ObjectType.

See Also