In ‘Sales Order’ record, Total is calculated by adding Subtotal and Shipping Cost (as shown in the picture below):
But, in our project, there was a requirement that Total should be the same as Subtotal. So, we need to set the Shipping Cost zero.
In this tip, we will see how to set the Shipping Cost.
First, I tried to set zero/blank in the ‘Shipping Cost’ field. But, we cannot set Shipping Cost value. Finally, we found the solution.
To set Shippingcost: 1. First, we need to set the Shipping Carrier value as ‘FedEx/More’,
2. and, Shipping Method should be set as blank.
Code:
First, I tried to set zero/blank in the 'Shipping Cost' field. But, we cannot set Shipping Cost value. Finally, we found the solution. To set Shippingcost: 1. First, we need to set the Shipping Carrier value as 'FedEx/More', 2. and, Shipping Method should be set as blank. Code:
Then cost will be set as blank.