Apr 13, 2016

Common table 사용하기

//Add Andy, 2012-11-15 Comment : Mysingle interface status update method
static void CommonTableTest(Args _args)
{
    CustAccount          _CustAccount;
   
    Common  _Common;
   
    _Common = new DictTable(tableName2id('CustTable')).makeRecord();
    select forUpdate * from _Common where _Common.RecId == 5637145333;
   
    ttsBegin;
    //Table의 Field값 가져오기
    info(_Common.getFieldValue("AccountNum"));
   
    //Table의 Field값 Update시
    //_Common.setFieldValue(_FieldName,"Update value");
    //_Common.update();
    ttsCommit;
}

No comments:

Post a Comment