FormRun.defaultInitialQueryValuesOnCreate Method [AX 2012]

Enables or disables the application of default values from the query build range and query filters from an InitialQueryParameter query when the FormDataSource::Create method is called.

public boolean defaultInitialQueryValuesOnCreate([boolean value])

Run On

Client

Parameters

value
Type: boolean
A Boolean value that determines whether the values of the query build ranges and query filters from the initial query should be used to apply default values when you create a record.

Return Value

Type: boolean
true if the values of the query build ranges and query filters from the initial query should be used to apply default values when you create a record; otherwise, false.

Calling this method to set the value has effect only if you call it before the super method of the FormRun::Init method.

Community Additions

ADD
Show: