I have a record type "Item" which requires tax to be calculated. I do not want my users to calculate the tax. I have an external system that has an API that does the calculation. How can i acheive this in an apex trigger. I looked here, but that is using visual force pages. I want to do this in a trigger.
overview of what i am trying to do:
On record save SF($2.53) -> external API (external API does some math) external API -> SF ($0.07) SF update Tax field = $0.07 SF update total field = $2.53 + $0.07