Postings:Ledger
From Epiphany
Ledger
| Ledger | Pre Post | Post | Delete | Create | Unpost |
| Validate - The date on the journal isn't past the closing date | X | X | X | ||
| Validate - Is the journal within the GL Edit days limitations for the user | X | X | X | ||
| Validate - The journal last post is within the journal lock minutes | X | X | X | ||
| For Each - Ledger line | X | X | |||
| *Validate - That a valid account is associated with the ledger line | X | X | |||
| Validate - The journal entry is balanced total of all debits and credits is equal to 0 | X | X | |||
| Validate - None of the accounts associated with the ledger lines are summary accounts | X | X | |||
| Validate - None of the accounts associated with the ledger lines are inactive | X | X | |||
| If - Not post only | X | X | |||
| Update - Journal last post date to current date | X | ||||
| For Each - Leger line | X | X | |||
| *For Each - Orginal ledger line | X | X | |||
| If - orginal ledger ID is equal to the ledger ID | X | X | |||
| *If - Orginal chart ID is equal to the chart ID and it's not a post only | X | X | |||
| *Delete - Relationships - Ledger and the original chart | X | ||||
| *Create - Relationships - Ledger and chart | X | ||||
| *If - orginal amount doesn't equal amount or orginal closing doesn't equal closing or orginal cleared doesn't equal cleared or orginal comment doesn't equal comment and it's not post only | X | X | |||