Row #1: Reference Type cannot be "Motivation". It should be one of "", "Sales Invoice",

i want the journal entry that i created from my custom doctype to be linked to that doc?!
i get this error
Row #1: Reference Type cannot be "Motivation". It should be one of "", "Sales Invoice", "Purchase Invoice", "Journal Entry", "Sales Order", "Purchase Order", "Expense Claim", "Asset", "Loan", "Payroll Entry", "Employee Advance", "Exchange Rate Revaluation", "Invoice Discounting", "Fees", "Full and Final Statement", "Payment Entry"
i add the option to the select by property setter

Hi @manal_erpnext:

Check field name on your property setter … i think it should be voucher_type instead reference_type

Hope this helps.

Do you mean this field @avc ?

Hi @manal_erpnext:

I mean this …

As your screenshot …

image

But … are your customization (property setter) made for Journal Entry or Journal Entry Account? Maybe you settled the property for wrong doctype …

That’s right thx @avc