How to link customer order to supplier order

Hello,

I am currently running V8 and looking for a way to link a customer order to a supplier order. I see that I can add a new attribute on the order form with the type “link to an object” but I don’t exactly know how to set it up?

Has anyone been able to make it work? If so, can you please share the howto?

Thank you!

1 Like

In Supplier module setup -> Complementary attributes (orders) add a new attribute in the same way as on the attached image


the value is [code]
commande:commande/class/commande.class.php[/code

3 Likes

It worked!! Thank you for your help!!

What’s the equivalent for supplier order? I tried commande_fournisseur:fourn/class/fournisseur.commande.class.php but got an error message:

Error bad setup of type for field commande_fournisseur,fourn/class/fournisseur.commande.class.php

Thank you!

Hello,

I use version 12.
I did it as described.
Unfortunately, the drop-down menu does not offer me any customer orders to choose from (see pic1)
do you have an idea why
Pic1: https://i.ibb.co/Hhvr66n/order.png

My Config in Complementary attributes

Best regards,
user

I just tried it on version 12.0.1 and it worked…

everything looks correct apart of “kundenbestellung” which should be “customerorder” change it and it should work.

Hello, don´t know if you still need it but for further people searching for it the answer is:
commandefournisseur:fourn/class/commandefournisseur.class.php

1 Like