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

Need to link Journal Entry with the Expense Request document #7

Open
exar888 opened this issue Mar 2, 2022 · 0 comments
Open

Need to link Journal Entry with the Expense Request document #7

exar888 opened this issue Mar 2, 2022 · 0 comments

Comments

@exar888
Copy link

exar888 commented Mar 2, 2022

hi im trying to link the JE created with the Exp Entr but its not working, can you guide me

je = frappe.get_doc({
'title': expense_entry.name,
'doctype': 'Journal Entry',
'voucher_type': 'Journal Entry',
'posting_date': expense_entry.posting_date,
'expense_link': expense_entry.name,
'company': expense_entry.company,
'accounts': accounts,
'user_remark': expense_entry.remarks,
'mode_of_payment': expense_entry.mode_of_payment,
'cheque_date': expense_entry.clearance_date,
'reference_date': expense_entry.clearance_date,
'cheque_no': expense_entry.payment_reference,
'pay_to_recd_from': expense_entry.payment_to,
'bill_no': expense_entry.name
})

expense_link is a custom field i made in JE doctype

thank you
Indra
bigboyaja@gmail.com

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

1 participant