From: Ivan Kohler Date: Thu, 9 Jan 2014 01:32:06 +0000 (-0800) Subject: time/data/etc. unit pricing add-ons, RT#24392 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=e8fb929a2d140165669fe4cc54dfc70fb99962e3 time/data/etc. unit pricing add-ons, RT#24392 --- diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm index 97354d429..a2173d921 100644 --- a/FS/FS/cust_pkg.pm +++ b/FS/FS/cust_pkg.pm @@ -254,6 +254,12 @@ setting I to an array reference of refnums or a hash reference with refnums as keys. If no I is defined, a default FS::pkg_referral record will be created corresponding to cust_main.refnum. +If the additional field I is defined, it will be treated +as an arrayref of FS::cust_pkg_usageprice objects, which will be inserted. +(Note that this field cannot be set with a usual ->cust_pkg_usageprice method. +It can be set as part of the hash when creating the object, or with the B +method.) + The following options are available: =over 4 @@ -267,10 +273,6 @@ orders. (Currently this includes: intro periods when delay_setup is on.) cust_pkg_option records will be created -=item cust_pkg_usageprice - -Array reference of cust_pkg_usageprice objects, will be inserted - =item ticket_subject a ticket will be added to this customer with this subject