📚 SAP Business One SDK Help

User ObjectsMD Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a record to the object table in SAP Business One company database.
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 record from the object table.
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 objects (UDOs) in the General Authorizations window.
Public Property BrowserReturns the DataBrowser object.
Public Property CanApproveIndicates whether the UDO uses the Approve service, which enables a UDO record to be a request and to be approved by the specified workflow template.

Field name: CanApprove

Public Property CanArchiveIndicates that the UDO records can be archived.

The OnCanArchive virtual method in the implementation DLL for the UDO can specify conditions to limit which records are archived.

Public Property CanCancelIndicates whether the UDO uses the Cancel service, which enables users to cancel a UDO record.

Field name: CanCancel

Public Property CanCloseIndicates whether the UDO uses the Close service, which enables a user to close a UDO record without creating a posting in accounting.

Field name: CanClose

Public Property CanCreateDefaultFormIndicates whether the UDO uses the Default Form service, which creates a default form that has an ordinary table with selected fields.

Field name: CanDefForm

Public Property CanDeleteIndicates whether the UDO uses the Delete service, which enables a user to delete records from Master Data type objects.

Field name: CanDelete

Public Property CanFindIndicates whether the UDO uses the Find service, which enables the Choose from list dialog box in the application (Find Form).

Field name: CanFind

Public Property CanLogIndicates whether the UDO uses the History Log service, which creates a history log table in the database.

Field name: CanLog

Public Property CanYearTransferIndicates whether the UDO uses the Year Transfer service, which enables the copying of the user tables to a new database.

Field name: CanYrTrnsf

Public Property ChildTablesReturns the UserObjectMD_ChildTables child tables.
Public Property CodeSets or returns the Object Unique ID. The Unique ID is the primary key of the user defined object and its child objects.

Length: 20 characters (must include at least one alphabetical character).

Field name: Code.

Public Property EnableEnhancedFormCreates the UDO enhanced form (UDO form with header-line style).

Field name: CanNewForm.

Public Property EnhancedFormColumnsReturns the UserObjectMD_EnhancedFormColumns child object.
Public Property ExtensionNameSets or returns the name and full path of your business logic implementation (DLL).

Length: 254 characters.

Field name: ExtName.

Public Property FatherMenuIDThe menu ID of the UDO menu's father menu.

Field name: FatherMenuID.

Length: 11 characters.

Public Property FindColumnsReturns the UserObjectMD_FindColumns child object.
Public Property FormColumnsReturns the UserObjectMD_FormColumns child object.
Public Property FormSRFThe *.srf file of the UDO enhanced form (UDO form with header-line style).

Field name: NewFormSrf.

Length: 16 characters.

Public Property LogTableNameSets or returns the log table name. This table maintains a history log of all actions related to the main user table.

Length: 19 characters.

Field name: LogTable.

Public Property ManageSeriesSets or returns a valid value of BoYesNoEnum type that specifies whether or not the user defined object can use the Manage Series service. This service enables document numbering.

Field name: MngSeries.

Public Property MenuCaptionThe caption of the UDO menu that appears on the SAP Business One main menu.

Field name: MenuCapt.

Length: 256 characters.

Public Property MenuItemSpecifies whether to add a UDO menu into the SAP Business One main menu.

Field name: MenuItem.

Public Property MenuUIDThe UID of the UDO menu.

Field name: MenuUid.

Length: 32 characters.

Public Property NameSets or returns the the object name that must include your name identifier.

Length: 100 characters.

Field name: Name.

Public Property ObjectTypeSets or returns a valid value of BoUDOObjType type that specifies the object type, Master Data or Document.

Field name: TYPE.

Public Property OverwriteDllfileSets or returns a valid value that determines whether or not to overwrite existing Dll file with new Dll file.

Field name: OvrWrtDll.

Public Property PersonalDataProtectionproperty PersonalDataProtection
Public Property PositionThe position of the UDO menu under its father menu.

Field name: Position.

Length: 6 characters.

Public Property RebuildEnhancedFormIf needed, rebuild the UDO enhanced form (UDO form with header-line style).

Field name: IsRebuild.

Public Property TableNameSets or returns the the main User Table related to the user defined object.

Length: 19 characters.

Field name: TableName.

Public Property TemplateIDThe ID of the workflow template for an approval UDO record.

Field name: TemplateID.

Length: 11 characters.

Public Property UseUniqueFormType

Indicates whether every child form of a parent UDO gets a unique ID. If false, all child forms share the same ID.

See Also