Package nu.lazy8.ledger.jdbc

Examples of nu.lazy8.ledger.jdbc.UniqNumGenerator.ViewNextAvailableNumber()


    UniqNumGenerator a = new UniqNumGenerator();
    String UniqKey="Act_Id";
    if (SetupInfo.getBoolProperty(SetupInfo.SHOW_PERIOD_ID))
      UniqKey="PeriodId="+ (Date) cc.comboBoxPeriod.getSelectedItemsKey() + "-"
        +(Date) cc.comboBoxPeriod.getSelectedItemsSecondaryKey();
    iActId = new Integer(a.ViewNextAvailableNumber(UniqKey, 1, 999999999, compId));
    lableTransaction.setText(IntegerField.ConvertIntToLocalizedString(iActId));
    clearTable();
    TotalDebitAndCredit();
    SetSelectionFirstNoEdit();
    //repaints whole table
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.