We have written an Inbound, which has two UOM Enum TIME_PERIOD_UOM and AGGREGATION_HORIZON_UOM, both of same type SCC_BucketizationPolicyType
Both have same configuration , as attached . One is saving ENUM_ENTRY_NAME while other ENUM_ENTRY_VALUE. Am I missing something . Is there a configuration in inbound to control value/name ? Also which is right thing to save in DB ? Value /Name ?
What model are you encountering this on? All models created in the last few years save the NAME on the model, not the VALUE. Perhaps you are saving data on a model with an old field which uses the old strategy, and a new one which uses the new strategy. The behavior you're seeing may be expected. Take a close look at the field definitions in the .model/.mdfs file to see what config is present for the enum persistence.