on 10-25-2014 6:32 PM
Hi Experts,
Sorry me for my english
I try to create a bank statement in the future to import from excel, now is giving me this error:
"Bank Statement Processing is either not supported for this localization, or not enabled",
in the code line:
oBnkStSrv.AddBankStatement(oBankStatement)
This is my code:
Dim row As Long
Dim oBnkStSrv As SAPbobsCOM.BankStatementsService
Dim oCmpSrv As SAPbobsCOM.CompanyService
Dim oBankStatement As SAPbobsCOM.BankStatement
Dim oBnkStRow As SAPbobsCOM.BankStatementRow
Dim MultiPayment As SAPbobsCOM.MultiplePayment
oCmpSrv = compania.GetCompanyService
oBnkStSrv = oCmpSrv.GetBusinessService(SAPbobsCOM.ServiceTypes.BankStatementsService)
oBankStatement = oBnkStSrv.GetDataInterface(SAPbobsCOM.BankStatementsServiceDataInterfaces.bssBankStatement)
row = 2
oBankStatement.BankAccountKey = 1
oBnkStRow = oBankStatement.BankStatementRows.Add()
oBnkStRow.DueDate = Today.Date
oBnkStRow.DebitAmountLC = 1000
'oBnkStRow.CreditAmountLC = 500
oBnkStRow.Details = "Prueba"
oBnkStSrv.AddBankStatement(oBankStatement)
SBO_Application.MessageBox("Done!")
SAP B1 9 PL 05
Region: Mexico.
If someone can tell me what is wrong.
Best Regards.
Carlos Bonilla.
Hi Carlos,
Did you activate the BSP in the administration of the company?
Regards,
Eric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Carlos,
Great month for me: just because of the SCN, and besides all my travels, I was able to look directly at Italian and Guatemaltec personalization. In your case, to discover that, as you said, the option is unavailable.
So, from my cursus as SAP, long years ago: perhaps trying to find a personalization which does what you want (meaning, including the BSP) and from your language.
In all cases, open a bug (or feature request) to SAP.
What I would try, at least for the fun of testing is creating a different DB with a fully different personnalisation (French, Dutch, whatever, but which is using the BSP) and looking ta which value in the DB is changing and manually activating it in a Guat. DB.
For sure not supported, but for the knowledge and the fun of it will be interesting.
Will try after my diner.
From my point, if the option is unavailable it will not work with the SDK.
Regards,
Eric
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
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.