FormDataSource.create Method [AX 2012]

Creates a new record in the data source.

public void create([boolean append])

Run On

Client

Parameters

append
Type: boolean
A Boolean value that indicates whether to insert the record after or before the current cursor position. If it is set to true, the new record is inserted after the current record.

This method is called when a user creates a new record in a data source, such as by using the default shortcut key for insertion (CTRL+N).

The create method can be overridden on a form data source. Right-click the Methods node under the data source, and then select Override Method > create.

Community Additions

ADD
Show: