OpenFn/unicef-cambodia

Add new field to F2-J2 OSCaR to Primero job

daissatou2 opened this issue · 1 comments

Feature Request

Background, context, and business value

Please add this field mapping to the job: services[][enrollment_date]

It is highlighted in green in the mapping specs. It should be added here: https://github.com/OpenFn/unicef-cambodia/blob/master/jobs/V2/f2-j2-upsertCasesToPrimero.js#L266-L280

state.json

{
  "configuration": 
Primero V2 Cambodia Demo API user
Oscar Staging (api only user)
  "data": Run F2-J1 to generate state
}

expression.js

https://github.com/OpenFn/unicef-cambodia/blob/master/jobs/V2/f2-j2-upsertCasesToPrimero.js

@daissatou2 I added the new field to the mapping.