X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcust_pkg.pm;h=a2173d921ed60cf1e78d22d21da5006887dce3a8;hb=e8fb929a2d140165669fe4cc54dfc70fb99962e3;hp=97354d429899f5f48e502ab9d986efb55c3abf0f;hpb=cb5d60b3ece7348c93e3246e7d42baab97b690d2;p=freeside.git 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