

This extension provides rich OpenEdge ABL language support for Visual Studio Code. You can find both, download and documentation, here.Įverything has been built with List & Label 21, Open Edge 11.6 64 bit and Visual Studio Community 2015.NET Framework 4 is required.OpenEdge ABL language support for Visual Studio Code Before trying to build your own service please read the documentation here and then play around with the demo application. If you want to give it a try then download. OProvider:ServiceName = "ListLabelDemo.Sports2000Service". OProvider:ServiceAdapter = oServiceAdapter. OServiceAdapter = NEW Sports2000ServiceAdapter(). USING ListLabelDemo.Sports2000ServiceAdapter FROM PROPATH.ĭEFINE VARIABLE oProvider AS OpenEdgeDataProvider NO-UNDO.ĭEFINE VARIABLE oLL AS ListLabel NO-UNDO.ĭEFINE VARIABLE oServiceAdapter AS Sports2000ServiceAdapter NO-UNDO. * Indexes: Customer.Customer > ShipTo.custnumshipto */ ServiceSchema:registerFileRelation("Customer","ShipTo","CustNum,CustNum","Customer_ShipTo"). * Indexes: Customer.Customer > RefCall.CustNum */ ServiceSchema:registerFileRelation("Customer","RefCall","CustNum,CustNum","Customer_RefCall"). * Indexes: Customer.Customer > Order.CustOrder */ ServiceSchema:registerFileRelation("Customer","Order","CustNum,CustNum","Customer_Order"). * Indexes: Customer.Customer > Invoice.CustNum */ ServiceSchema:registerFileRelation("Customer","Invoice","CustNum,CustNum","Customer_Invoice").


* Indexes: Customer.Customer > BillTo.custnumbillto */ ServiceSchema:registerFileRelation("Customer","BillTo","CustNum,CustNum","Customer_BillTo"). An included relation generator tool helps you to get this done – at least a first shot. Relations are registered similar to files in the include file. ServiceSchema:registerView("OrderView","Order,OrderLine",2). ServiceSchema:registerFile(_file._file-name). ServiceSchema:DatabaseName = "sports2000".įOR EACH sports2000._file WHERE _file._hidden = FALSE NO-LOCK: METHOD OVERRIDE PUBLIC VOID registerSchema( ):

USING FROM PROPATH.ĬLASS ListLabelDemo.Sports2000Service INHERITS OpenEdgeService:ĬONSTRUCTOR PUBLIC Sports2000Service ( ): The music plays in the generic OpenEdge Service class you inherit from. All you have to do is to register all of your database tables and to define relations. If you want generic access to your entire database, create a service class similar to the Sports2000 demo service.
