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.