How to open OE Order Entry View using Advantage API

By | July 29, 2019

In this blog, we will be discussing about opening and composing the OE Order Entry View using Sage 300 Advantage API method.

Below are the steps which will guide through opening and composing the OE Order Entry View.

New Stuff:  Validate Sage 300 user Credentials

Step 1:

Include the Sage 300 Advantage DLL in the project.

Step 2:

Once the Advantage DLL is included, create the object of the Session.

Session _session = new Session();

Step 3:

Take the DB Link object and assign link to that object.

DBLink dBLink = null;

dBLink = session.OpenDBLink(DBLinkType.Company, DBLinkFlags.ReadWrite);

Step 4:

Open the views.

View view = dBLink.OpenView(“OE0520”);

View view2 = dBLink.OpenView(“OE0500”);

View view3 = dBLink.OpenView(“OE0740”);

View view4 = dBLink.OpenView(“OE0180”);

View view5 = dBLink.OpenView(“OE0526”);

View view6 = dBLink.OpenView(“OE0522”);

View view7 = dBLink.OpenView(“OE0508”);

View view8 = dBLink.OpenView(“OE0507”);

View view9 = dBLink.OpenView(“OE0501”);

View view10 = dBLink.OpenView(“OE0502”);

View view11 = dBLink.OpenView(“OE0504”);

View view12 = dBLink.OpenView(“OE0506”);

View view13 = dBLink.OpenView(“OE0503”);

Step 5:

Compose the views.

view.Compose(new View[6] { view2, null, view4, view3, view5, view6 });

view2.Compose(new View[6] { view, view9, view13, view10, view7, view8 });

view3.Compose(new View[1] { view });

view4.Compose(new View[2] { view, view2 });

view5.Compose(new View[1] { view });

view6.Compose(new View[1] { view });

view7.Compose(new View[1] { view2 });

view8.Compose(new View[1] { view2 });

view9.Compose(new View[1] { view2 });

view10.Compose(new View[3] { view2, view11, view12 });

view11.Compose(new View[1] { view10 });

view12.Compose(new View[1] { view10 });

view13.Compose(new View[1] { view2 });

About Us:-

Greytrix a globally recognized Premier Sage Gold Development Partner is a one stop solution provider for Sage ERP and Sage CRM needs. Being recognized and rewarded for multi-man years of experience, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third party add-on development and implementation expertise.

Greytrix offers unique GUMU™ integrated solutions of Sage 300 with Sage CRM, and Magento eCommerce along with Sage 300 Migration from Sage 50 US, Sage 50 CA, Sage PRO, QuickBooks, Sage Business Vision and Sage Business Works. We also offer best-in-class Sage 300 customization and development services and integration service for applications such as POS | WMS | Payroll | Shipping System | Business Intelligence | eCommerce for Sage 300 ERP and in Sage 300c development services we offer services such as upgrades of older codes and screens to new web screens, newer integrations using sdata and web services  to Sage business partners, end users and Sage PSG worldwide. Greytrix offers over 20+ Sage 300 productivity enhancing utilities that we can help you with such as GreyMatrix, Document Attachment, Document Numbering, Auto-Bank Reconciliation, Purchase Approval System, Three way PO matching, Bill of Lading and VAT for Middle East.

For more details on Sage 300 and 300c Services, please contact us at We will be glad to assist you.