Args args;
    FormDataSource  fds ;
    MultiSelectionHelper  multiSelectionHelper;
    //
    Tb lineTb;

    args= this.args();
    fds = args.record().dataSource();
    
    multiSelectionHelper = MultiSelectionHelper::construct();
    multiSelectionHelper.parmDatasource(fds);
    lineTb = multiSelectionHelper.getFirst();
    while (lineTb)
    {
        //lineTmp.clear();
        lineTmp.LineRecId = lineTb.RecId;
        lineTmp.Insert();
        
        lineTb = multiSelectionHelper.getNext();
    }
    
    IWS_SalesContrctReleaseTmp.linkPhysicalTableInstance(lineTmp);

标签: none

添加新评论