cancel
Showing results for 
Search instead for 
Did you mean: 

How to change GL account in SAP B1?.

former_member183402
Participant
0 Kudos

Hi all,

How to change GL account (example: bank account) from all currency to another currency (example: USD)?

Please anyone can help me.

Accepted Solutions (1)

Accepted Solutions (1)

former_member185682
Active Contributor
0 Kudos

Hi Rurangwa,

Did you try something like this?


                ChartOfAccounts oAccount = oCompany.GetBusinessObject(BoObjectTypes.oChartOfAccounts);

                if(oAccount.GetByKey("1.01.01.01.100"))

                {

                    oAccount.AcctCurrency = "R$";

                    if(oAccount.Update() != 0)

                    {

                        MessageBox.Show(oCompany.GetLastErrorCode() + " - " + oCompany.GetLastErrorDescription());

                    }

                }

I believe that, if you have any transaction associated with this account, SAP B1 does not allow change the currency.


Best regards,

Diego Lother


View Diego Lother's profile on LinkedIn

former_member183402
Participant
0 Kudos

Thank you Diego.

Answers (0)