Postings:InvTranHeader: Difference between revisions
From Epiphany
| (One intermediate revision by the same user not shown) | |||
| Line 9: | Line 9: | ||
| align="center" style="background:#69f;" | '''Unpost''' | | align="center" style="background:#69f;" | '''Unpost''' | ||
|- | |- | ||
| | | <b>Validate</b> - Whether the customer is on credit hold | ||
| | | align="center" |<b> X | ||
| | | align="center" |<b> X | ||
| | | align="center" |<b> X | ||
| | | align="center" |<b> X | ||
| | | align="center" |<b> X | ||
|- | |- | ||
| | | <b>Validate</b> - That an invoice hasn't been created yet | ||
| | | align="center" |<b> X | ||
| | | align="center" | | ||
| | | align="center" | | ||
| | | align="center" | | ||
| | | align="center" | | ||
|- | |- | ||
| | | <b>Validate</b> - Make sure there is a valid trancode | ||
| | | align="center" | | ||
| | | align="center" |<b> X | ||
| | | align="center" | | ||
| | | align="center" |<b> X | ||
| | | align="center" |<b> X | ||
|- | |- | ||
| | | <b>If</b> - There isn't an invoice | ||
| | | align="center" | | ||
| | | align="center" |<b> X | ||
| | | align="center" |<b> X | ||
| | | align="center" |<b> X | ||
| | | align="center" |<b> X | ||
|- | |- | ||
| | | <b> *Delete</b> - Inventory transaction related to the InvTranHeader [[Postings:Inventory|PostInventory]] | ||
| | | align="center" | | ||
| | | align="center" |<b> X | ||
| | | align="center" |<b> X | ||
| | | align="center" |<b> X | ||
| | | align="center" |<b> X | ||
|- | |||
| <b> *Delete</b> - Relationships - InvTranHeader and inventory transaction | |||
| align="center" | | |||
| align="center" |<b> X | |||
| align="center" |<b> X | |||
| align="center" |<b> X | |||
| align="center" |<b> X | |||
|- | |||
| <b>If</b> - Trancode is receipt, shipment, adjustment, component, or build | |||
| align="center" | | |||
| align="center" |<b> X | |||
| align="center" | | |||
| align="center" | | |||
| align="center" | | |||
|- | |||
| <b> *If</b> - There is no invoice | |||
| align="center" | | |||
| align="center" |<b> X | |||
| align="center" | | |||
| align="center" | | |||
| align="center" | | |||
|- | |||
| <b> *Create</b> - Inventory transaction [[Postings:Inventory|PostInventory]] | |||
| align="center" | | |||
| align="center" |<b> X | |||
| align="center" | | |||
| align="center" | | |||
| align="center" | | |||
|- | |||
| <b> *If</b> - InvTranDetail related to the InvTranHeader has a decription | |||
| align="center" | | |||
| align="center" |<b> X | |||
| align="center" | | |||
| align="center" | | |||
| align="center" | | |||
|- | |||
| <b> *Update</b> - Inventory transaction comment with the discription | |||
| align="center" | | |||
| align="center" |<b> X | |||
| align="center" | | |||
| align="center" | | |||
| align="center" | | |||
|- | |||
| <b> *Create</b> - Relationships - inventory transaction and company | |||
| align="center" | | |||
| align="center" |<b> X | |||
| align="center" | | |||
| align="center" | | |||
| align="center" | | |||
|- | |||
| <b> *If</b> - Receipt | |||
| align="center" | | |||
| align="center" |<b> X | |||
| align="center" | | |||
| align="center" | | |||
| align="center" | | |||
|- | |||
| <b> *Create</b> - Relationships - Inventory and company | |||
| align="center" | | |||
| align="center" |<b> X | |||
| align="center" | | |||
| align="center" | | |||
| align="center" | | |||
|- | |||
| <b> *Create</b> - Relationships - Inventory transaction and person | |||
| align="center" | | |||
| align="center" |<b> X | |||
| align="center" | | |||
| align="center" | | |||
| align="center" | | |||
|- | |||
| <b> *If</b> - Receipt | |||
| align="center" | | |||
| align="center" |<b> X | |||
| align="center" | | |||
| align="center" | | |||
| align="center" | | |||
|- | |||
| <b> *Create</b> - Relationships - Inventory and person | |||
| align="center" | | |||
| align="center" |<b> X | |||
| align="center" | | |||
| align="center" | | |||
| align="center" | | |||
|- | |||
| <b> *Create</b> - Relationships - Inventory transaction and addres | |||
| align="center" | | |||
| align="center" |<b> X | |||
| align="center" | | |||
| align="center" | | |||
| align="center" | | |||
|- | |||
| <b> *Update</b> - Inventory transaction remove unpost flag so it's not automatically deleted when the invoice is deleted | |||
| align="center" | | |||
| align="center" |<b> X | |||
| align="center" | | |||
| align="center" | | |||
| align="center" | | |||
|- | |||
| <b> *Create</b> - Relationships - InvTranHeader and inventory transaction, invtrandetail and inventory transaction | |||
| align="center" | | |||
| align="center" |<b> X | |||
| align="center" | | |||
| align="center" | | |||
| align="center" | | |||
|- | |- | ||
|} | |} | ||
Latest revision as of 19:15, 21 January 2020
InvTranHeader
| 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 |