Hi everyone,
In some places the child table is automatically filled when we select a value in the form like in stock reconciliation.
Somebody please explain to me how it is done ?
Hi everyone,
In some places the child table is automatically filled when we select a value in the form like in stock reconciliation.
Somebody please explain to me how it is done ?
yup… I saw it , but didn’t get how it’s done
What part?
@ninjas005 see bank reconciliation tool code to fetch details in table
Call your py code from js, will execute on click of Get Relevant Entry button
https://github.com/frappe/erpnext/blob/develop/erpnext/accounts/doctype/bank_reconciliation/bank_reconciliation.js#L34
To append data in table
https://github.com/frappe/erpnext/blob/develop/erpnext/accounts/doctype/bank_reconciliation/bank_reconciliation.py#L32
Thanks
That was easier to understand compared to stock reconciliation