--- title: "CopyUp" slug: "copyup" updated: 2026-06-08T17:05:37Z published: 2026-06-08T17:05:37Z canonical: "docs.datajet.app/copyup" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.datajet.app/llms.txt > Use this file to discover all available pages before exploring further. # CopyUp Copies a field from the MANY (Foreign) table to the ONE (primary) table. | Key | Value | Description | | --- | --- | --- | | method | CopyUp | Copies field from Foreign to Primary Table | | project | "currentprojectname" | The current project | | targetTable | "primarytablename" | The table on which to create the new field | | sourceField | "foreignfieldfullname" | The fully qualified name of the field to copy | | keyField | "keyfieldfullname" | NOT USED | | name | "targetfieldshortname" | Name of new field | | dataSet | {} | Dataset of records to copy. | | overwrite | true/false | | ```json { "method": "CopyUp", "project": "", "targetTable": "", "sourceField": "", "keyField": "", "name": "", "dataSet": {}, "overwrite": false } ```