function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
PRepakaPRepaka 

is it possible to save multiple values in a single field for custom object?

hi
 
i want to refer multiple objects of same object type in another object record.
 
My requirement is:
 
i want to save multiple invoices in Invoice Field in Payment Object. can u please help me how to save multiple values in a single field.
 
User can select multiple invoices and to be saved in Invoice field in Payment object. in payment object invoice field is the Look up field.
bakumbakum
hi,

If it's a lookup field you're talking about you'd have to use an intersection table. 

E.G. Account -> Account_Invoices__c (lookup both Account and Invoice) -> Invoices__c

-mb