[Spce-user] Problem Creating Customers/Resellers
Koot Pienaar
koot at ntelecom.co.za
Wed May 17 09:51:07 EDT 2017
Hi Guys
I am trying to create a reseller, with customers and subscribers.
I create Reseller 1 from the resellers page. Then i create a new contract
from the dialog box for creating reseller, but then i select create contact
from the create contract page.
I save the contact, select the contact then save the contract.
I then select the new contract and Create my reseller.
Now i want to create a customer for the reseller. So i select create
customer, i then select my contact and billing profile and click save. Then
i get error, Failed to create customer contract [14BF6018FA287110], my panel
log shows the output below:
', 'billing_profiles.0.row.network_id' => '', 'status' => 'active',
'billing_profiles.0.start' => '', 'billing_profile_definition' => 'id',
'billing_profile.id' => '1', 'invoice_template.id' => '',
'billing_profiles.0.row.profile_id' => '', 'vat_rate' => '0', 'external_id'
=> '', 'invoice_email_template.id' => '', 'passreset_email_template.id' =>
'', 'contact.id' => '7', 'billing_profiles.0.end' => '', 'save' => 'Save',
'profile_package.id' => '', 'subscriber_email_template.id' => ''}
MSG="Failed to create customer contract ({UNKNOWN}: Can't call method "id"
on an undefined value at
/usr/share/perl5/NGCP/Panel/Utils/ProfilePackages.pm line 538. at
/usr/share/perl5/Catalyst/Model/DBIC/Schema.pm line 526#012)" LOG=""
It looks like it is because the contact does not have a reseller assigned to
it. But when trying to edit the contact to assing reseller there is no
option to do so. When i manually create a contact and not from the Reseller
creation page this does not happen but this is a catch 22. I cannot assign a
reseller to the contact if it is not created yet. I also cannot create
reseller without contact.
How can i overcome this? Or am i doing something wrong?
Regards
Koot Pienaar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20170517/344ebad1/attachment.html>
More information about the Spce-user
mailing list