on 03-20-2010 6:56 AM
Hi All,
When I using DI/API to add new Business Partner I have the Error msg: "Accounts receivable/payable is missing [OCRD.DebPayAcct]"
My code:
oBP = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)
oBP.CardCode = MyCardCode
oBP.CardName = MyCardNme
oBP.CardType = BoCardTypes.cCustomer
oBP.AccountRecivablePayables.SetCurrentLine(0)
oBP.AccountRecivablePayables.AccountCode = MyAccount
oBP.AccountRecivablePayables.Add()
RetVal = oBP.Add()
Please help me to fix this problem. Tks
Hello freind
first cheak in yur business partnet accounting tab where yu find acc pable and receivable.if there is not find account by system then it give such type of error
so for this yu can take charted account two types
user defiend account
(2)indian account
so pls select this during creating new company in the system
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
14 | |
10 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.