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);
}
{
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:
Post a Comment