Parameter Loop Extensions

 

Harmony Core Parameter Loop Extensions

 


Expansion Tokens

 

<HARMONYCORE_BRIDGE_PARAMETER_DATAOBJECT>

 

For structure parameters, this token inserts the name of the associated Harmony Core data object. Unlike other tokens that produce similar results, such as <ParameterStructureNoplural>, this token is immune from  the effects of the PARAMDEFSTR tweak.

 

<HARMONYCORE_BRIDGE_PARAMETER_DEFINITION>

 

Similar to the parameter loop token <PARAMETER_DEFINITION> in that it inserts the parameter data type definition of the current parameter, but with one key difference. If an implied decimal field has the same size and precision (e.g. D8.8) then this token increments the size of the field by one byte (e.g. inserting D9.8.

 

 

<HARMONYCORE_BRIDGE_PARAMETER_TYPE>

 

Inserts the Synergy .NET data type to be used when passing data to a method parameter via Harmony Core Traditional Bridge. The logic used when determining the Synergy .NET type to use follows the guidelines defined in the Synergy Method Catalog for the parameter, including any coercion rules that may be defined. In addition any optional parameters that result in value types will be converted to a nullable type.

 

<HARMONYCORE_BRIDGE_PARAMETER_TYPE_CS>

 

Inserts the C# data type to be used when passing data to a method parameter via Harmony Core Traditional Bridge. The logic used when determining the C# type to use follows the guidelines defined in the Synergy Method Catalog for the parameter, including any coercion rules that may be defined. In addition any optional parameters that result in value types will be converted to a nullable type. For structure parameters the structure name is inserted in Pascal case, for example ORDER_ITEM will be inserted as OrderItem.

 

<HARMONYCORE_BRIDGE_PARAMETER_TYPE_CS_XF>

 

Inserts the C# data type to be used when passing data to a method parameter via Harmony Core Traditional Bridge. The logic used when determining the C# type to use follows the guidelines defined in the Synergy Method Catalog for the parameter, including any coercion rules that may be defined. In addition any optional parameters that result in value types will be converted to a nullable type.   For structure parameters the structure name is inserted in "xf" case, for example ORDER_ITEM will be inserted as Order_item.

 

<HARMONYCORE_PARAMETER_SAMPLE_DATA>

 

Inserts sample data for the parameter.

 


Expressions

 

 

 

 


Copyright © 2021  Synergex International, Inc.