Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transaction update #111

Open
collationhub opened this issue Feb 22, 2022 · 4 comments
Open

Transaction update #111

collationhub opened this issue Feb 22, 2022 · 4 comments

Comments

@collationhub
Copy link

Hi Edward
I have completed created the transactions but is it possible for update the transaction api. If is it possible then all entries is changes are necessary or not in these tables "ifrs_line_items" and "ifrs_ledgers" in the database?
Regards
Mukesh

@ekmungai
Copy link
Owner

Hi Mukesh,

By design, once a transaction has been posted to the ledger it cannot be edited. This is a requirement of bookkeeping best practice. To make changes you must create a reversing transaction and then make a new one.

Regards,
Edward

@collationhub
Copy link
Author

Thanks for the reply edward i really appriciate it.

it means the ifrs_line_itmes and "ifrs_ledgers" table data is not update in the database.

I have created the transcation base in the account_id/account_type. But some trancation created with same account type

example:-

  1. $clientInvoice = ClientInvoice::create([
    'account_id' => $clientAccount->id,

  2. $cashPurchase = CashPurchase::create([
    'account_id' => $clientAccount->id,

  3. $clientReceipt = ClientReceipt::create([
    'account_id' => $clientAccount->id,

then edward how to these trancation create with different-different account_type?

Regards,
Mukesh

@collationhub
Copy link
Author

Hi Edward,
In the "ifrs transition" table the column name same for every transaction, can i create just 1 common API for every transactions type build. if transaction type send as a parameter?
https://ekmungai.github.io/ifrs-docs/v4docs/transactions/

@ekmungai
Copy link
Owner

Hi Mukesh,
I'm afraid I don't quite follow your question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants