How can I combine both the total oppty line items (Total__c) (roll-up field in opportunity) and Miscellaneous_Fee__c (currency field in opportunity) in just one field using apex trigger? This miscellaneous fee is per opportunity, not per line item.
For practice, I used both the Opportunity and Opportunity Line Item objects. Here are some fields from these two:
Opportunity: Name, Date__c, Miscellaneous_Fee__c, Total__c
Opportunity Line Item: Product_Name__c, Price__c