Pin_collections_send_dunning For Credit Card Customer Does Not Send Email (Doc ID 549399.1)

Last updated on SEPTEMBER 26, 2016

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.3.0.0.0 to 7.3.0.0.1 [Release 7.3.0]
Information in this document applies to any platform.
***Checked for relevance on 18-Jan-2010***
Checked for relevance on 16-Mar-2012.
*** Checked for relevance on 11-19-2014 ***


Symptoms

System info: Portal 7.3 with BRM Patches 4489 & 5903622.

Despite setting pin.conf for $PIN_HOME/apps/pin_collection to send dunning letter via email for invoice and non-invoice account following the document as below:

#======================================================================
# Send(printing/emailing) preference for non-invoice accounts
#
# This entry only works for non-invoice accounts to determine whether
# to print or email the dunning letters.
#
# For now, the valid options are:
# 0 - emailing, Non-zero - printing
# And the default value will be non-zero (printing).
#======================================================================
#- pin_collections_send_dunning delivery_preference 1
- pin_collections_send_dunning delivery_preference 0



BRM system is creating only a print version of dunning letter for Credit Card type account. Email works only for Invoice type account.

cm.pinlog file shows

      op_delivery_mail_sendmsgs input flist
# number of field entries allocated 20, used 2
0 PIN_FLD_POID POID [0] 0.0.0.0 /print 0 0
0 PIN_FLD_MESSAGES ARRAY [0] allocated 20, used 4
1    PIN_FLD_SENDER STR [0] "Dunning - online service"
1    PIN_FLD_SUBJECT STR [0] "Dunning - online service"
1    PIN_FLD_TYPE_STR STR [0] "text/html"
1    PIN_FLD_LETTER BUF [0] flag/size/offset 0x0 3376 0 data:
...

      op_delivery_mail_sendmsgs return flist
# number of field entries allocated 20, used 3
0 PIN_FLD_POID POID [0] 0.0.2.1 /print 1 0
0 PIN_FLD_MESSAGES ARRAY [0] allocated 20, used 1
1    PIN_FLD_RESULT ENUM [0] 0
0 PIN_FLD_RESULT ENUM [0] 0


instead of something like the following as for invoice type account:

      op_delivery_mail_sendmsgs input flist
# number of field entries allocated 20, used 2
0 PIN_FLD_POID POID [0] 0.0.0.0 /email 0 0
0 PIN_FLD_MESSAGES ARRAY [0] allocated 20, used 5
1    PIN_FLD_SENDER STR [0] "Dunning - online service"
1    PIN_FLD_SUBJECT STR [0] "Dunning - online service"
1    PIN_FLD_TYPE_STR STR [0] "text/html"
1    PIN_FLD_LETTER BUF [0] flag/size/offset 0x0 2958 0 data:
...

      op_delivery_mail_sendmsgs return flist
# number of field entries allocated 20, used 3
0 PIN_FLD_POID POID [0] 0.0.2.1 /email 1 0
0 PIN_FLD_MESSAGES ARRAY [0] allocated 20, used 2
1    PIN_FLD_RECIPIENTS ARRAY [0] allocated 20, used 1
2       PIN_FLD_EMAIL_ADDR STR [0] "joe@xyz.com"
1    PIN_FLD_RESULT ENUM [0] 1
0 PIN_FLD_RESULT ENUM [0] 1



Steps to reproduce the problem:
1.  Load dunning letter template.
     The following command is for loading OOB (out of the box) dunning letter template:

% cd $PIN_HOME/sys/data/config/stylesheets
% cp %PIN_HOME/sys/test/pin.conf
% pin_load_template -brand "0.0.0.1 /account 1" -name "First Dunning" -type dunning -template dunning_first.xsl -usexsl

     Restart CM. (This will create /config/invoice_templates/dunning object)

2.  Set up collections scenario with Collections Configuration.
     Make sure sending dunning letter is in the action.
     Restart CM

3.  In $PIN_HOME/apps/pin_collections/pin.conf, make the following modification:

- pin_collections_send_dunning delivery_preference 0

4.  Create an invoice account with email address.

5.  Run several billing and pin_collections_process from $PIN_HOME/apps/pin_collections to see the account falls into collections.
     Deferred actions will be created.
     Verify it from Customer Center Summary page.
     Drill down "Deferred actions", verify the date scheduled for dunning letter.

6.  Change the account payment type from Invoice to Credit Card.

7.  From $PIN_HOME/apps/pin_collections directory, change the pin_virtual_time to match the time for sending dunning letter, then run

% pin_collections_process
% pin_collections_send_dunning

The problem should be observed from the cm.pinlog file.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms