Upravit

Sdílet prostřednictvím


Parm methods for Segmented Entry controls

Describes the parm methods that can be set in code on an instance of a Segmented Entry control.

The Segmented Entry control has multiple parm methods that influence how the control will behave. Here is a description of each method.

Method Description
parmDataAreaId The company context that the control is running under. In most cases, the context is curext() but there are scenarios where forms can manually set things like different company contexts and surface records from different companies. Forms need to evaluate which context the SEC should be running under the various conditions of the form.
parmCurrency This method is used by Account controls for Main account validation. If this property is set, then mainAccount.checkAccountCurrency() is called during Main account validation.
parmControlDate This method is used in validating segment values and in some internal queries. The default is to use the current date but there are scenarios when the form would want to set a custom date based on business requirements.
parmDimensionAutoCompleteFilter Adds additional restrictions to filter dimension auto-Complete data.
parmJournalName This method is used in enforcing Journal control.
parmAccountTypeEnumType
parmDimensionAccountStorageUsageType This method allows the form or class to specify how the segmented entry control is being used on the form. This property is of type: DimensionAccountStorageUsage (an enumeration with values: Setup, Transactional, Alias).
parmTaxCode This method was unused and has been removed.
parmAccountType
parmIncludeFinancialAccounts Correlates to the design-time property. For more information, see the Segmented Entry control Metadata Specification.
parmIncludeTotalAccounts Correlates to the design-time property. For more information, see the Segmented Entry control Metadata Specification.
parmIsDefaultAccount Correlates to the design-time property. For more information, see the Segmented Entry control Metadata Specification.
parmLockMainAccountSegment Correlates to the design-time property. For more information, see the Segmented Entry control Metadata Specification.
parmPostingType Correlates to the design-time property. For more information, see the Segmented Entry control Metadata Specification.
parmValidateBlockedForManualEntry Correlates to the design-time property. For more information, see the Segmented Entry control Metadata Specification.

Additional resources

Support for Segmented Entry controls on dialogs

Design-time metadata for Segmented Entry controls

Migrate Segmented Entry controls

Migration guidance for Segmented Entry controls