Pages

Banner 468 x 60px

 

Monday, March 27, 2017

Select di Grid using x++

0 comments
Select di Grid using x++ :

public boolean modified()
{
    boolean ret;
    UserGroupId groupName;
   IPMS_BusinessArea   tblBA, activeRow;
    Common      common;
    int aaa;

    ret = super();

    groupName = this.valueStr();

    select tblBA where tblBA.UserGroupId == groupName;

    if(tblBA && groupName != "")
    {
        warning("Group name is already used.");
        common = IPMS_BusinessArea_ds.cursor();
      activeRow = common;
      activeRow.UserGroupId = "";

        IPMS_BusinessArea_ds.research(true);
    }

    return ret;
}



0 comments:

A financial dimension value is based on the record and has been used on a transaction. You cannot delete the record

  SOLUTION delete in table DimensionAttributeLevelValue base on Bank Account  :  and Delete the Bank Account FINISH