Pages

Banner 468 x 60px

 

Monday, March 27, 2017

Display methode inuse x++

0 comments
display int inUse(KRE_ID_Tax_VAT _KRE_ID_Tax_VAT)
{
    #resAppl
    int             idx;
    boolean         foundHere = false;

    idx = confind(KRE_ID_Tax_VATMarkCon, _KRE_ID_Tax_VAT.RecId);

    if (idx && conpeek(KRE_ID_Tax_VATMarkCon, idx + 1 ) == NoYes::Yes)
        foundHere = true;

    if (KRE_ID_Tax_VATMark::exist(_KRE_ID_Tax_VAT.RecId)
        && !foundHere)
    {
         return #Image_JournalBlockInUse;
    }

    return 0;
}

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