biuan SAP® BUSINESS ONE SDK
DTW User-Defined Objects - Found Columns
API User Object MD Form Columns

Description

UserObjectMD_FormColumns is child object of the UserObjectsMD object that represents the default fields (columns) to display in the default form (UDO form with the matrix style).

Source table: UDO3.

Remarks

If the user-defined object uses the default form service (CanCreateDefaultForm), then the mandatory field in SAP Business One is: SonNumber.

When adding fields to a default form, the first field must be as follows:

  • For Master data object type - Code.
  • For Document object type - DocEntry.

Example

Adding fields to a default form of Master Data object type (Visual Basic)
Name=Code_VB>
oUserObjectMD.FormColumns.FormColumnAlias = "Code" oUserObjectMD.FormColumns.FormColumnDescription = "Code" oUserObjectMD.FormColumns.Add 'Add the remaining columns to the default form
Adding fields to a default form of Document object type (Visual Basic)
Name=Code_VB>
oUserObjectMD.FormColumns.FormColumnAlias = "DocEntry" oUserObjectMD.FormColumns.FormColumnDescription = "DocEntry" oUserObjectMD.FormColumns.Add 'add the remaining columns to the default form

See Also

SAP® B1 DI-API C# definition

public class UserObjectMD_FormColumnsClass : IUserObjectMD_FormColumns, UserObjectMD_FormColumns { public virtual string Code { get; } public virtual int Count { get; } public virtual BoYesNoEnum Editable { get; set; } public virtual string FormColumnAlias { get; set; } public virtual string FormColumnDescription { get; set; } public virtual int FormColumnNumber { get; } public virtual int SonNumber { get; set; } public extern UserObjectMD_FormColumnsClass(); public virtual extern void Add(); public virtual extern void SetCurrentLine(int LineNum); }


SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates