You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To sync supply chain inventories to the OpenSRP mobile apps, we reference the inventory group resources and the List resources used to link the inventory to a location on a list resource that is then referenced in the app's composition resources.
The current tooling correctly adds the list resource holding the Inventory <> Location link to the Inventory list. It however does not add the group resource to the same list.
Accepatance Criteria
Add Inventory Group Resource reference to the Inventory List entries.
The text was updated successfully, but these errors were encountered:
@dubdabasoduba for these it looks like the groups already exist, in the server, so we simply need to update the method in the csv to update instead of create, and it should work okay. I have tested with the first 5 records in the shared csv
We then need to link the resulting LIST and GROUP resources to the LIST defined on the Composition, i.e., the list specified on the --list_resource_idhere.
What is happening right now
If you use the create method the Lists linking the Inventory to locations are added to the list referenced on --list_resource_id but the Groups representing the inventory are not.
If you use the update method the the Groups representing the inventory are added to the list referenced on --list_resource_id but Lists linking the Inventory to locations are not.
If you import the inventory from multiple files, both the create and update methods seem to re-create the List referenced on --list_resource_id instead of adding to it
Context
Accepatance Criteria
The text was updated successfully, but these errors were encountered: