Skip to Content
0
Former Member
Mar 06, 2009 at 09:35 AM

Journal Entry for Business Partner account

26 Views

Dear Experts,

i want to generate journal entry for subcontractor account. i'm using following code

Dim bp As String

oBP = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)

oBP.GetByKey("C0001")

bp = oBP.DebitorAccount

.......

......

oSBOJournalEntries.Lines.AccountCode = bp

oSBOJournalEntries.Lines.Debit = 15000

oSBOJournalEntries.Lines.Credit = 0

oSBOJournalEntries.Lines.Add()

it saying error we r not able to generate journal entry for this account

how to create jounal for BP in BPRecievablePayable account

--

Mathi