AOT/SysSetupFormRun/task

 

// VAR Changed on 29 Jun 2011 at 17:29:22 by 7519, add security checking for go to main table
public int task(int _p1)
{
    #task
    FormDataSource formDataSource;

    int ret;

    // VAR Changed on 29 Jun 2011 at 17:29:22 by 7519, add security checking for go to main table - start
    #define.TaskMainTable(293)

    if (    _p1 == #TaskMainTable
        && !hasSecuritykeyAccess(securitykeynum(THK_GoToMainTable), AccessType::Delete))
    {
        Box::stop("@SYS81158""@SYS72189");
        return 0;
    }
    // VAR Changed on 29 Jun 2011 at 17:29:22 by 7519, add security checking for go to main table - end

    if (_p1 == #taskFilter)
    {
        formDataSource = this.objectSet();
        if (formDataSource &&
            formDataSource.queryRun() &&
            formDataSource.queryRun().args() &&
            !formDataSource.queryRun().args().caller())
        {
            formDataSource.queryRun().args().caller(this);
        }
    }

    ret = super(_p1);

    return ret;
}

 

相关文章:

  • 2021-06-12
  • 2021-08-24
  • 2021-12-21
  • 2022-12-23
  • 2021-08-07
  • 2021-10-01
  • 2021-06-17
  • 2021-10-23
猜你喜欢
  • 2021-09-24
  • 2021-09-15
  • 2022-12-23
  • 2022-12-23
  • 2021-08-12
  • 2022-02-27
  • 2021-09-17
相关资源
相似解决方案