Checking for serial uniqueness
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
If I want to write a plugin to check for the uniqueness of a serial number, it doesn't look I can just check
Do I need to write a separate code block for GRN activation, shipment book-in activation, transfer activation, inventory transaction import, sales order credits, and every other event that writes to IN_SOH?
I could write a trigger on the database on INSERT, but I'd always thought SQL triggers are somewhat frowned upon.
For version 7.2.1
- Code: Select all
inventory.SOHCollection.Added
Do I need to write a separate code block for GRN activation, shipment book-in activation, transfer activation, inventory transaction import, sales order credits, and every other event that writes to IN_SOH?
I could write a trigger on the database on INSERT, but I'd always thought SQL triggers are somewhat frowned upon.
For version 7.2.1