美文网首页
ax 2012 add company to virtual c

ax 2012 add company to virtual c

作者: axxxxxxxx | 来源:发表于2018-05-28 16:42 被阅读0次
    static void addtoVirtualCompany(Args _args)
    {
        VirtualDataAreaList curlist, tocurlist;
        select curlist where curlist.id == 'CNK';
        buf2Buf(curlist,tocurlist);
        tocurlist.id = 'TCLE';
        tocurlist.insert();
        info('done');*/
    }
    

    get workflow assign user name value
    reference : https://community.dynamics.com/ax/f/33/t/245145

       WorkflowTable           workflowTable;
       WorkflowVersionTable    workflowVersionTable;
       WorkflowElementTable    workflowElementTable;
       WorkflowStepTable       workflowStepTable;
       WorkflowAssignmentTable workflowAssignmentTable;
       while select workflowAssignmentTable
               join workflowStepTable
              where workflowStepTable.RecId == workflowAssignmentTable.workflowStepTable
               join workflowElementTable
              where workflowElementTable.ElementId ==workflowStepTable.ElementId
               join workflowVersionTable
              where workflowVersionTable.ConfigurationId == workflowElementTable.ConfigurationId
                 && workflowVersionTable.Enabled == NoYes::Yes
               join workflowTable
              where workflowTable.RecId == workflowVersionTable.workflowTable
                 && workflowTable.DocumentTableName == "SalesQuotationTable"
       {
           info(strFmt("%1", workflowAssignmentTable.UserValue));
       }
    

    相关文章

      网友评论

          本文标题:ax 2012 add company to virtual c

          本文链接:https://www.haomeiwen.com/subject/mgvgjftx.html