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
Prateek GargPrateek Garg 

trigger on unrelated objects

Hello friends.   I have a query. I have two object both are unrelated name stock__c(fields:- product name,total no.of pieces) and line_item__c (fields:-product name,unit sold). what i want is i want to apply trigger on these unrelated object.and want to update total no of pieces by subtracting it by unit sold value.
Thanks in advance