on 2025 Feb 06 8:33 AM
Hi
I have below code . I want to add button in Sales Order Form after Cancell Button
SAPbobsCOM.Company oCompany = new SAPbobsCOM.Company();
SAPbouiCOM.Application oApplication = new SAPbouiCOM.Application();
oCompany.Server = "10.0.1.28:30015";
oCompany.DbServerType = BoDataServerTypes.dst_HANADB;
oCompany.CompanyDB = "Test_LIVE";
oCompany.UserName = "manager";
oCompany.Password = "123";
oCompany.language = BoSuppLangs.ln_English;
oCompany.UseTrusted = true;
int connectionResult = oCompany.Connect();
if (connectionResult != 0)
{
throw new Exception("Error connecting to SAP Business One: " + oCompany.GetLastErrorDescription());
}
Thanks
Request clarification before answering.
Hi ramco1917 ,
Install SAP Business One SDK from SAP Business One Patch Package.
Then, you can refer to the sample project "11.SystemFormManipulation" from the following location:
C:\Program Files (x86)\sap\SAP Business One SDK\Samples\COM UI\CSharp
It will help you.
Kind regards,
ANKIT CHAUHAN
SAP Business One Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
59 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.