cancel
Showing results for 
Search instead for 
Did you mean: 

"Invalid Control Account Type" When adding BP using DI Server

Former Member
0 Kudos

Dear,

I am adding Employee as Vendor using DI Server, I already set "Sundry Creditors Employee" as Payable type but when Add through DI Server get Error "Invalid Control Account Type"

sample Code:

myBP.BPAccountReceivablePaybleCollection = New BusinessPartnerBPAccountReceivablePayble(0) {} myBP.BPAccountReceivablePaybleCollection(0) = New BusinessPartnerBPAccountReceivablePayble() myBP.BPAccountReceivablePaybleCollection(0).AccountType = BusinessPartnerBPAccountReceivablePaybleAccountType.bpat_Payable myBP.BPAccountReceivablePaybleCollection(0).AccountTypeSpecified = True myBP.BPAccountReceivablePaybleCollection(0).AccountCode = "_SYS0000000000"

Thanks and Regards.

Accepted Solutions (1)

Accepted Solutions (1)

former_member185682
Active Contributor
0 Kudos

Hi Rahul,

You need use an account that be a control account. Check on chart of accounts if the account that you use is an control account.

Kind Regards,

Diego Lother

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi DIEGO LOTHER,

Thanks for your reply. I Already the checkbox for Control Account is ticked/checked. but error remain same.please suggest any solutions, I am adding BP "Employee as Vendor" and Set Sandry Creditor Employee as Payble account.
Thanks and Regards.