on 09-10-2008 1:36 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.