You need to sign in to do that
Don't have an account?
santhosh reddy vancha 11
How to insert the big object values ?
FieldHistoryArchive__b = new FieldHistoryArchive__b();
Fes.ArchiveParentName='test';
Fes.ArchiveParentName='testField';
Fes.ArchiveParentType='text1';
Fes.CreatedById='99999';
Fes.CreatedDate='147017029742';
Fes.Field='tracking';
Fes.FieldHistoryType='hii';
Fes.HistoryId='78909';
Fes.Id='5000';
Fes.NewValue='new';
Fes.OldValue='old';
Fes.ParentId='900';
database.insertImmediate(Fes);
im inserting values but im getting invaidType object
Fes.ArchiveParentName='test';
Fes.ArchiveParentName='testField';
Fes.ArchiveParentType='text1';
Fes.CreatedById='99999';
Fes.CreatedDate='147017029742';
Fes.Field='tracking';
Fes.FieldHistoryType='hii';
Fes.HistoryId='78909';
Fes.Id='5000';
Fes.NewValue='new';
Fes.OldValue='old';
Fes.ParentId='900';
database.insertImmediate(Fes);
im inserting values but im getting invaidType object
NOTE:- PLease add value according to object data type. Look like you are passing everything as String in ''
http://https://www.youtube.com/watch?v=lgqmCqA6eFY
--
Thanks,
Akash