| InvTranHeader
|
Pre Post
|
Post
|
Delete
|
Create
|
Unpost
|
| Validate - Whether the customer is on credit hold
|
X
|
X
|
X
|
X
|
X
|
| Validate - That an invoice hasn't been created yet
|
X
|
|
|
|
|
| Validate - Make sure there is a valid trancode
|
|
X
|
|
X
|
X
|
| If - There isn't an invoice
|
|
X
|
X
|
X
|
X
|
| *Delete - Inventory transaction related to the InvTranHeader PostInventory
|
|
X
|
X
|
X
|
X
|
| *Delete - Relationships - InvTranHeader and inventory transaction
|
|
X
|
X
|
X
|
X
|
| If - Trancode is receipt, shipment, adjustment, component, or build
|
|
X
|
|
|
|
| *If - There is no invoice
|
|
X
|
|
|
|
| *Create - Inventory transaction PostInventory
|
|
X
|
|
|
|
| *If - InvTranDetail related to the InvTranHeader has a decription
|
|
X
|
|
|
|
| *Update - Inventory transaction comment with the discription
|
|
X
|
|
|
|
| *Create - Relationships - inventory transaction and company
|
|
X
|
|
|
|
| *If - Receipt
|
|
X
|
|
|
|
| *Create - Relationships - Inventory and company
|
|
X
|
|
|
|
| *Create - Relationships - Inventory transaction and person
|
|
X
|
|
|
|
| *If - Receipt
|
|
X
|
|
|
|
| *Create - Relationships - Inventory and person
|
|
X
|
|
|
|
| *Create - Relationships - Inventory transaction and addres
|
|
X
|
|
|
|
| *Update - Inventory transaction remove unpost flag so it's not automatically deleted when the invoice is deleted
|
|
X
|
|
|
|
| *Create - Relationships - InvTranHeader and inventory transaction, invtrandetail and inventory transaction
|
|
X
|
|
|
|