Update the Variance Report Export to contain columns for each variance report item
Take the items in EXPORT_VARIANCE_CONFIG and flatten the keys into an array
Use the flattened array to compare against the record.fields, which are the variance items found in each record
If the key matches a field, then we push the key to the record under their own item record[field.key] (as opposed to daisy chaining all the variances under notes).
Fix the Variance test as the databases are now (as #291) recreated for each test, so the test will never find an existing export job i.e. Variance report export job already running
Also, increase timeout for the exporter in #291 as they seem to take a little longer with the V3 SDK
Ticket:
#357
Description:
Update the Variance Report Export to contain columns for each variance report item
record.fields
, which are the variance items found in each recordrecord[field.key]
(as opposed to daisy chaining all the variances undernotes
).Fix the Variance test as the databases are now (as #291) recreated for each test, so the test will never find an existing export job i.e.
Variance report export job already running
Also, increase timeout for the exporter in #291 as they seem to take a little longer with the V3 SDK