PCModelingLibrary::templateSaveFloatAllocation Method [AX 2012]

Saves the allocation value for a float field for the specified template binding.

client server public static void templateSaveFloatAllocation(
    PCClass _component, 
    PCTemplateComponent _templateComponent, 
    PCTemplateAttribute _fieldReference, 
    FormRealControl _floatValue, 
    FormStringControl _stringContainer, 
    FormRadioControl _radioButtons)

Run On

Called

Parameters

_component
Type: PCClass Table
The component that owns the allocation.
_templateComponent
Type: PCTemplateComponent Table
The container of field allocations for the component.
_fieldReference
Type: PCTemplateAttribute Table
The reference to the existing table field.
_floatValue
Type: FormRealControl Class
The FormRealControl object that contains the value if the allocation is set to a constant value.
_stringContainer
Type: FormStringControl Class
The FormStringControl object that contains the name of the attribute if the allocation is set to an attribute.
_radioButtons
Type: FormRadioControl Class
The FormRadioControl object that will be set to the PCAllocation::Attribute enumeration value if the allocation is of the attribute type; otherwise it will be set to the PCAllocation::Value enumeration value.
Show: