From d73deed683b544606307518b8257cc05597be71c Mon Sep 17 00:00:00 2001 From: Jos Groot Lipman Date: Thu, 30 Mar 2017 21:20:48 +0000 Subject: [PATCH] include=tracking gaf error door hernoemde velden svn path=/Website/trunk/; revision=33354 --- APPL/API2/model_appointments.inc | 2 +- APPL/API2/model_contracts.inc | 2 +- APPL/API2/model_invoices.inc | 2 +- APPL/API2/model_issues.inc | 2 +- APPL/API2/model_objects.inc | 2 +- APPL/API2/model_reservations.inc | 2 +- APPL/API2/model_rooms.inc | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/APPL/API2/model_appointments.inc b/APPL/API2/model_appointments.inc index b3a0d08864..250cf179e6 100644 --- a/APPL/API2/model_appointments.inc +++ b/APPL/API2/model_appointments.inc @@ -77,7 +77,7 @@ function model_appointments() }, "tracking": { model: new model_tracking(['afspraak']), - joinfield: "fac_tracking_refkey" + joinfield: "trackingrefkey" } }; this.impersonate_auth = "WEB_BEZFOF"; diff --git a/APPL/API2/model_contracts.inc b/APPL/API2/model_contracts.inc index 715bc8428c..b8ac1c25ed 100644 --- a/APPL/API2/model_contracts.inc +++ b/APPL/API2/model_contracts.inc @@ -47,7 +47,7 @@ model_contracts = includes: { "tracking": { model: new model_tracking(['contract']), - joinfield: "fac_tracking_refkey" + joinfield: "trackingrefkey" }, "schedule": { model: new model_cnt_factuurschema(), diff --git a/APPL/API2/model_invoices.inc b/APPL/API2/model_invoices.inc index d7fb56199c..deb419dbf3 100644 --- a/APPL/API2/model_invoices.inc +++ b/APPL/API2/model_invoices.inc @@ -70,7 +70,7 @@ function model_invoices(fin_key, params) }, "tracking": { model: new model_tracking(['contract']), - joinfield: "fac_tracking_refkey" + joinfield: "trackingrefkey" } }; diff --git a/APPL/API2/model_issues.inc b/APPL/API2/model_issues.inc index 95c8aef8fc..68a56edffb 100644 --- a/APPL/API2/model_issues.inc +++ b/APPL/API2/model_issues.inc @@ -72,7 +72,7 @@ function model_issues(mld_key, params) }, "tracking": { model: new model_tracking(['melding']), - joinfield: "fac_tracking_refkey" + joinfield: "trackingrefkey" }, "notes": { model: new model_notes("MLD"), diff --git a/APPL/API2/model_objects.inc b/APPL/API2/model_objects.inc index 51dabf8886..877d94bd17 100644 --- a/APPL/API2/model_objects.inc +++ b/APPL/API2/model_objects.inc @@ -39,7 +39,7 @@ model_objects = includes: { "tracking": { model: new model_tracking(['deel']), - joinfield: "fac_tracking_refkey" + joinfield: "trackingrefkey" } }, REST_GET: function _GET(params) diff --git a/APPL/API2/model_reservations.inc b/APPL/API2/model_reservations.inc index 2bdcfb2d69..73fe5ff9e0 100644 --- a/APPL/API2/model_reservations.inc +++ b/APPL/API2/model_reservations.inc @@ -93,7 +93,7 @@ function model_reservations(rsv_key, params) }, "tracking": { model: new model_tracking(['reservering', 'xreservering']), - joinfield: "fac_tracking_refkey" + joinfield: "trackingrefkey" }, "custom_fields" : { model: new model_custom_fields(this, new model_res_kenmerk(), { readman: true, readuse: true }), joinfield: "flexparentkey" diff --git a/APPL/API2/model_rooms.inc b/APPL/API2/model_rooms.inc index be996145e7..6fdad4e423 100644 --- a/APPL/API2/model_rooms.inc +++ b/APPL/API2/model_rooms.inc @@ -85,7 +85,7 @@ function model_rooms(room_key, params) }, "tracking": { "model": new model_tracking(["ruimte"]), - "joinfield": "fac_tracking_refkey" + "joinfield": "trackingrefkey" }, "departments": { "model": new model_prs_ruimteafdeling(),