Add Phase 19 bank accounting and reconciliation workflow
This commit is contained in:
@@ -69,6 +69,16 @@ class AccountingBankTransaction(CommonBase):
|
||||
preflight_result_json: Mapped[str | None] = mapped_column(Text, nullable=True)
|
||||
posting_result_json: Mapped[str | None] = mapped_column(Text, nullable=True)
|
||||
posting_status: Mapped[str] = mapped_column(String(30), nullable=False, default="not_started", index=True)
|
||||
|
||||
# Phase 19 reconciliation state. This does not alter the existing posting
|
||||
# workflow; it tells Accounting whether the bank row already exists in Tally.
|
||||
reconciliation_status: Mapped[str] = mapped_column(String(30), nullable=False, default="not_tested", index=True)
|
||||
last_reconciliation_run_id: Mapped[int | None] = mapped_column(
|
||||
ForeignKey("accounting_bank_reconciliation_runs.id", ondelete="SET NULL"),
|
||||
nullable=True,
|
||||
index=True,
|
||||
)
|
||||
|
||||
last_error: Mapped[str | None] = mapped_column(Text, nullable=True)
|
||||
tally_voucher_id: Mapped[str] = mapped_column(String(120), nullable=False, default="")
|
||||
tally_voucher_number: Mapped[str] = mapped_column(String(160), nullable=False, default="")
|
||||
|
||||
Reference in New Issue
Block a user