CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • Scalability (Moderator: Donald Lobo) »
  • Batch Table - need ability to specify a batch type
Pages: [1]

Author Topic: Batch Table - need ability to specify a batch type  (Read 6987 times)

Rajesh

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 10
  • CiviCRM version: 4.2.x, 4.3.x, 4.4.x
  • CMS version: Drupal 7.xx, Wordpress 3.5.x - 3.6.x, Joomla 3.1
  • MySQL version: 5.5.20
  • PHP version: 5.3.10
Batch Table - need ability to specify a batch type
February 02, 2011, 06:47:09 am
Hi,

Here is the situation

We are working on 2 different modules, which uses civicrm_batch table to batch contributions. Everything seems to work great. But the problem is, when creating reports based on batch, we couldnt filter the batch name to make it specific for the module. All the available batch names from the batch table are displayed in both the reports(one report for each modules).

I think it would be better to have a batch_type in civicrm_batch table to filter the batch when creating the report. I thought of adding a option group named 'batch_type' and having batch types as values for the option group.

Does anyone have any better idea or is the core team planning something like this ?

I would appreciate any advice.

Thanks

- Rajesh

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Batch Table - need ability to specify a batch type
February 02, 2011, 06:58:02 am

hey rajesh:

creating a batch type option group and adding a batch type id in the batch table seems a good feature to add

do u wanna work on this and file an issue and submit a patch. If done by end of week / early next week we can include it in 3.4

Please also ensure that you write the necessary upgrade code snippets

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Rajesh

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 10
  • CiviCRM version: 4.2.x, 4.3.x, 4.4.x
  • CMS version: Drupal 7.xx, Wordpress 3.5.x - 3.6.x, Joomla 3.1
  • MySQL version: 5.5.20
  • PHP version: 5.3.10
Re: Batch Table - need ability to specify a batch type
February 03, 2011, 02:21:19 am
Hi Lobo

Thanks for the reply.

I am afraid we wont be able to do the work for you now, as we have no more resources available for the next few weeks. Apologies for that.

Will surely pick it up in later stage, if this is not done in 3.4 release.

Thanks

- Rajesh

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Batch Table - need ability to specify a batch type
February 03, 2011, 10:36:47 am

cool. please file an issue with a patch when u get to doing this.

Its currently not on our short/medium term list (specially since we dont really use those set of tables)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Rajesh

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 10
  • CiviCRM version: 4.2.x, 4.3.x, 4.4.x
  • CMS version: Drupal 7.xx, Wordpress 3.5.x - 3.6.x, Joomla 3.1
  • MySQL version: 5.5.20
  • PHP version: 5.3.10
Re: Batch Table - need ability to specify a batch type
November 14, 2011, 08:54:16 am
I have filed an issue with the patch

http://issues.civicrm.org/jira/browse/CRM-9188

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • Scalability (Moderator: Donald Lobo) »
  • Batch Table - need ability to specify a batch type

This forum was archived on 2017-11-26.