Pages

Banner 468 x 60px

 

Wednesday, March 15, 2017

active() methode x++

0 comments
THis is is sample of active() methode x++

public int active()
{
    int ret;

    ret = super();

    BIT_Tb_TemporaryFFB_ds.object(fieldNum(BIT_Tb_TemporaryFFB, qtyhg)).allowEdit(BIT_Tb_TemporaryFFB.Status == BIT_StatusTransfer::Failed);
    BIT_Tb_TemporaryFFB_ds.object(fieldNum(BIT_Tb_TemporaryFFB, qtyhg)).allowEdit(BIT_Tb_TemporaryFFB.Status == BIT_StatusTransfer::NotTransferred);

    BIT_Tb_TemporaryFFB_ds.object(fieldNum(BIT_Tb_TemporaryFFB, qtyPL)).allowEdit(BIT_Tb_TemporaryFFB.Status == BIT_StatusTransfer::Failed);
    BIT_Tb_TemporaryFFB_ds.object(fieldNum(BIT_Tb_TemporaryFFB, qtyPL)).allowEdit(BIT_Tb_TemporaryFFB.Status == BIT_StatusTransfer::NotTransferred);

    BIT_Tb_TemporaryFFB_ds.object(fieldNum(BIT_Tb_TemporaryFFB, qtyPC)).allowEdit(BIT_Tb_TemporaryFFB.Status == BIT_StatusTransfer::Failed);
    BIT_Tb_TemporaryFFB_ds.object(fieldNum(BIT_Tb_TemporaryFFB, qtyPC)).allowEdit(BIT_Tb_TemporaryFFB.Status == BIT_StatusTransfer::NotTransferred);

    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