Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2214 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
lut 25
1657
1
lut 22
5707
1
lip 25
1185
2
mar 25
1470
0
lut 25
1115