Desktop version

Main > Forum > 1C:Enterprise Platform > Studying 1C:Enterprise platform > Catalog's Code Type: Number vs. String

Forum

Search UsersRules
Catalog's Code Type: Number vs. String
#1
Active user
Points:: 0
Joined:: Sep 16, 2011

And one more question: There is Code Type field in Change form of any catalog. Which can have Number or String value. Please explain which one should I use in which cases and why?

Profile
#2
Active user
Points:: 0
Joined:: Sep 16, 2011

Can anyone help?

Profile
#3
Just came
Points:: 0
Joined:: Jan 20, 2012

If you want to use more complicated numbering (e.g. ABC-001, ABC-002 etc) then select string type.

Profile
#4
Just came
Points:: 9
Joined:: Dec 6, 2011

Code of type String is commonly used. I don't remember the case when I needed a Number code. Moreover, internal representation of the code is always a string. Choosing the number type will affect only on representation of the code for users.

Profile
#5
Active user
Points:: 0
Joined:: Sep 16, 2011

OK, I will use String in all cases then, thank you very much!

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.