Ext.CreateProjectBasedRecord()

Returns objects that are of the subtype ProjectBasedRecord.

Function Signature

 ProjectBasedRecord Ext.CreateProjectBasedRecord( tableId )

Parameters

Parameter Type Description

tableId

int

A value from TS_TABLES. See Ext.TableId().

Return

Type Description

ProjectBasedRecord

The newly-created ProjectBasedRecord object containing a field list with all variable fields defined for the given table. The fields are created empty and can be written to individually or populated for a specific item using the Read() method. The returned object supports all functionality for a primary table item.

Technical Details

SBM ModScript version: 11.3.

Notes

This function is similar to Ext.CreateAppRecord(). It may only be used on primary tables—a runtime error occurs if this function is called on a non-primary table.

Related Topics

Extension Functions

ProjectBasedRecord