Skip to content

Question: Future Posting Date #108

Description

@iamchris1688

Hi Medici team et. al., thank you SO MUCH for creating this package - super helpful!! Asking for tips for best approach / recommendation on creating a journal entry with a future posting date.

Consider this scenario: create a journal entry with a future posting date, say 14 days (parameterized) later.

As of today:
#1. Journal and Transaction have datetime and timestamp attributes at the journal entry time.
#2. Book.ledger({start_date: startDate, end_date: endDate}), Book.balance({start_date: startDate, end_date: endDate}).... are based on entry date as well.

What we need is to have extra field so-called posting-date.
On #1-enhanced: Journal and Transactions have extra posting date attributes.
On #2-enhanced: ability to query ledger and balance based on posting date.
#2a. If query as of today ==> query returns no data since posting dates are in the future.
#2b. If query as of 14 days later ==> query returns the journal and transactions since within the posting dates.

Thoughts / tips / help? Thank you in advance!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions