question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Overdue changes to support Hierarchical Account

See original GitHub issue

For all the existing overdue handlers in OverdueListener the code needs to now detect when this is parent account and propagate the changes to the children (in addition to itself).

OverduePoster needs to be called to create a new notification for each child so processing happens asynchronously

Tests:

  • Create unit in overdue with one parent and a few children

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
sbrossiecommented, Jul 18, 2016

@matias-aguero-hs I see… our api is a bit confusing (and broken in my opinion) and you just took advantage of that: We allow to pass both an accountId and a context (which contains an accountRecordId). The assumption is that both accountId and accountRecordId should point to same account, but there is nothing enforcing that, so what you described is correct.

At some point we will need to revisit that (at the very least add some comments) and a better solution would be to remove accountId and simply rely on the context. This is fine for now. Nothing to do. Let’s move on.

0reactions
matias-aguero-hscommented, Jul 18, 2016

You’re right, the code is sending childAccount object and parentAccountContext. The unpaid invoices are retrieving by context and childAccount object is used to build the BillingState object result. That’s why the code is using both accounts.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Overdue changes - ServiceNow Docs
Overdue changes · On the My team dashboard, tap on Overdue changes on the applet. · If you want to reduce the number...
Read more >
Why Hierarchy Is Outdated: The (Long Overdue ... - Forbes
Hierarchy is outdated. The age-old system originally designed by the military and adopted by corporate America has been rendered obsolete ...
Read more >
Handling Overdue Requests
If the age of a request exceeds the request duration configured for the workflow model or the due date configured for the request,...
Read more >
How do I change when Overdue Notices go out with ILLiad?
Answer. For Lending Overdue Notices, see the Atlas Systems Lending Overdue Notices documentation. For Borrowing Overdue Notices, see the ATLAS ...
Read more >
Can I create a list of overdue Prime Contract Change Orders ...
To help you avoid any setbacks, the project's Prime Contracts tool lets users with 'Admin' permission on the Prime Contracts and Reports tool...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found