Update Parent Case Data from Child Case

Hi,
I am using Commcare Supply whereby I have created a child cases of invoices
under the parent case of customers.

These invoices are then cleared through payments. This set-up keeps our
accounting department from "guessing" what payments are for.

Is there a way to update parent case data whereby when I make changes in
the child case, it also makes changes to the parent case?

Specifically, when I make a payment for an invoice, I not only decrease the
amount I owe for my invoice but I also decrease the sum total of all the
invoices for my customer?

Looking forward to your feedback.

Best,
Jodie

Hi Jodie,

In general you should be able to update a parent case from a child case.
You can do this by saving a question in the form to update a parent case
property instead of a case property of the module case type. Parent case
properties are accessed/referenced on the case management tab of the form
settings by using the syntax parent/property_name

Jeremy

ยทยทยท On Thu, Sep 8, 2016 at 8:55 AM, Jodie Wu wrote:

Hi,
I am using Commcare Supply whereby I have created a child cases of
invoices under the parent case of customers.

These invoices are then cleared through payments. This set-up keeps our
accounting department from "guessing" what payments are for.

Is there a way to update parent case data whereby when I make changes in
the child case, it also makes changes to the parent case?

Specifically, when I make a payment for an invoice, I not only decrease
the amount I owe for my invoice but I also decrease the sum total of all
the invoices for my customer?

Looking forward to your feedback.

Best,
Jodie

--
You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Jeremy Wacksman
Dimagi http://www.dimagi.com, Inc.