Copies a field from the primary table to the foreign table
| Key | Value(s) | Description |
|---|---|---|
| method | "BuildBakedField" | |
| function | "copydowndiscrete" | Copies a field from the primary table to the foreign table |
| targetTable | "ForeignTableName" | Name of table on which to create field. Must be the "Many" side of a "One to Many" join. |
| name | "TargetFieldName" | Name of field to create |
| dataset{} | {} | Dataset selecting which records to copy |
| overwrite | true/false | |
| p1 | "SourceFieldName" | Source field name |
| p2 | "SourceTableName" | Source table name |
{
"method": "BuildBakedField",
"function": "copydowndiscrete",
"targetTable": "%FTABLE%",
"name": "%RANKNAME%",
"overwrite": false,
"p1": "%RANKNAME%",
"p2": "constructor%DSTAMP%",
"project": "SmallTrans"
}