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

bulk transaction related improvements/fixes #29712

Open
1 of 2 tasks
ankush opened this issue Feb 8, 2022 · 2 comments · Fixed by #29951
Open
1 of 2 tasks

bulk transaction related improvements/fixes #29712

ankush opened this issue Feb 8, 2022 · 2 comments · Fixed by #29951
Assignees

Comments

@ankush
Copy link
Member

ankush commented Feb 8, 2022

  • docs
  • background job ineffective because the default is None (use today's date in such case or maybe retry last 24 hours failures?)

ref:

def retry_failing_transaction(log_date=None):
btp = frappe.qb.DocType("Bulk Transaction Log Detail")
data = (
frappe.qb.from_(btp)
.select(btp.transaction_name, btp.from_doctype, btp.to_doctype)
.distinct()
.where(btp.retried != 1)
.where(btp.transaction_status == "Failed")
.where(btp.date == log_date)

related to #28580

@ankush ankush added this to the v14.0 milestone Feb 8, 2022
@mohammedyusufshaikh mohammedyusufshaikh linked a pull request Feb 22, 2022 that will close this issue
@mohammedyusufshaikh
Copy link
Contributor

I have fixed the default log date issue

@ankush ankush reopened this May 16, 2022
@ankush
Copy link
Member Author

ankush commented May 16, 2022

Docs still pending.

@ankush ankush removed this from the v14.0 milestone Jun 20, 2022
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

Successfully merging a pull request may close this issue.

2 participants