cancel
Showing results for 
Search instead for 
Did you mean: 

Is their any services for Journal Entry in B1WS

Former Member
0 Kudos

Hi Guys,

I want to post values to G/L Account using web services,is there any services for Journal Entry in Web Services.I didn't found the exact name in that listed services.but in SBO objects have a Journal Entry Objects.

please give me a solution for this..is there any specific forum for Webservices.If it's post it here

Accepted Solutions (1)

Accepted Solutions (1)

Eneveux
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thiyaneswaran,

The B1WS documentation has a list of the available services exposed. One of the Services is the AccountsService. If you then look in the SAP Business One SDK Help documentation, it states that the AccountsService Object ... "enables to transfer credit or debit amounts from a specified opening balance account to one or more G/L accounts. This service creates a journal entry lines".

Other than this service ... you would need to use the Journal Object directly.

Eddy

Former Member
0 Kudos

Hi Eddy..thanks for your reply..

i am having a two account.

1)Student Account(161011) Asset account.

2)Student fees Account(400040) revenue account.

i will debit the value from (161011) account and i credit the values to (400040) account.how can i do this transaction using Web services objects.

Dim accservice As Account.AccountsService = New Account.AccountsService

Dim msgHeader As Account.MsgHeader = New Account.MsgHeader()

msgHeader.SessionID = Mysample.GlbData.sessionID

msgHeader.ServiceName = Account.MsgHeaderServiceName.AccountsService

msgHeader.ServiceNameSpecified = True

accservice.MsgHeaderValue = msgHeader

Dim myacc As Account.GLAccountsGLAccount = New Account.GLAccountsGLAccount

'myacc.Code = "161011"

'myacc.SystemDebit = 5000.0

'myacc.SystemDebitSpecified = True

'myacc.Code = "400040"

'myacc.SystemCredit = 5000.0

'myacc.SystemCreditSpecified = True

myacc.Code = "161011"

myacc.Debit = 5000.0

myacc.DebitSpecified = True

myacc.ForeignDebit = 500.0

myacc.ForeignDebitSpecified = True

myacc.Code = "400040"

myacc.Credit = 5000.0

myacc.CreditSpecified = True

myacc.DueDate = #9/13/2006#

myacc.DueDateSpecified = True

it's running but the value is not posted in G/L accounts.please give me a solution eddy..otherwise is there any other way in web services.

Former Member
0 Kudos

Hi

I don't found add method in Account Service. can u please provide me a sample code to add JE using Web Service.

Thanking you

Hepil Doshi

Former Member
0 Kudos

for Journal Entry in B1WS which namespace you are using.

Answers (0)