generateMProductSKU(){ skuGen="" needToGenerate = true while(needToGenerate){ skuGen = ltrim(to_char(luhn_generate(round(random()*10000)::int), '00000')) if((Select count(*) from M_Product where sku =skuGen) = 0 needToGenerate = false } return skuGen

Sunday, November 19, 2017

search