I made a Commission object with a commission amount c property that has a master detail relationship with Contact. Total Commission c is a sum up field on Contacts that adds up all commission amounts from Commissions associated to each Contact. I've added a trigger to Commission that calls the updatePrimary function. When I query this inside updatePrimary, I receive the old value in the sumup field(total commission), not the new value with the new commission amount appended. It hasn't come to a conclusion yet. If at all possible, some assistance would be greatly appreciated.