3> object:- UIN PRODUCTS/////Feild:- a>Internal_UIN_products(this internal uin can be of Mechanic or retailer or reborer i.e max 3) ,,b> Registered_At_Depot_products(checkbox),,,c> Status:-submitted,in process,Start
Now,
When we enter any Internal Uin in salesreturn object then it checks in UIN Products that this internal exists in UIN Product and if it exists and its status is not equal to submitted then Registered_at_Depot_products should get unchecked.
Also,this internal_uin_products is related to any Extenal_uin_master(which is there in UIN MASTERS object) and Hence,Registered_At_Depot_masters at uin masters should also get unchecked.
Could you detail the relations between these three object much more.?
This post is now a duplicate. The OP reposted the question
here
http://boards.developerforce.com/t5/Apex-Code-Development/URGENT-Please-help-me-writing-a-trigger-for-cross-objects-field/td-p/389421