Request Form Control Conversion
Request form controls are converted to request page fields or groups. Label, text box, check box, option button, command button type controls are converted to request page fields, frame type controls are converted to request page groups. Menu button, image, picture box, shape, indicator, tab control, subform, table box and matrix box type controls are not converted to request page elements.
Property Conversion​
Label control property conversion​
The main label type control conversion rules:
- If ParentControl property not defined, then label type control is converted to request page field. Label Caption and CaptionML properties values are transferred to new C/AL text constant Caption and CaptionML properties. C/AL text constant is used in request page field CaptionClass property.
- If ParentControl property defined and parent control has a value in CaptionClass property, then label property values are not transferred.
- If ParentControl property defined and parent control Caption property has a value, but there is no value in CaptionClass property, then label Caption and CaptionML properties values are transferred to new C/AL text constant which is used in converted parent control field CaptionClass property.
- If ParentControl property defined and parent control Caption property has no value, then label Caption and CaptionML properties are transferred to parent control field Caption and CaptionML properties.
List of label control properties which are transferred to RDLC format report field properties:
Request Form Label Property | Request Page Field Property |
---|---|
ID | ID |
Name | Name |
XPos | - |
YPos | - |
Width | - |
Height | - |
HorzGlue | - |
VertGlue | - |
Visible | Visible |
ParentControl | - |
InFrame | - |
InPage | - |
InColumnHeading | Caption or C/AL text constant Caption property |
CaptionML | CaptionML or C/AL text constant CaptionML property |
HorzAlign | - |
VertAlign | - |
ForeColor | - |
BackColor | - |
BackTransparent | - |
Border | - |
BorderColor | - |
BorderStyle | - |
BorderWidth | - |
FontName | - |
FontSize | - |
FontBold | Style=Strong |
FontItalic | - |
FontStrikethru | - |
FontUnderline | - |
MultiLine | MultiLine |
PadChar | - |
LeaderDots | - |
ToolTip | ToolTip |
ToolTipML | ToolTipML |
Description | Description |
CaptionClass | CaptionClass |
DataSetFieldName | - |
Text box control property conversion​
Request form text boxes are converted to request page fields.
List of text box control properties which are transferred to RDLC format report field properties:
Request Form Text Box Property | Request Page Field Property |
---|---|
ID | ID |
Name | Name |
XPos | - |
YPos | - |
Width | - |
Height | - |
HorzGlue | - |
VertGlue | - |
Visible | Visible |
Enabled | Enabled |
Editable | Editable |
Focusable | - |
ParentControl | - |
InFrame | - |
InPage | - |
InColumn | - |
InMatrix | - |
InMatrixHeading | - |
Caption | Caption |
CaptionML | CaptionML |
HorzAlign | - |
VertAlign | - |
ForeColor | - |
BackColor | - |
BackTransparent | - |
Border | - |
BorderColor | - |
BorderStyle | - |
BorderWidth | - |
FontName | - |
FontSize | - |
FontBold | Style=Strong |
FontItalic | - |
FontStrikethru | - |
FontUnderline | - |
MultiLine | MultiLine |
PadChar | - |
LeaderDots | - |
MaxLength | - |
PasswordText | - |
AutoEnter | - |
ToolTip | ToolTip |
ToolTipML | ToolTipML |
Lookup | Lookup |
DrillDown | DrillDown |
AssistEdit | AssistEdit |
DropDown | - |
PermanentAssist | - |
Description | Description |
OptionString | - |
OptionCaption | OptionCaption |
OptionCaptionML | OptionCaptionML |
DecimalPlaces | DecimalPlaces |
Title | Title |
MinValue | MinValue |
MaxValue | MaxValue |
NotBlank | NotBlank |
Numeric | Numeric |
CharAllowed | CharAllowed |
DateFormula | DateFormula |
ClosingDates | ClosingDates |
ValuesAllowed | ValuesAllowed |
NextControl | - |
ClearOnLookup | - |
Format | - |
BlankNumbers | BlankNumbers |
BlankZero | BlankZero |
SignDisplacement | - |
AutoFormatType | AutoFormatType |
AutoFormatExpr | AutoFormatExpr |
CaptionClass | CaptionClass |
Divisor | - |
SourceExpr | SourceExpr |
AutoCalcField | - |
TableRelation | TableRelation |
ValidateTableRelation | - |
LookupFormID | LookupPageID |
DrillDownFormID | DrillDownPageID |
DataSetFieldName | - |
Check box control property conversion​
Request form check boxes are converted to request page fields.
List of check box control properties which are transferred to RDLC format report field properties:
Request Form Check Box Property | Request Page Field Property |
---|---|
ID | ID |
Name | Name |
XPos | - |
YPos | - |
Width | - |
Height | - |
HorzGlue | - |
VertGlue | - |
Visible | Visible |
Enabled | Enabled |
Editable | Editable |
Focusable | - |
FocusOnClick | - |
ParentControl | - |
InFrame | - |
InPage | - |
InColumn | - |
InMatrix | - |
InMatrixHeading | - |
Caption | Caption |
CaptionML | CaptionML |
ShowCaption | - |
HorzAlign | - |
VertAlign | - |
ForeColor | - |
BackColor | - |
BackTransparent | - |
Border | - |
FontName | - |
FontSize | - |
FontBold | Style=Strong |
FontItalic | - |
FontStrikethru | - |
FontUnderline | - |
BitmapPos | - |
PushAction | - |
Bitmap | - |
ToolTip | ToolTip |
ToolTipML | ToolTipML |
Description | Description |
MinValue | MinValue |
MaxValue | MaxValue |
ValuesAllowed | ValuesAllowed |
NextControl | - |
CaptionClass | CaptionClass |
SourceExpr | SourceExpr |
AutoCalcField | - |
UpdateOnAction | - |
RunObject | - |
RunFormView | - |
RunFormLink | - |
RunFormLinkType | - |
RunFormOnRec | - |
RunCommand | - |
Option button control property conversion​
Request form option buttons are converted to request page fields.
List of option button control properties which are transferred to RDLC format report field properties:
Request Form Option Button Property | Request Page Field Property |
---|---|
ID | ID |
Name | Name |
XPos | - |
YPos | - |
Width | - |
Height | - |
HorzGlue | - |
VertGlue | - |
Visible | Visible |
Enabled | Enabled |
Editable | Editable |
Focusable | - |
FocusOnClick | - |
ParentControl | - |
InFrame | - |
InPage | - |
InColumn | - |
InMatrix | - |
InMatrixHeading | - |
Caption | Caption |
CaptionML | CaptionML |
ShowCaption | - |
HorzAlign | - |
VertAlign | - |
ForeColor | - |
BackColor | - |
BackTransparent | - |
Border | - |
FontName | - |
FontSize | - |
FontBold | Style=Strong |
FontItalic | - |
FontStrikethru | - |
FontUnderline | - |
BitmapPos | - |
PushAction | - |
Bitmap | - |
ToolTip | ToolTip |
ToolTipML | ToolTipML |
Description | Description |
MinValue | MinValue |
MaxValue | MaxValue |
ValuesAllowed | ValuesAllowed |
NextControl | - |
OptionValue | - |
CaptionClass | CaptionClass |
SourceExpr | SourceExpr |
AutoCalcField | - |
UpdateOnAction | - |
RunObject | - |
RunFormView | - |
RunFormLink | - |
RunFormLinkType | - |
RunFormOnRec | - |
RunCommand | - |
Command button control property conversion​
Request form command buttons are converted to request page fields.
The main command button conversion rules:
- For each command button there is C/AL text constant created with Caption and CaptionML property values transferred. Text constant is used as a request page field SourceExpr.
- Each new field created for command button conversion has Editable property value set to
FALSE
.
List of command button control properties which are transferred to RDLC format report field properties:
Request Form Command Button Property | Request Page Field Property |
---|---|
ID | ID |
Name | Name |
XPos | - |
YPos | - |
Width | - |
Height | - |
HorzGlue | - |
VertGlue | - |
Visible | Visible |
Enabled | Enabled |
Focusable | - |
FocusOnClick | - |
Default | - |
Cancel | - |
ParentControl | - |
InFrame | - |
InPage | - |
Caption | C/AL text constant Caption property |
CaptionML | C/AL text constant CaptionML property |
ShowCaption | - |
HorzAlign | - |
VertAlign | - |
ForeColor | - |
BackColor | - |
BackTransparent | - |
Border | - |
FontName | - |
FontSize | - |
FontBold | Style=Strong |
FontItalic | - |
FontStrikethru | - |
FontUnderline | - |
BitmapPos | - |
AutoRepeat | - |
PushAction | - |
InvalidActionAppearance | - |
Bitmap | - |
Ellipsis | - |
ToolTip | ToolTip |
ToolTipML | ToolTipML |
Description | Description |
NextControl | - |
CaptionClass | - |
UpdateOnAction | - |
RunObject | - |
RunFormView | - |
RunFormLink | - |
RunFormLinkType | - |
RunFormOnRec | - |
RunCommand | - |
Frame control property conversion​
Request form frames are converted to request page groups. All other controls which has frame ID value specified in ParentID property are added to frame group during conversion.
List of frame control properties which are transferred to RDLC format report group properties:
Request Form Frame Property | Request Page Group Property |
---|---|
ID | ID |
Name | Name |
XPos | - |
YPos | - |
Width | - |
Height | - |
HorzGlue | - |
VertGlue | - |
Visible | Visible |
Enabled | Enabled |
Editable | Editable |
Focusable | - |
ParentControl | - |
InFrame | - |
InPage | - |
Caption | Caption |
CaptionML | CaptionML |
ShowCaption | - |
ForeColor | - |
BackColor | - |
BackTransparent | - |
Border | - |
BorderColor | - |
BorderStyle | - |
BorderWidth | - |
FontName | - |
FontSize | - |
FontBold | - |
FontItalic | - |
FontStrikethru | - |
FontUnderline | - |
TopLineOnly | - |
ToolTip | - |
ToolTipML | - |
Description | Description |
CaptionClass | - |
Trigger​
If same trigger exists, code and C/AL local variables from request form control trigger are transferred to proper request page field trigger, otherwise there is new C/AL function created and request from control trigger code and C/AL local variables transferred to it. C/AL function can be executed on some request page trigger or not executed at all if proper trigger does not exists.
There are some different trigger conversion rules applied according to the control type:
Label trigger conversion
Label type control has only one trigger which is converted to C/AL function:
Label Trigger Function Name OnPush() “SRB_” + ID + “OnPush” Text box trigger conversion
Text box type control triggers are transferred to proper request page field triggers or to new C/AL functions.
List of request form text box triggers which are transferred to proper request page field triggers:
Text Box Trigger Request Page Field Trigger OnValidate() OnValidate() OnLookup() OnLookup() OnDrillDown() OnDrillDown() OnAssistEdit() OnAssistEdit() List of request form text box triggers which are transferred to new C/AL functions:
Text Box Trigger Function Name OnActivate() “SRB_” + ID + “OnActivate” OnDeactivate() “SRB_” + ID + “OnDeactivate” OnFormat() “SRB_” + ID + “OnFormat” (used in OnAfterGetRecord() trigger after actual OnAfterGetRecord() code) OnBeforeInput() “SRB_” + ID + “OnBeforeInput” OnInputChange() “SRB_” + ID + “OnInputChange” OnAfterInput() “SRB_” + ID + “OnAfterInput” OnAfterValidate() “SRB_” + ID + “OnAfterValidate” (used in OnValidate() trigger after actual OnValidate() code) Check box trigger conversion
Check box type control triggers are transferred to proper request page field triggers or to new C/AL functions.
List of request form check box triggers which are transferred to proper request page field triggers:
Check Box Trigger Request Page Field Trigger OnValidate() OnValidate() List of request form check box triggers which are transferred to new C/AL functions:
Check Box Trigger Function Name OnActivate() “SRB_” + ID + “OnActivate” OnDeactivate() “SRB_” + ID + “OnDeactivate” OnPush() “SRB_” + ID + “OnPush” (used in OnValidate() trigger before actual OnValidate() code) OnAfterValidate() “SRB_” + ID + “OnAfterValidate” (used in OnValidate() trigger after actual OnValidate() code) Option button trigger conversion
Option button type control triggers are transferred to proper request page field triggers or to new C/AL functions.
List of request form option button triggers which are transferred to proper request page field triggers:
Option Button Trigger Request Page Field Trigger OnValidate() OnValidate() List of request form option button triggers which are transferred to new C/AL functions:
Option Button Trigger Function Name OnActivate() “SRB_” + ID + “OnActivate” OnDeactivate() “SRB_” + ID + “OnDeactivate” OnPush() “SRB_” + ID + “OnPush” (used in OnValidate() trigger before actual OnValidate() code) OnAfterValidate() “SRB_” + ID + “OnAfterValidate” (used in OnValidate() trigger after actual OnValidate() code) Command button trigger conversion
Command button type control triggers are converted to C/AL functions:
Request Form Trigger Function Name OnActivate() “SRB_” + ID + “OnActivate” OnDeactivate() “SRB_” + ID + “OnDeactivate” OnPush() “SRB_” + ID + “OnPush” (used in OnDrillDown() trigger)