Skip to content

Commit fc11f75

Browse files
update docs (#283)
Co-authored-by: Patrick Cook <patrick.cook@procore.com>
1 parent a47cb4a commit fc11f75

File tree

1 file changed

+46
-5
lines changed

1 file changed

+46
-5
lines changed

erp_integration/erp_events_dictionary.md

Lines changed: 46 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,12 @@ There are no required actions. Optionally, the ERP Integration can sync data rel
376376
"origin_id": null,
377377
"origin_data": null,
378378
"origin_code": "JOB-EXP",
379+
"custom_fields": {
380+
"custom_field_1": {
381+
"data_type": "datetime",
382+
"value": "2025-02-21T10:00:00Z"
383+
}
384+
},
379385
"erp_custom_fields": {},
380386
"address": "",
381387
"city": "",
@@ -918,8 +924,13 @@ There are no required actions. Optionally, the ERP integration might perform som
918924
"contract_id": 1,
919925
"contract_origin_id": "contract_origin_id",
920926
"created_at": "2021-03-02T22:26:28Z",
921-
"custom_fields": null,
922-
"erp_custom_fields": null,
927+
"custom_fields": {
928+
"custom_field_1": {
929+
"data_type": "datetime",
930+
"value": "2025-02-21T10:00:00Z"
931+
}
932+
},
933+
"erp_custom_fields": {},
923934
"formatted_payment_due": "$1,087.80",
924935
"invoice_number": "9348",
925936
"job_origin_id": "job_origin_id",
@@ -1125,12 +1136,18 @@ The integrator is responsible for pulling invoice payments from the ERP system a
11251136
"contract_estimated_completion_date": null,
11261137
"contract_start_date": null,
11271138
"created_at": "2020-10-19T12:17:31-07:00",
1139+
"custom_fields": {
1140+
"custom_field_1": {
1141+
"data_type": "datetime",
1142+
"value": "2025-02-21T10:00:00Z"
1143+
}
1144+
},
11281145
"deleted_at": null,
11291146
"delivery_date": null,
11301147
"description": "",
11311148
"draft_change_orders_amount": "0.0",
11321149
"due_date": null,
1133-
"erp_custom_fields": null,
1150+
"erp_custom_fields": {},
11341151
"exclusions": "",
11351152
"executed": false,
11361153
"execution_date": null,
@@ -1347,12 +1364,18 @@ The ERP Integration is expected to check the state of the commitment. If the com
13471364
"contract_estimated_completion_date": null,
13481365
"contract_start_date": null,
13491366
"created_at": "2020-10-19T12:17:31-07:00",
1367+
"custom_fields": {
1368+
"custom_field_1": {
1369+
"data_type": "datetime",
1370+
"value": "2025-02-21T10:00:00Z"
1371+
}
1372+
},
13501373
"deleted_at": null,
13511374
"delivery_date": null,
13521375
"description": "",
13531376
"draft_change_orders_amount": "0.0",
13541377
"due_date": null,
1355-
"erp_custom_fields": null,
1378+
"erp_custom_fields": {},
13561379
"exclusions": "",
13571380
"executed": false,
13581381
"execution_date": null,
@@ -1491,6 +1514,12 @@ The ERP Integration is expected to check the state of the commitment. If the com
14911514
"paid_date": "2020-10-19T19:17:54Z",
14921515
"reviewed_at": "2020-10-19T19:17:54Z",
14931516
"description": "This is a description",
1517+
"custom_fields": {
1518+
"custom_field_2": {
1519+
"data_type": "datetime",
1520+
"value": "2025-02-21T10:00:00Z"
1521+
}
1522+
},
14941523
"erp_custom_fields": {}
14951524
},
14961525
"change_order_items": [
@@ -1911,7 +1940,7 @@ The integrator can use the Procore API to stage any new prime contracts or prime
19111940
**Event Payload:**
19121941
```
19131942
{
1914-
"request_name": "sync_prime_contracts",
1943+
"request_name": "create_prime_contract_change_order",
19151944
"request_data": {
19161945
"project": {
19171946
"id": 48,
@@ -1935,6 +1964,12 @@ The integrator can use the Procore API to stage any new prime contracts or prime
19351964
"contractor": {"id": null},
19361965
"created_at": "2021-04-13T22:17:28Z",
19371966
"created_by": {"id": 2, "login": "procore@procore.com", "name": "Customer Support"},
1967+
"custom_fields": {
1968+
"custom_field_1": {
1969+
"data_type": "datetime",
1970+
"value": "2025-02-21T10:00:00Z"
1971+
}
1972+
},
19381973
"deleted_at": null,
19391974
"description": "Community Center",
19401975
"draft_change_orders_amount": "0.0",
@@ -2030,6 +2065,12 @@ The integrator can use the Procore API to stage any new prime contracts or prime
20302065
"id": 81,
20312066
"contract_id": 76,
20322067
"created_at": "2021-04-20T15:45:46Z",
2068+
"custom_fields": {
2069+
"custom_field_2": {
2070+
"data_type": "datetime",
2071+
"value": "2025-02-21T10:00:00Z"
2072+
}
2073+
},
20332074
"deleted_at": null,
20342075
"description": "asdf",
20352076
"due_date": null,

0 commit comments

Comments
 (0)