Description: Opens a configured, main or automatically generated DBForm for a new or existing record, either as a non-modal child, a modal/full-screen dialog, or a web page/dialog.
Calling convention: CIP_CallDBForm("DBFormName":String,"ObjectName":String,"FilterName":String,RowID:Integer,[ModalMode:Boolean=False],[FullScreenMode:Boolean=False],[ReadOnly:Boolean=False],[Left:Integer],[Top:Integer],["IWCallBackScriptDataChanged":String])
Parameters:
DBFormName: named form, empty for the object's main form, or AUTODBFORM.
ObjectName: target object; empty creates a temporary object for a named form.
FilterName: optional navigation filter name.
RowID: existing DATA_ID, or -1 to create a new record; although the implementation checks for only three arguments, it reads this fourth argument unconditionally.
ModalMode: open as a modal dialog.
FullScreenMode: open full-screen and modal.
ReadOnly: force read-only mode.
Left, Top: optional desktop dialog coordinates.
IWCallBackScriptDataChanged: optional web callback script.
Returns: Modal desktop form result after OK, otherwise NULL. Non-modal desktop and web navigation paths generally leave the result undefined.
Availability: Default desktop and web UI; forbidden in the update scheduler build.
Example:
Result := CIP_CallDBForm("", "DailyProduction", "CurrentMonth", DataID, true, false, false);