Add Phase 19 bank accounting and reconciliation workflow
This commit is contained in:
@@ -33,6 +33,12 @@ class BankStatementAnalysisJob(CommonBase):
|
||||
account_override: Mapped[str | None] = mapped_column(String(100), nullable=True)
|
||||
classification_enabled: Mapped[bool] = mapped_column(Boolean, nullable=False, default=True)
|
||||
|
||||
# Phase 19: one analyzer, three controlled uses. Existing jobs default to
|
||||
# analyze_only and preserve the historical Bank Analyzer behaviour.
|
||||
purpose: Mapped[str] = mapped_column(String(30), nullable=False, default="analyze_only", index=True)
|
||||
accounting_import_status: Mapped[str] = mapped_column(String(30), nullable=False, default="not_requested", index=True)
|
||||
accounting_import_json: Mapped[str | None] = mapped_column(Text, nullable=True)
|
||||
|
||||
status: Mapped[str] = mapped_column(String(20), nullable=False, default="queued", index=True)
|
||||
progress_percent: Mapped[int] = mapped_column(Integer, nullable=False, default=0)
|
||||
file_count: Mapped[int] = mapped_column(Integer, nullable=False, default=0)
|
||||
|
||||
Reference in New Issue
Block a user