Question pertains to customized Foundation or Business Objects where i need to understand which data types can be used, specifically looking to use DECIMAL.
Based on the above link, my understanding is that we can use DECIMAL for custom objects as well, can anyone confirm whether INT can be used under the data types how can we get this info.
My options under the customer objects are Integer,Date time, Guid, currency, bolean, string
appreciate your help.
The one you mentioned is here: http://world.episerver.com/documentation/Items/Developers-Guide/EPiServer-Commerce/75/Business-Foundation/Business-Meta-Model/MetaClass-class/
The link you posted was the MetaDataPlus - the catalog/order metaclasses, not the BusinessFoundation/Business object (a bit confusing, I must admit).
For business object you'll have to use currency instead, decimal is not supported via UI.
thanks for your reply, by not supported by UI do you mean there is another way to do this via database ?
also by assuming currency we can define data such as below :
I would say no - but I'm not totally confident saying so - diving in Business Foundation is a hard task anyway.
The currency is stored as money in database, which "has accuracy to a ten-thousandth of a monetary unit.", so it's not as powerful as decimal, but I guess quite enough for almost every possible application.