This method will target all of the patrons who have ever had a bill in a given org unit (owner of the AT compared to the billing_ou in the view). Then the validator step will weed them out according to the OU library setting. I recommend using a granularity although the stock insert does not setup a granularity. I couldn't decide which granularity to use by default. I suppose "Monthly"
Here is what I came up with so far.
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ blake/LP1496522 _action_ trigger_ for_periodic_ billing_ statement
This method will target all of the patrons who have ever had a bill in a given org unit (owner of the AT compared to the billing_ou in the view). Then the validator step will weed them out according to the OU library setting. I recommend using a granularity although the stock insert does not setup a granularity. I couldn't decide which granularity to use by default. I suppose "Monthly"