Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4 ตอบกลับ
5546 มุมมอง

hi,

i've got the following problem when validating an invoice:

Error occurred while validating the field(s) account_id: You cannot create analytic line on view account.

Can someone explain what i did wrong?

I guess it's probably the column 'account_id' in table 'account_invoice' which gives the problem, but what is a correct value then? What id needs to be filled in there, what does it mean? Or how do i prevent the errordialog?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Dear Remi,

Could you please explain what you mean by "forgot to pass the context"? I have the same problem and can't figure out how to go past this... Thanks!

Wouter

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Check your account, it seems that your account type is "View". Account with "View" type only used to make structural hierachy on accounts and can't be used in transaction.

อวตาร
ละทิ้ง
ผู้เขียน

found the problem: forgot to pass the context

คำตอบที่ดีที่สุด

same problem here .

 

how can i validate the invoice???

อวตาร
ละทิ้ง