I have a requirement like,
If user enter
BillingState manually in visualforce page then
BillingStateCode must have to set automatically based on the
I am thinking to use
MAP in this case, but I don't know How to get the all BillingStateCode and put as a value in
MAP<String, String> mapStatetoStateCode = new Map<String, String>(); mapStatetoStateCode.put(sObject.BillingState, sObject.BillingStateCode);
Is there a way fetching all BillingStateCode from soql ?
Can anybody guide me on this situation ?