You need to sign in to do that
Don't have an account?
Megan Hooser 7
Trigger for Junction Objects
I'm totally new to the developer world, and just trying to figure out if this is a possibility first before diving in head first to Apex to create my first trigger.
We have a many-to-many relationship between PMs and Systems and Equipment, so we created a junction object PM Visit. These all fall under the grandparent object, contracts.
I need to find a way to auto create these junction PM Visit objects. These would be created whenever a new PM or System and Equipment was related to the grandparent object, contracts. So if a new PM was created, it would run through the list of all system and equipment on the contract, and create those relevant PM visits.
I don't even know where to start, is there a way to do this?
We have a many-to-many relationship between PMs and Systems and Equipment, so we created a junction object PM Visit. These all fall under the grandparent object, contracts.
I need to find a way to auto create these junction PM Visit objects. These would be created whenever a new PM or System and Equipment was related to the grandparent object, contracts. So if a new PM was created, it would run through the list of all system and equipment on the contract, and create those relevant PM visits.
I don't even know where to start, is there a way to do this?