Variant of a new product to the invoice

M

When I add a product with a different variant of a new product to the invoice; The product variants I added before are changing. I cannot create different product variants on invoice. What could be the problem...

Ninox Profile

I think you use formula fields to fetch the data? Formula fields are always updated when things are changing in the source. Best practice is to use static fields instead and use a trigger to fill those fields. So after selecting a product, there is a trigger after update field where you can script the disired fields. Have a look at the built-in template 'invoices' example.

2D64E986-13CE-48D0-991B-98248441E2C5

Steven

M

I didn't change original function code.

I didn't change original function code.

M

Ekran Resmi 2021-09-14 18.24.29

M

2. items 60cm and color was difrrent, but when I added 7. invoice items 60cm as SILVER .. first item color changed.. 

Ninox Profile

That's weird, maybe it's a Ninox bug? I can't explain it.

Reply