My installation has an additional table called "Products", which has several columns, including "Name" and "PartNumber". I would like to build a way to ensure that an InvoiceItem cannot be added unless the PartNumber exists in the Products table.
What would be the ideal way to build this?
I have found these options:
1. Hooks
2. API Before-Save Script
3. Before-Save Custom Script
4. Conditional Logic
I have tried all with little success. If someone could possibly point me to what the ideal way is to do this, I can probably troubleshoot myself through any problems. I just want to make sure I am using the right tool for the job as to not waste time.
What would be the ideal way to build this?
I have found these options:
1. Hooks
2. API Before-Save Script
3. Before-Save Custom Script
4. Conditional Logic
I have tried all with little success. If someone could possibly point me to what the ideal way is to do this, I can probably troubleshoot myself through any problems. I just want to make sure I am using the right tool for the job as to not waste time.
Comment