ProcTableFillsList ()
Get the list of all the configured table fills in the subscription.
Available since RPM22 (expanded output on RPM29)
Request
Request Data:
No extra data required
Response
{
"Result": {
"TableFills": [
{
"ID": <int>,
"SourceID": <int>, // Source Process ID
"TargetID": <int>, // Target Process ID
"Settings": {
"TargetTableFieldUid": <string>, // The uid of the table in the target process that will be filled
"TargetTableFieldName": <string>, // The name of the table in the target process that will be filled
"RelationshipUid": <string>, // The Uid of the reference field that points to the Target Process
"RelationshipName": <string>,// The Name of the reference field that points to the Target Process
"OptionUid": <string>, // The Uid of the source table for the fulfillment (or "0_0" if it is the form)
"OptionName": <string>, // The Name of the source table for the fulfillment (or "Form" if it is the form)
"SourceFormsViewID": <int>, // The underlying view that controls the source form conditions
"TargetFormsViewID": <int>, // The underlying view that controls the target form conditions
"Maps": [
{
// The Name and Uid in the target table that will be filled in
"ToUid": <string>,
"ToName": <string>,
// Name and Uid of the field in the source form that will set the value for the fill
"FromSourceUid": <string>,
"FromSourceName": <string>,
// Name and Uid of the field in the target form that will set the value for the fill
"FromTargetUid": <string>,
"FromTargetName": <string>,
// The method that dictates the logic of which field value is chosen (FromSource vs. FromTarget)
"Method": <enum:
0=Not applicable,
1=Greater, //(for numeric values),
2=Lesser, //(for numeric values)
3=Later, // (for date values),
4=Earlier, //(for date values),
5=SourceFirst, //(if the source field has a value use that),
6=SourceFirst, //(if the target field has a value use that)
>
},
// ... more mapped fields
]
}
},
// ... more table fills
]
}
}