Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
2273 Prikazi

Hello, I need to recharge net value costs, example: add freight and insurance to the subtotal of the products to sell, this value must be entered manually and then totaled
1 item : USD100
2 items: USD50
Subtotal: USD150
Freight: USD10 (values entered manually)
Insurance: USD3 (values entered manually)
Total: USD163
How can I do this with the editing tool?
Thank you

Avatar
Opusti
Best Answer

Hi,

This may be difficult or may be not possible from the studio,  if possible you can try the same from the code side, or without any changes, this can be easily achieved by creating two products with name Freight and Insurance, add those two the order lines and eventually it will sum up to the sub total.


If you don't want to handle it as above, you have add two new fields to the sale.order model and to record the freight and insurance charges, then you have to modify the current compute function for the subtotal and total field to adapt the value from two new fields. Related changes has to be done inside the invoicing model also, as the values has to be passed to the created invoice.


Thanks

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
3
feb. 25
1771
1
feb. 22
5784
1
jul. 25
1282
2
mar. 25
1545
0
feb. 25
1190