Share via


InventDimParm.addFieldsToDialog Method

Adds fields from the InventDimParm table to the dialog box.

Syntax

public DialogGroup addFieldsToDialog(
    Dialog _dialog, 
   [str _caption, 
    boolean _newMainGroup, 
    boolean _addItem, 
    str _fieldHelpText, 
    InventDimParm _dimParmDisableFields])

Run On

ClientOrServer

Parameters

  • _dialog
    Type: Dialog Class
    The dialog box where fields are added.
  • _caption
    Type: str
    The caption for the group where fields are added; optional.
  • _newMainGroup
    Type: boolean
    true if a new main group should be added; optional.
  • _addItem
    Type: boolean
    true if an item check box should be added; optional.
  • _fieldHelpText
    Type: str
    The help text for the field; optional.
  • _dimParmDisableFields
    Type: InventDimParm Table
    An InventDimParm table that specifies the fields that should not be enabled. By default all fields will be enabled; optional.

Return Value

Type: DialogGroup Class
A new dialog group that has the fields added.

Remarks

If the InventSiteIdFlag field should not be enabled so that it cannot be edited, the dimParmDisableFields values should be set to NoYes::Yes.

See Also

Reference

InventDimParm Table