Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8877

Error when Create a bank statement

$
0
0

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.


Viewing all articles
Browse latest Browse all 8877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>