+ Start a Discussion
vijay bhaskarvijay bhaskar 

plz give me a one scenario custom settings

siddarth rajsiddarth raj

Hello vijay,

let suppose you have a Delivery Object where you will have a to enter the delivery date which must 30/60/90 days advance. This advance days you can configure via custom settings. So that you can make application to work for any value in  line to requirement or configuration without any code changes.

Custom settings at the end it is just like a  data table ....we have apex functions to fetch data. For example

 Map <String , DeliveryChangeProvison__c> dueMap = DeliveryChangeProvison__c.getAll();

Thanks
Sid
 

siddarth rajsiddarth raj
If it is helpful, mark it as best answer