[freeside-commits] branch FREESIDE_4_BRANCH updated. 161e8073b3168d170d776529d4f987a31e6a8ea0

Christopher Burger burgerc at freeside.biz
Tue Mar 26 07:17:34 PDT 2019


The branch, FREESIDE_4_BRANCH has been updated
       via  161e8073b3168d170d776529d4f987a31e6a8ea0 (commit)
       via  a22f44ad1d8b7cd9dbfd9d4a0d230b47bb135a3e (commit)
      from  b098bd7b7b03c0c580bd262d36fb3fda97adf6a0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 161e8073b3168d170d776529d4f987a31e6a8ea0
Author: Christopher Burger <burgerc at freeside.biz>
Date:   Tue Mar 26 09:00:44 2019 -0400

    RT# 82992 - updated documentation

diff --git a/FS/FS/cdr/thinq.pm b/FS/FS/cdr/thinq.pm
index 0d2668961..e56b938ba 100644
--- a/FS/FS/cdr/thinq.pm
+++ b/FS/FS/cdr/thinq.pm
@@ -65,8 +65,6 @@ FS::cdr::thinq - ThinQ cdr import.
 
 =head1 DESCRIPTION
 
-https://support.thinq.com/hc/en-us/articles/229251907-Defining-the-CDR-for-LCR
-
 https://support.thinq.com/hc/en-us/articles/229251987-Defining-the-CDR-for-Origination
 
 File format is csv, fields below.
@@ -91,34 +89,4 @@ File format is csv, fields below.
 18  billsec      - billable seconds  6
 19  total_charge - charge for this call  0.00025000
 
-ThinQ cdr field definitions
-
-01  from_ani     - The number dialed from
-02  to_did       - The number dialed to
-03  lrn          - 10-digit number that identifies a switch port for a central office
-04  prefix_match - extension number to rate international calls
-05  country      - country call was terminated to
-06  callid       - The unique idenitifer for a call
-07  time         - time when the call was placed in GMT/UTC format
-08  account_id   - Your account Identifier
-09  Profile_id   - The profile identifier the call was sent though
-10  src_ip       - The source IP address
-11  carrier_id   - Our ID number for each carrier
-12  rate         - The current rate of charge per minute
-13  total        - total price of the call
-14  from_state   - orginating state from USA
-15  to_state     - terminationg state of the USA
-16  rc           - Rate Center = geographical area used by a Local Exchange Carrier (LEC) to determine the boundaries
-                   for local calling, billing and assigning phone numbers
-17  from_rc      - originating rc
-18  to_rc        - terminating rc
-19  lata         - area that is covered by local exchange carriers (LECs)
-20  from_lata    - originating lata
-21  to_lata      - terminating lata
-22  ocn          - Operating Company Number is a 4 character ID for North American phone companies assigned by NECA and used to identify companies
-23  from_ocn     - originating ocn
-24  to_ocn       - terminating ocn
-25  bill_sec     - billable seconds
-26  jurisdiction - how we rate the call for International, Intrastate, Interstate
-
 =cut
\ No newline at end of file

commit a22f44ad1d8b7cd9dbfd9d4a0d230b47bb135a3e
Author: Christopher Burger <burgerc at freeside.biz>
Date:   Mon Mar 25 16:45:40 2019 -0400

    RT# 82959 - added agent virtualization to unprovisioned services report.

diff --git a/httemplate/search/unprovisioned_services.html b/httemplate/search/unprovisioned_services.html
index a7791ba86..0ef1ff633 100644
--- a/httemplate/search/unprovisioned_services.html
+++ b/httemplate/search/unprovisioned_services.html
@@ -69,10 +69,13 @@ foreach my $svcpart ( @svcpart ) {
 $svcpart_limit = " and pkg_svc.svcpart in (". join(',', at svcpart) . ")"
     if scalar(@svcpart);
 
+## here is the agent virtualization
+my $agentnums_sql = $FS::CurrentUser::CurrentUser->agentnums_sql;
+
 my $search = " where cust_pkg.cancel is null and pkg_svc.quantity > 0 and "
 	    . " pkg_svc.quantity > (select count(1) from cust_svc where "
 	    . " cust_svc.pkgnum = cust_pkg.pkgnum and "
-	    . " cust_svc.svcpart = pkg_svc.svcpart) $svcpart_limit";
+	    . " cust_svc.svcpart = pkg_svc.svcpart) $svcpart_limit and $agentnums_sql";
 
 my $addl_from = " join pkg_svc using (pkgpart) ".
             FS::UI::Web::join_cust_main('cust_pkg', 'cust_pkg');

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cdr/thinq.pm                            | 32 ---------------------------
 httemplate/search/unprovisioned_services.html |  5 ++++-
 2 files changed, 4 insertions(+), 33 deletions(-)




More information about the freeside-commits mailing list