Skip to content

Allow registering multiple InvoicedItemsProcessingService impls#1102

Open
labkey-adam wants to merge 1 commit intodevelopfrom
fb_pg_support
Open

Allow registering multiple InvoicedItemsProcessingService impls#1102
labkey-adam wants to merge 1 commit intodevelopfrom
fb_pg_support

Conversation

@labkey-adam
Copy link
Contributor

@labkey-adam labkey-adam commented Feb 14, 2026

Rationale

https://github.com/LabKey/kanban/issues/1577

We need to allow multiple modules to register a InvoicedItemsProcessingService impl. Provide a module at registration time and a container at retrieval time. Determine the impl to return based on active modules in the container.

Related Pull Requests

Copy link
Contributor

@labkey-martyp labkey-martyp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if you were ready for code review on this. We'll need register calls then in the client repos?

protected BillingTask(Factory factory, PipelineJob job)
{
super(factory, job);
_processingService = InvoicedItemsProcessingService.get(job.getContainer());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we'll want to use EHR_BillingManager.get().getBillingContainer(getJob().getContainer());

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 this pull request may close these issues.

2 participants