示例#1
0
        public string findNextId()
        {
            int    countNext;
            string PONo = "";
            int    ans  = 1;

            for (countNext = 1; ans != 0; countNext++)
            {
                PONo = "PO-" + countNext.ToString().PadLeft(Data.Global.POLength, '0');
                ans  = new Logic.POSInvoService().NextId(PONo);
            }
            return(PONo);
        }
示例#2
0
        public string findNextId()
        {
            int    countNext;
            string invoID = "";
            int    ans    = 1;

            for (countNext = 1; ans != 0; countNext++)
            {
                invoID = "INVO-" + countNext.ToString().PadLeft(Data.Global.invoiceLength, '0');
                ans    = new Logic.POSInvoService().NextId(invoID);
            }
            return(invoID);
        }