eloquent-ifrs icon indicating copy to clipboard operation
eloquent-ifrs copied to clipboard

Transaction update

Open collationhub opened this issue 3 years ago • 4 comments

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

collationhub avatar Feb 22 '22 13:02 collationhub

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

ekmungai avatar Feb 24 '22 12:02 ekmungai

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 avatar Feb 24 '22 13:02 collationhub

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/

collationhub avatar Mar 01 '22 07:03 collationhub

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

ekmungai avatar Mar 17 '22 12:03 ekmungai