Re: forming a SKU
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 23516
interpreted = N
texte = Thank you all for your suggestions......I had no idea it would get so complicated!!I'll try to find a middle ground that works and that I understand!!thanks again,Jan KinzlerMartin Bech wrote:> The only real safe sku would be>> [date %Y%m%d][time %h%m%s][showif> [lastrandom]=[random]][math][random]+[random][/math][/showif][showif> [lastrandom]![random][lastrandom][/showif][ordersku][productsku][sizeSKU][shapeS> KU][colorSKU]>> And then you would need the same kind of values be the same length>> like all products has 10 digits in their sku, all sizes has 3 digits in> their sku etc etc etc>> you would end up having a string like:>> 19990902181543323272663671230000000234002004001>> Quite unique! ( i would say 100% unique )>> /martin>> >Peter that is a good point maybe one day we all should get together and> >kill murphy. How about takeing the value of the objects say> >[color value=#]> >[size value=#]> >[shape value=#] then takeing and addeing> >[math][time %H%M%S]+ the syntax for the day of the week and month[/math]> >> >the odds of this happening are pretty high I dont even think murphy> >could handle it.> >What are your thoughts? I am intrested to know> >> >Joseph
Associated Messages, from the most recent to the oldest:
Thank you all for your suggestions......I had no idea it would get so complicated!!I'll try to find a middle ground that works and that I understand!!thanks again,Jan KinzlerMartin Bech wrote:> The only real safe sku would be>> [date %Y%m%d][time %h%m%s][showif> [lastrandom]=
[random]]
[math][random]+
[random][/math][/showif][showif> [lastrandom]!
[random][lastrandom][/showif][ordersku][productsku][sizeSKU][shapeS> KU][colorSKU]>> And then you would need the same kind of values be the same length>> like all products has 10 digits in their sku, all sizes has 3 digits in> their sku etc etc etc>> you would end up having a string like:>> 19990902181543323272663671230000000234002004001>> Quite unique! ( i would say 100% unique )>> /martin>> >Peter that is a good point maybe one day we all should get together and> >kill murphy. How about takeing the value of the objects say> >[color value=#]> >[size value=#]> >[shape value=#] then takeing and addeing> >
[math][time %H%M%S]+ the syntax for the day of the week and month[/math]> >> >the odds of this happening are pretty high I dont even think murphy> >could handle it.> >What are your thoughts? I am intrested to know> >> >Joseph
Jan Kinzler
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WAY Off-Topic (2004)
Word wrapping (1997)
Emailing html (1998)
2.0 Info (1997)
WebCat-Typhoon-WebTen (1998)
Payment calculator ?? (2000)
Summing fields (1997)
Multiple Merchant Accounts? (1997)
Shipcost formula (2004)
WebCatalog for guestbook ? (1997)
formula.db problem (1999)
Bad suffix error (1997)
adding time (2003)
Missing custom convert.db (1998)
Email Formatting and Encryption (1998)
Help!!!! (1999)
RE: E-mailer error codes (1997)
PIXO support (1997)
[template] tag (1998)
ListFiles and .DS_Store (2004)