tiagovareta
Member
Hi!
I am developing a project for issuing Order Notes!
The idea is to have multiple fields on the customer and have the rows with the products. Among others, I have the tables: Products, Customers, Order Note, Order Note Lines.
I already have everything working except some fields in the product lines!
For example, the price field of the product, I want it to add a line, so it will fetch this field from the product table, but the saved value may or may not be the price that is in the products table.
Imagining that I have product 1, that in the products table has the price of 5 ?, when creating the ordering note I can define that that product is 4 ?. What I want to be registered in the product line in the order form is the ? 4 and not the ? 5.
Basically when going to get the value to the table products would be a kind of suggestion, which accepted or could define ...
How can I do this?
I am developing a project for issuing Order Notes!
The idea is to have multiple fields on the customer and have the rows with the products. Among others, I have the tables: Products, Customers, Order Note, Order Note Lines.
I already have everything working except some fields in the product lines!
For example, the price field of the product, I want it to add a line, so it will fetch this field from the product table, but the saved value may or may not be the price that is in the products table.
Imagining that I have product 1, that in the products table has the price of 5 ?, when creating the ordering note I can define that that product is 4 ?. What I want to be registered in the product line in the order form is the ? 4 and not the ? 5.
Basically when going to get the value to the table products would be a kind of suggestion, which accepted or could define ...
How can I do this?