In localized installation, when pushing contributions to quickbooks, we receive errors like:
Failed to store 27 with error AccountInvoice object for 3 is empty.
This is due to the fact that getoptions return labels by default. It's fine for CiviCRM installation where the labels are just an capitalized version of the machine name. For all other installation, this fix is required.
context = "validate" force the api to return the name instead of the (localized) label.
In localized installation, when pushing contributions to quickbooks, we receive errors like:
This is due to the fact that
getoptions
return labels by default. It's fine for CiviCRM installation where the labels are just an capitalized version of the machine name. For all other installation, this fix is required.context = "validate"
force the api to return the name instead of the (localized) label.