I am wondering if there is some logic that is keeping this from working.
I have a custom entity "Reseller" and I need the Invoice to pre-populate the priceBookId for that Reseller in order to apply to the invoice items.
In Custom/Resources/metadata/clientDefs/Invoice.json I added the following:
I rebuilt DB and cleared cache. This is still not working properly. Anyone got some ideas on this?
I have a custom entity "Reseller" and I need the Invoice to pre-populate the priceBookId for that Reseller in order to apply to the invoice items.
In Custom/Resources/metadata/clientDefs/Invoice.json I added the following:
PHP Code:
"cReseller": {
"createAttributeMap": {
"priceBookId": "priceBookId",
"billingAddress": "billingAddress",
"shippingAddress": "shippingAddress"
}

Comment