Hi,
In Model Mapping, select the required table record eg : Vendtable Then click the Edit button at the top. A dialog box will open. On the right side of the dialog, click Select Fields and choose the field(s) that you would like to add.

Please find the below dialog,
To add the required field, please follow the screenshot below.
If you need to create a field in a data model and model mapping bind, please follow the steps below.
Add Your Field to the ER Data Model (if needed)
Select your Data Model config → Click Designer
Navigate to the node where invoice lines/header data lives (e.g., InvoiceLines or Header
- Click New → Add a field with:
- Name: e.g.,
MyCustomField
- Type: String / Real / Integer (your X++ field type)
- Save
Map the Field in Model Mapping
Open your Model Mapping configuration → Click Designer
On the left pane (Data Sources), expand
Table Records → find your Temp table (it should already be a data source if your DP class populates it)
If your Temp table is
not listed as a data source:
- Click Add → Table Records
- Select your Temp table → give it an alias (e.g.,
CustInvoiceV2Tmp)
On the right pane (Model), find the field you added custom field
Drag your Temp table field from the left →
Drop it onto the model field on the right (
Bind button)
Click
Validate to confirm no errors
Save
If the issue still persists after following them, please raise a query, and we will be happy to support you further.
Thanks,
If you found it helpful, please consider marking it as verified — it may be useful for others in the future!