Pages

Banner 468 x 60px

 

Monday, March 27, 2017

cursorNotify in x++

0 comments
public void cursorNotify(int _event)
{
    super(_event);
    IF (GG_FPJVoucher.FPJVoucherType == GG_FPJVoucherType::CashReceipt ||
        GG_FPJVoucher.FPJVoucherType == GG_FPJVoucherType::BBCR)
    {
        VoucherReceipt.visible(True);
        VoucherInv.visible(False);
    }
    Else
    {
        VoucherReceipt.visible(False);
        VoucherInv.visible(True);
    }

    FP.enabled(False);
    PPh22.enabled(False);
    NRFP.enabled(False);

    IF (GG_FPJVoucher.getFakturPajakNum())
        IF ((GG_FPJVoucher.FPJVoucherType == GG_FPJVoucherType::ReturnCR) ||
           (GG_FPJVoucher.FPJVoucherType == GG_FPJVoucherType::ReturnInv))
            NRFP.enabled(True);
        Else
            //NRFP.enabled(True);
            FP.enabled(True);
    IF (GG_FPJVoucher.getPPhNum())
        PPh22.enabled(True);

}

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