eloquent-ifrs
eloquent-ifrs copied to clipboard
Transaction update
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
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
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:-
-
$clientInvoice = ClientInvoice::create([ 'account_id' => $clientAccount->id,
-
$cashPurchase = CashPurchase::create([ 'account_id' => $clientAccount->id,
-
$clientReceipt = ClientReceipt::create([ 'account_id' => $clientAccount->id,
then edward how to these trancation create with different-different account_type?
Regards, Mukesh
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/
Hi Mukesh, I'm afraid I don't quite follow your question.