Thursday, 10 October 2019

Adding new datasource to existed form and linking with other data source

final class CITEcoResProductDetailsExtended_Extension
{

Created a view "ProductCategoryView"  and added link to existing data source using code.


    public void init()
    {
        QueryBuildDataSource  queryDataSourceLink;
        next init();   
        queryDataSourceLink  = this.query().datasourcetable(tablenum(ProductCategoryView));
        queryDataSourceLink.addlink(fieldNum(EcoResProductCategory,Category),fieldnum(ProductCategoryView,ChildRecId)); 
    }

}

2 comments:

  1. Do you need Finance? Are you looking for Finance? Are you looking for finance to enlarge your business? We help individuals and companies to obtain finance for business expanding and to setup a new business ranging any amount. Get finance at affordable interest rate of 3%, Do you need this finance for business and to clear your bills? Then send us an email now for more information contact us now via (financialserviceoffer876@gmail.com) whats-App +918929509036 Dr James Eric Finance Pvt Ltd Thanks

    ReplyDelete
  2. Do you need Finance? Are you looking for Finance? Are you looking for finance to enlarge your business? We help individuals and companies to obtain finance for business expanding and to setup a new business ranging any amount. Get finance at affordable interest rate of 3%, Do you need this finance for business and to clear your bills? Then send us an email now for more information contact us now via (financialserviceoffer876@gmail.com) whats-App +918929509036 Dr James Eric Finance Pvt Ltd Thanks

    ReplyDelete