This question has been flagged
1 Reply
3787 Views

I want to add suppliers in sale order form. And want to select the products of the corresponding supplier. How can i write the code? Thanks for any reply...

Avatar
Discard
Author

My requirement is::: I want to create a sale order. First i choose customer then i want to choose supplier. Next in the product dropdown list, only wants to see the products of the corresponding supplier.

Best Answer

No need to write code for this.

You can use the conditionnal default values to define a default value (the order_lines) that depends on the supplier. You just need to activate the developer mode to define the default value.

Avatar
Discard
Author

I activate developer mode. What is the next step? Thanks for fast reply.

Author

Hi Fabien, Please help me. I cant implement it.

Author

Hi Fabien, Please help me to implement it. It will be more helpful to me. I have tried with onchange function but it happens nothing. My requirement is, when i select supplier in the sale order form, it will automatically shows the products of the corresponding supplier in the dropdown list of the product. Please help me. Thanks in Advance... Awaiting your kindly reply...