https://wiki.kolmisoft.com/api.php?action=feedcontributions&user=Ervinas&feedformat=atomKolmisoft Wiki - User contributions [en]2024-03-28T23:12:22ZUser contributionsMediaWiki 1.37.1https://wiki.kolmisoft.com/index.php?title=Rate_Notifications&diff=27665Rate Notifications2022-10-11T12:23:44Z<p>Ervinas: /* Creating Rate Notification */</p>
<hr />
<div>= Introduction =<br />
<br />
Whenever there are Rate updates or changes in the Tariff some sort of communication must be made with Users that are using those Rates. Rate Notifications functionality eases manual tasks by allowing users to quickly and automatically create Jobs that inform Users about upcoming (depending on effective from the value in the future) Rate prices and also await their confirmation whether they agree or disagree with them. <br />
<br />
= Workflow schema =<br />
<br />
The workflow can be visualized using the following schema:<br />
<br><br><br />
[[File:RateNotification1.png]]<br />
<br><br><br />
<br />
= Rate Notifications Templates =<br />
<br />
[[File:RateNotificationTemplate1.png]]<br />
<br><br><br />
The data is generated into an XLSX file. The system contains a '''Default''' template, which is assigned for all users.<br />
<br><br><br />
[[File:RateNotificationTemplate2.png]]<br />
<br><br><br />
It is possible to create a custom template file and use it for customers by clicking '''ADD NEW TEMPLATE''' and filling cells by your needs or uploading an XLSX Template file. <br />
*Note: If a row has a value, the column near it cannot be blank.<br />
<br><br><br />
[[File:RateNotificationTemplate3.png]]<br />
<br><br><br />
It is also possible to assign Rate Notification Template for a User in his settings.<br />
<br><br><br />
[[File:RateNotificationTemplate4.png]]<br />
<br><br><br />
<br />
= Rate Notifications =<br />
<br />
Rate Notifications is the primary page of the functionality, it displays unique Tariff - User associations to whom Notification can be sent.<br><br />
This page can be found in Menu -> BILLING -> Tariffs -> Rate Notifications<br />
<br><br><br />
[[File:RateNotification2.png]]<br />
<br><br><br />
<br />
Associated Tariff - User objects are shown only when the following conditions are met:<br />
* Tariff is Sell type;<br />
* User's Connection Point is assigned Sell Tariff in Origination Point settings;<br />
* Tariff was modified and does not have any Rate Notification Job created for specific Tariff - User;<br />
* Tariff was modified and specific Tariff - User Rate Notification was created prior to Tariff modifications.<br />
<br />
= Creating Rate Notification =<br />
<br />
In order to create new Rate Notification Jobs, check wanted Tariff - User associations and press Set.<br><br />
All required Notifications can be selected by clicking header checkbox. <br />
<br><br><br />
[[File:RateNotification3.png]]<br />
<br><br><br />
After selection, another page will be loaded with options for these specific Notifications.<br><br />
"Selected Tariffs - Users" displays marked associations to whom Notifications will be sent. <br />
"Options" has several settings:<br />
* Template - Rate Notification Template.<br />
* Email Template: which Template will be used for email. Default "tariff_rate_notification" template is already present in the system and can be modified to fit specific needs. <br />
** Additional possible variables:<br />
*** rate_notification_tariff_name - Rate Notification's Tariff name<br />
*** rate_notification_url_agree - Rate Notification's Agreement link<br />
*** rate_notification_url_disagree - Rate Notifications' Disagreement link<br />
* Rate Notification Type: <br />
** Delta Only: future Rates only. <br />
** Full: all future and currently active Rates. <br />
* Agreement Timeout in days: timeout after which Notification will be automatically marked as disagreed (ignored) if the User did not respond. A Timeout adds specified days value to Notification created time. <br />
* Filename - Name of the notification file.<br />
* Send Email:<br />
** Every day: send an email every day until either Agreement link is pressed or Agreement Timeout is reached<br />
** Once: send email only one time.<br />
<br><br><br />
[[File:RateNotification4.png]]<br />
<br><br><br />
After pressing the Create button, Jobs will be created and the Rate Notification Jobs page will be loaded. <br />
<br><br><br />
[[File:RateNotification5.png]]<br />
<br><br><br />
<br />
= Rate Notification Jobs =<br />
<br />
Rate Notification Jobs is the page where the system will automatically gather required Rates data, send emails and awaits for Users' response.<br><br />
This page can be found in Menu -> BILLING -> Tariffs -> Rate Notifications -> Jobs<br />
<br />
Jobs have the following states:<br><br />
'''Assigned'''<br><br />
After Rate Notification is created a new Job appears as assigned. <br />
<br><br><br />
[[File:RateNotification6.png]]<br />
<br><br><br />
<br />
'''Date Generated'''<br><br />
System checks for all newly assigned Jobs and generates required data in XLSX format, which can be downloaded from the list. The same exact file will be attached to the email.<br><br />
Rates will be converted using the default currency. To prevent conversion, setting - "Use Tariff currency in the CSV export" must be enabled.<br><br />
This setting can be found in Maintenance -> Settings -> Various -> Use Tariff currency in CSV export.<br> <br />
<br><br><br />
[[File:RateNotification7.png]]<br />
<br><br><br />
<br />
'''Email Sent'''<br><br />
All Jobs that have successfully generated data will send emails to Users with unique agree and disagree links which can be clicked on only once and within specified timeout.<br><br />
'''Email will not be sent if there were no changes in rates!'''<br />
<br><br><br />
[[File:RateNotification8.png]]<br />
<br><br><br />
<br />
'''Completed'''<br><br />
Depending on User actions, Job can be either agreed, disagreed, or ignored. The list will display specific responses and time it was responded on. Also an additional email will be sent to Admin informing Rate Notification Job response status.<br><br />
<br><br><br />
[[File:RateNotification9.png]]<br />
<br><br><br />
<br />
= Examples =<br />
<br />
== Type: Full, Rate Notification Agreed ==<br />
<br />
User have tariff with some rates:<br />
<br><br><br />
[[File:RateNotification10.png]]<br />
<br><br><br />
Admin uploads new rates with some changes on prices and Effective from date in future:<br />
<br><br><br />
[[File:RateNotification11.png]]<br />
<br><br><br />
In Billing > Tariffs > Rate Notifications, Admin now can see new entry. Admin selects new entry and clicks “SET”:<br />
<br><br><br />
[[File:RateNotification12.png]]<br />
<br><br><br />
Then Admin selects “Full” to display old rates and new rates and click “Create”:<br />
<br><br><br />
[[File:RateNotification13.png]]<br />
<br><br><br />
New Rate Notification is created:<br />
<br><br><br />
[[File:RateNotification14.png]]<br />
<br><br><br />
User gets email with two links:<br />
<br><br><br />
[[File:RateNotification15.png]]<br />
<br><br><br />
and file with rates comparison:<br />
<br><br><br />
[[File:RateNotification16.png]]<br />
<br><br><br />
After checking new rates, User clicks on first link in email to agree with new rates:<br />
<br><br><br />
[[File:RateNotification17.png]]<br />
<br><br><br />
Now, Admin gets email about new rates being confirmed:<br />
<br><br><br />
[[File:RateNotification18.png]]<br />
<br><br><br />
And also sees update status in Rate Notifications Jobs list:<br />
<br><br><br />
[[File:RateNotification19.png]]<br />
<br><br><br />
<br />
== Type: Delta Only, Rate Notification Disagreed ==<br />
<br />
User has tariff with some rates<br />
<br><br><br />
[[File:RateNotification20.png]]<br />
<br><br><br />
In Billing > Tariffs > Rate Notifications, Admin can see a rate notification list of his users. Admin selects needed user and clicks “SET”:<br />
<br><br><br />
[[File:RateNotification21.png]]<br />
<br><br><br />
Then Admin selects “Delta” to display only new rates and press “Create”:<br />
<br><br><br />
[[File:RateNotification22.png]]<br />
<br><br><br />
Tariff Rate Notification Job(s) successfully created.<br />
<br><br><br />
[[File:RateNotification23.png]]<br />
<br><br><br />
Then Admin uploads new rates with some changes on prices and Effective from date in future.<br />
<br />
After this, the user gets an email with two links with rates to comparison:<br />
<br />
Dear Partner,<br><br />
Please review attached Tariff‘s Rate changes.<br><br />
To confirm upcoming rate changes, please click the link below:<br><br />
http://123.123.123.123/billing/tariff_rate_notification_jobs/agree?id=1128bccbac519a04a4866c785f84f873eec6d5fd<br><br />
If You do not agree with the changes, please click the link below:<br><br />
http://123.123.123.123/billing/tariff_rate_notification_jobs/disagree?id=bcc02d82cf9d919af38bb4e4677685eeb0b382a8<br><br />
Thank you for cooperation.<br><br />
<br><br><br />
[[File:RateNotification24.png]]<br />
<br><br><br />
For example, the User disagrees and presses the second link. He can see the notification that Tariff Rate changes successfully disagreed.<br />
<br />
After that Admin will receive an email that the client disagreed and will see the same status in Tariff Job.<br />
<br />
Tariff Rate Notification ID: 2 was disagreed by the client.<br />
<br><br><br />
[[File:RateNotification25.png]]<br />
<br />
When the User disagrees with the provided rates or ignores them, the system creates a Custom Tariff from the tariff assigned to Origination Point.<br />
<br />
Custom Tariff includes increased rates, but these rates are blocked and calls will not pass over these destinations.<br />
<br />
This Custom Tariff is assigned to Origination Point.<br />
<br />
'''Note''':<br />
<br />
1. If Origination Point already has Custom Tariff assigned, Custom Tariff from Rate Notification will be applied.<br />
<br />
2. If Origination Point has assigned Conditional Tariff and User disagrees with the provided rates or ignores them, Custom Tariff is created, but is not assigned to Origination Point.<br />
<br />
<br><br></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=Rate_Notifications&diff=27664Rate Notifications2022-10-11T12:22:22Z<p>Ervinas: /* Creating Rate Notification */</p>
<hr />
<div>= Introduction =<br />
<br />
Whenever there are Rate updates or changes in the Tariff some sort of communication must be made with Users that are using those Rates. Rate Notifications functionality eases manual tasks by allowing users to quickly and automatically create Jobs that inform Users about upcoming (depending on effective from the value in the future) Rate prices and also await their confirmation whether they agree or disagree with them. <br />
<br />
= Workflow schema =<br />
<br />
The workflow can be visualized using the following schema:<br />
<br><br><br />
[[File:RateNotification1.png]]<br />
<br><br><br />
<br />
= Rate Notifications Templates =<br />
<br />
[[File:RateNotificationTemplate1.png]]<br />
<br><br><br />
The data is generated into an XLSX file. The system contains a '''Default''' template, which is assigned for all users.<br />
<br><br><br />
[[File:RateNotificationTemplate2.png]]<br />
<br><br><br />
It is possible to create a custom template file and use it for customers by clicking '''ADD NEW TEMPLATE''' and filling cells by your needs or uploading an XLSX Template file. <br />
*Note: If a row has a value, the column near it cannot be blank.<br />
<br><br><br />
[[File:RateNotificationTemplate3.png]]<br />
<br><br><br />
It is also possible to assign Rate Notification Template for a User in his settings.<br />
<br><br><br />
[[File:RateNotificationTemplate4.png]]<br />
<br><br><br />
<br />
= Rate Notifications =<br />
<br />
Rate Notifications is the primary page of the functionality, it displays unique Tariff - User associations to whom Notification can be sent.<br><br />
This page can be found in Menu -> BILLING -> Tariffs -> Rate Notifications<br />
<br><br><br />
[[File:RateNotification2.png]]<br />
<br><br><br />
<br />
Associated Tariff - User objects are shown only when the following conditions are met:<br />
* Tariff is Sell type;<br />
* User's Connection Point is assigned Sell Tariff in Origination Point settings;<br />
* Tariff was modified and does not have any Rate Notification Job created for specific Tariff - User;<br />
* Tariff was modified and specific Tariff - User Rate Notification was created prior to Tariff modifications.<br />
<br />
= Creating Rate Notification =<br />
<br />
In order to create new Rate Notification Jobs, check wanted Tariff - User associations and press Set.<br><br />
All required Notifications can be selected by clicking header checkbox. <br />
<br><br><br />
[[File:RateNotification3.png]]<br />
<br><br><br />
After selection, another page will be loaded with options for these specific Notifications.<br><br />
"Selected Tariffs - Users" displays marked associations to whom Notifications will be sent. <br />
"Options" has several settings:<br />
* Template - Rate Notification Template.<br />
* Email Template: which Template will be used for email. Default "tariff_rate_notification" template is already present in the system and can be modified to fit specific needs. <br />
** Additional possible variables:<br />
*** rate_notification_tariff_name - Rate Notification's Tariff name<br />
* Rate Notification Type: <br />
** Delta Only: future Rates only. <br />
** Full: all future and currently active Rates. <br />
* Agreement Timeout in days: timeout after which Notification will be automatically marked as disagreed (ignored) if the User did not respond. A Timeout adds specified days value to Notification created time. <br />
* Filename - Name of the notification file.<br />
* Send Email:<br />
** Every day: send an email every day until either Agreement link is pressed or Agreement Timeout is reached<br />
** Once: send email only one time.<br />
<br><br><br />
[[File:RateNotification4.png]]<br />
<br><br><br />
After pressing the Create button, Jobs will be created and the Rate Notification Jobs page will be loaded. <br />
<br><br><br />
[[File:RateNotification5.png]]<br />
<br><br><br />
<br />
= Rate Notification Jobs =<br />
<br />
Rate Notification Jobs is the page where the system will automatically gather required Rates data, send emails and awaits for Users' response.<br><br />
This page can be found in Menu -> BILLING -> Tariffs -> Rate Notifications -> Jobs<br />
<br />
Jobs have the following states:<br><br />
'''Assigned'''<br><br />
After Rate Notification is created a new Job appears as assigned. <br />
<br><br><br />
[[File:RateNotification6.png]]<br />
<br><br><br />
<br />
'''Date Generated'''<br><br />
System checks for all newly assigned Jobs and generates required data in XLSX format, which can be downloaded from the list. The same exact file will be attached to the email.<br><br />
Rates will be converted using the default currency. To prevent conversion, setting - "Use Tariff currency in the CSV export" must be enabled.<br><br />
This setting can be found in Maintenance -> Settings -> Various -> Use Tariff currency in CSV export.<br> <br />
<br><br><br />
[[File:RateNotification7.png]]<br />
<br><br><br />
<br />
'''Email Sent'''<br><br />
All Jobs that have successfully generated data will send emails to Users with unique agree and disagree links which can be clicked on only once and within specified timeout.<br><br />
'''Email will not be sent if there were no changes in rates!'''<br />
<br><br><br />
[[File:RateNotification8.png]]<br />
<br><br><br />
<br />
'''Completed'''<br><br />
Depending on User actions, Job can be either agreed, disagreed, or ignored. The list will display specific responses and time it was responded on. Also an additional email will be sent to Admin informing Rate Notification Job response status.<br><br />
<br><br><br />
[[File:RateNotification9.png]]<br />
<br><br><br />
<br />
= Examples =<br />
<br />
== Type: Full, Rate Notification Agreed ==<br />
<br />
User have tariff with some rates:<br />
<br><br><br />
[[File:RateNotification10.png]]<br />
<br><br><br />
Admin uploads new rates with some changes on prices and Effective from date in future:<br />
<br><br><br />
[[File:RateNotification11.png]]<br />
<br><br><br />
In Billing > Tariffs > Rate Notifications, Admin now can see new entry. Admin selects new entry and clicks “SET”:<br />
<br><br><br />
[[File:RateNotification12.png]]<br />
<br><br><br />
Then Admin selects “Full” to display old rates and new rates and click “Create”:<br />
<br><br><br />
[[File:RateNotification13.png]]<br />
<br><br><br />
New Rate Notification is created:<br />
<br><br><br />
[[File:RateNotification14.png]]<br />
<br><br><br />
User gets email with two links:<br />
<br><br><br />
[[File:RateNotification15.png]]<br />
<br><br><br />
and file with rates comparison:<br />
<br><br><br />
[[File:RateNotification16.png]]<br />
<br><br><br />
After checking new rates, User clicks on first link in email to agree with new rates:<br />
<br><br><br />
[[File:RateNotification17.png]]<br />
<br><br><br />
Now, Admin gets email about new rates being confirmed:<br />
<br><br><br />
[[File:RateNotification18.png]]<br />
<br><br><br />
And also sees update status in Rate Notifications Jobs list:<br />
<br><br><br />
[[File:RateNotification19.png]]<br />
<br><br><br />
<br />
== Type: Delta Only, Rate Notification Disagreed ==<br />
<br />
User has tariff with some rates<br />
<br><br><br />
[[File:RateNotification20.png]]<br />
<br><br><br />
In Billing > Tariffs > Rate Notifications, Admin can see a rate notification list of his users. Admin selects needed user and clicks “SET”:<br />
<br><br><br />
[[File:RateNotification21.png]]<br />
<br><br><br />
Then Admin selects “Delta” to display only new rates and press “Create”:<br />
<br><br><br />
[[File:RateNotification22.png]]<br />
<br><br><br />
Tariff Rate Notification Job(s) successfully created.<br />
<br><br><br />
[[File:RateNotification23.png]]<br />
<br><br><br />
Then Admin uploads new rates with some changes on prices and Effective from date in future.<br />
<br />
After this, the user gets an email with two links with rates to comparison:<br />
<br />
Dear Partner,<br><br />
Please review attached Tariff‘s Rate changes.<br><br />
To confirm upcoming rate changes, please click the link below:<br><br />
http://123.123.123.123/billing/tariff_rate_notification_jobs/agree?id=1128bccbac519a04a4866c785f84f873eec6d5fd<br><br />
If You do not agree with the changes, please click the link below:<br><br />
http://123.123.123.123/billing/tariff_rate_notification_jobs/disagree?id=bcc02d82cf9d919af38bb4e4677685eeb0b382a8<br><br />
Thank you for cooperation.<br><br />
<br><br><br />
[[File:RateNotification24.png]]<br />
<br><br><br />
For example, the User disagrees and presses the second link. He can see the notification that Tariff Rate changes successfully disagreed.<br />
<br />
After that Admin will receive an email that the client disagreed and will see the same status in Tariff Job.<br />
<br />
Tariff Rate Notification ID: 2 was disagreed by the client.<br />
<br><br><br />
[[File:RateNotification25.png]]<br />
<br />
When the User disagrees with the provided rates or ignores them, the system creates a Custom Tariff from the tariff assigned to Origination Point.<br />
<br />
Custom Tariff includes increased rates, but these rates are blocked and calls will not pass over these destinations.<br />
<br />
This Custom Tariff is assigned to Origination Point.<br />
<br />
'''Note''':<br />
<br />
1. If Origination Point already has Custom Tariff assigned, Custom Tariff from Rate Notification will be applied.<br />
<br />
2. If Origination Point has assigned Conditional Tariff and User disagrees with the provided rates or ignores them, Custom Tariff is created, but is not assigned to Origination Point.<br />
<br />
<br><br></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=Implement_login_form_into_your_website&diff=25933Implement login form into your website2020-10-28T02:38:24Z<p>Ervinas: </p>
<hr />
<div>Use such form (press [http://wiki.kolmisoft.com/index.php?title=Implement_login_form_into_your_website&action=edit here] to see HTML code):<br />
<br />
<html><br />
<head><br />
<title>Your MOR login</title><br />
</head><br />
<body><br />
<form action="http://your_mor_gui_host/billing/callc/try_to_login" method="get"><br />
<input class="input" id="login_username" name="login[username]" size="11" type="text" /><br />
<br><br />
<input class="input" id="login_psw" name="login[psw]" size="11" type="password" /><br />
<br><br />
<br><br />
<input name="commit" type="submit" value="Login" /><br />
</form><br />
</body><br />
</html></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=Automatic_Tariff_Import&diff=25924Automatic Tariff Import2020-10-21T12:15:24Z<p>Ervinas: /* Analysis */</p>
<hr />
<div><big><big>NOTICE: this is an add-on. Its functionality is identical in M2/MOR softswitches. M2 screenshots are used in this guide. It looks similar in MOR.</big></big><br />
<br />
= Introduction =<br />
<br />
An important task is the timely management of Provider Tariff Plans. While business practices differ somewhat, usually, each Provider will deliver an initial spreadsheet file detailing their prices to the range of Destination Codes that they are providing. This initial spreadsheet will be followed by update notification spreadsheets. These will be received at regular agreed-upon intervals, identifying amendments to the previous prices. The format and content of these notifications are not standardized and consequently differ from one Provider to another. This information is vital, from a commercial and financial management point of view. It is therefore important that the rating information received from a Provider is uploaded regularly, in order that the System can correctly calculate Provider rating costs for calls. It is also important to analyze Tariff/Rating Plan updates received from partners, in order to ensure that any errors are noticed early and resolved before causing Billing disputes.<br />
<br />
Doing all this by hand is a long and tedious process. It is possible to automate it with a human-in-between approach that requires confirming the final import step, to avoid potential misconfiguration problems.<br />
<br />
To solve this necessity Tariff Import system should be used. Let's start by defining the major terms used in this process.<br />
<br />
<br><br><br />
= Workflow schema =<br />
<br />
The workflow can be visualized using the following schema:<br />
<br />
<br><br><br />
[[File:M2TIImage15.png]]<br />
<br><br><br />
<br />
As can be seen, there are two components to this process:<br />
<br />
# The configuration component, which is done once for each tariff file received from the provider<br />
# The actual working component, where an automated process takes care of the tariff import, based on the settings configured in the first component<br />
<br />
<br><br><br />
<br />
=Initial (Manual) Setup for Automation=<br />
<br />
This sequence of steps is necessary to configure automatic import of the concrete tariff format received from any provider. Once configured, it can be used many times thereafter, until the provider decides to change the format.<br />
<br />
<br />
==Rate file received from Provider examined and analyzed==<br />
<br />
As every Provider sends different format files, their structure should be analyzed and necessary fields marked for Template creation.<br />
<br />
XLSX file can be compressed to RAR or ZIP archive.<br />
<br />
==XLSX Transformation Template created==<br />
<br />
The Provider Import Template is the primary object that requires configuring before the Provider Rating Import can occur. The Provider Import Template contains the settings that the System uses to convert information from the Spreadsheet into the System.<br />
<br />
<br />
==Rate Import Rules created==<br />
<br />
The Rate Import Rules feature enhances the analysis of the Providers‘ rates by identifying rates that do not meet a specific criterion (for example, a rate increase with fewer than seven days notice) and then either alerting the Administrator or rejecting the rate.<br />
<br />
<br />
==Tariff Import Rules created==<br />
<br />
Tariff Import Rules assign each received Email/Attachment to the correct Provider/Tariff with appropriate Rate Import Rules, Notifications, and Template to properly convert received Tariffs and upload rates to the System.<br />
<br />
<br />
==Email Notifications configured==<br />
<br />
Notifications will generate an email to the desired recipient when configured for various events, such as:<br />
<br />
* Tariff is received<br />
* The tariff is analyzed and waiting for confirmation before import<br />
* The tariff is imported or rejected<br />
* Others<br />
<br />
<br><br><br />
=Normal (Automatic) Workflow=<br />
<br />
Based on preconfigured settings in the first step, the Automatic Tariff Import could be carried out by using all the defined settings.<br />
<br />
<br />
==Rate file received from Provider via email==<br />
<br />
One mailbox, usually named by rates@companyname.com, is monitored by the system and all received emails are analyzed.<br />
<br />
<br />
==Email/Attachments analyzed by Tariff Import Rules==<br />
<br />
When an email with a tariff attachment comes in, it is checked for address, email subject, attachment name, and other parameters to properly map the received Tariff file with the following procedures.<br />
<br />
<br />
==Rate Plan converted and analyzed==<br />
<br />
Based on the Tariff Import Rules, the Tariff file is converted to a standardized format (a process called Normalization) and then analyzed. During analysis, the Rate Import Rules are applied and necessary actions are taken based on the Rules.<br />
<br />
<br />
==Notification for Review sent==<br />
<br />
If there are no major problems, the responsible person receives an email saying that the Tariff is converted with such and such notices or warnings, and waits for approval. It is possible to skip this step with 100% automation, but it is usually not recommended, due to possible errors that human intervention could help to avoid..<br />
<br />
<br />
==Import Denied==<br />
<br />
The responsible person can deny the tariff import, based on the information received. The analysis could identify errors that can't be ignored or some other issues.<br />
<br />
<br />
==Import Accepted==<br />
<br />
If there are no major issues, the responsible person accepts the tariff import and the system is notified to continue the import.<br />
<br />
<br />
==Tariff Imported==<br />
<br />
The actual tariff import takes place, and old rates are replaced by the new ones. All of the preparation work culminates in this step.<br />
<br />
<br><br><br />
= How it is implemented in the system =<br />
<br />
<br><br><br />
[[File:M2TIImage56.png]]<br />
<br><br><br />
[[File:M2TIImage20.png]]<br />
<br><br><br />
<br />
Tariff Jobs table columns:<br />
* Id: Tariff job identification number.<br />
* Created at: Date when the job was created.<br />
* Status: The state of the import process. Can be: <br />
** Assigned - import process was started. <br />
** Converting - rates are being converted. <br />
** Failed Conversion - there was an error in rate conversion.<br />
** Converted - rates were successfully converted.<br />
** Importing into Temporary Table - rates are being uploaded from attachment to the system. <br />
** Failed to Import into Temporary Table - there was an error in rates uploading process.<br />
** Imported into Temporary Table - rates have been loaded to the system.<br />
** Analyzing - rates are being analyzed.<br />
** Failed Analysis - there was an error in the analysis. By lowering over Failed Analysis you can get more details.<br />
***rate_with_multiple_ratedetails_found refers to Rate Details (where you can set rate for peak/off peak hours) being used on one or more rates on target tariff. Such rates are not supported by tariff import.<br />
** Analyzed - analysis process has been completed. <br />
** Rejected - rates did not match requirements and were rejected.<br />
** Waiting for confirmation - import is stopped until it will be confirmed by admin.<br />
** Cancelled - import was canceled by admin. <br />
** Imported - rates were successfully imported.<br />
* Import Rules - the name of the Tariff Import Rule used in import and the link to its edit view. <br />
* Rate Import Rules - the name of the Rate Import Rules used in import and the link to its edit view.<br />
* Tariff - Tariff name which is being changed in import and the link to its edit view.<br />
* Attachment - the name of the attachment that was used in import.<br />
* Import Type - the type of import. Can be:<br />
** Update - rates will be added or updated. <br />
** Full - rates will be replaced.<br />
* Auto:<br />
** ‘Yes’ means that tariff import will be done without any request for confirmation.<br />
** ‘-’ means that confirmation will be needed after the analysis.<br />
* Email:<br />
** ‘Yes’ email about Tariff Job creation has been sent successfully.<br />
** ‘-’ email has not been sent.<br />
* Rate Changes - number of how many rates were changed during analysis.<br />
* Rejected Rates - number of how many rates were rejected during analysis.<br />
* Analysis (only in analyzed jobs) - link to analysis details.<br />
* Delete - button to delete one job.<br />
<br />
Note: yellow-colored Tariff Jobs rows show that they are waiting for confirmation.<br />
<br />
Automatic Deletion<br />
<br />
Old Tariff Jobs are periodically deleted by the system. The period of deletion can be found and changed in Settings -> Various -> Delete Tariff Jobs older than. The default value is 30 days. It means that Tariff Jobs which were created before 30 days or more will be deleted. <br />
<br />
<br><br><br />
[[File:M2TIImage9.png]]<br />
<br><br><br />
<br />
= Analysis =<br />
<br />
Detailed Analysis can be reached from the Tariff Jobs table by pressing on the ANALYSIS link.<br />
<br />
On the top right corner there are buttons: <br />
<br />
<br><br><br />
[[File:M2TIImage101.png]]<br />
<br><br><br />
<br />
* Confirm: results of the analysis are confirmed and tariff import will continue to proceed.<br />
<br />
<br><br><br />
[[File:M2TIImage78.png]]<br />
<br><br><br />
<br />
* Canceled: tariff import will be canceled.<br />
<br />
<br><br><br />
[[File:M2TIImage69.png]]<br />
<br><br><br />
<br />
* Schedule: Schedule Import from. Rates will be imported by the selected time if there are no Jobs waiting for the same tariff.<br />
<br />
<br><br><br />
[[File:M2TIschedule.png]]<br />
<br><br><br />
<br />
* Refine Results: allows filtering table by selected parameters.<br />
<br />
Parameters:<br />
: Rate Increase, Oldest Effective date, Max Decrease, Duplicate Rate, Date Decrease, Maximum Effective Date, Max Rate, Min Times, New Rate, Max Increase, Zero Rate, Increments - can be filtered by values: All (default), None, Alert, Rejected.<br />
<br />
: Non Importable Reasons - can be filtered by values All (default), None, Any, Could not determine direction code, Rate price invalid, Effective from invalid.<br />
<br />
<br><br><br />
[[File:M2TIImage94.png]]<br />
<br><br><br />
<br />
Tariff Job Analysis table:<br />
<br />
<br><br><br />
[[File:M2TIImage31.png]]<br />
<br><br><br />
<br />
Table columns:<br />
* Prefix: prefix on which the rate will be applied.<br />
* Destination: destination name.<br />
* Rate: rate value.<br />
* Connection fee: [[How the Connection fee works]]<br />
* Increment: [[What is increment]]<br />
* Minimal time: [[What is increment]]<br />
* Effective from: [[Rate Effective From]]<br />
<br />
Tooltip:<br />
If the mouse is on the table, additional import rule information will be presented. <br />
<br />
<br><br><br />
[[File:M2TIImage32.png]]<br />
<br><br><br />
<br />
Row colors:<br />
* If the row is red-colored, the rate is not importable. Non-Importable Reason can be found by moving mouse over the rate.<br />
* If the row is yellow-colored, the rate analysis was successful but there were some warnings. In the tooltip, the word ‘alert’ will be next to the parameter which caused the alert.<br />
* If the row is white-colored, the rate analysis was successful. <br />
<br />
Analysis execution order:<br />
If the analysis is being executed on several jobs which includes the same tariff, these jobs will be resolved consistently and the oldest job will have the highest priority. The next analysis of the job will be started only after the previous one is completed.<br />
<br />
= Understanding and Working with Provider Import Templates =<br />
<br />
A Template is created when a Tariff/Rating Plan first needs importing, and can then be reused every time an update is required.<br />
Templates can also be amended at a later point if the format of the original file is altered. Import Templates are highly flexible and support many Rating Plan formats; they, therefore, include many options that may not need configuring for the more common simpler Tariffs/Rating Plans.<br />
<br />
The Templates work by mapping the contents of an Excel sheet, and its format, to the information required in the Database.<br />
By configuring this information the data is then uploaded into the System and converted into the correct format.<br />
<br />
This is illustrated in the diagram below:<br />
<br />
<br><br><br />
[[File:M2TIImage64.png]]<br />
<br><br><br />
<br />
Tip Before You Begin:<br />
Import Templates are specific to individual Tariffs/Rating Plans, so when creating a new Import Template for the first time it is important to have easy access to the Tariff/Rating Plan involved.<br />
A good tip for working with this - if you happen to have two monitors on your computer - is to display the Tariff/Rating Plan for which the Template is being constructed on one monitor, and System GUI on the other. Alternatively, if only one monitor is available, open the Tariff/Rating Plan in Excel and use Alt+Tab to switch directly between the applications.<br />
<br />
The next section is going to describe each of the settings available for configuring an Import Template.<br />
<br />
The screenshot below shows the Template Settings in the default basic view:<br />
<br />
<br><br><br />
[[File:M2TIImage113.png]]<br />
<br><br><br />
<br />
In this view, we can see the basic summary of the Template highlighting each of the sections that may be required to import the Tariff/Rating Plan.<br />
<br />
Tip:<br />
Remember that if the Tariff/Rating Plan being imported does not include information relating to a particular section of the Template, then that section can simply be left blank. Many Import Templates will be very simple configuring only four or five settings from the available options.<br />
<br />
Name<br />
: Name of the Template can be set to any, but for better management suggested to be the name of Provider.<br />
<br />
Rate Sheet<br />
: The Rate Sheet field requires to be set to the corresponding Worksheet in Excel that the Rating Plan information is held on. <br />
: This means that Rating Plans that contain multiple sheets can still be imported.<br />
<br />
: Example:<br />
: In provided Tariff/Rating Plan below - Destinations, Prefixes, and Rates are stored in the second (“Numberplan”) Worksheet.<br />
: [[File:M2TIImage73.png]]<br />
: Accordingly, Template’s Rate Sheet value must be set to 2.<br />
: [[File:M2TIImage97.png]]<br />
<br><br><br />
<br />
Header Rows<br />
: Header Rows setting requires to be set to inform the System of the rows at the top of the Tariff/Rating Plan that are to be ignored when importing meaningful data. <br />
: If Header Rows are set incorrectly, there is a possibility that the Tariff/Rating Plan will not be imported at all or with errors because of wrongly processed data.<br />
<br />
: Example 1:<br />
: Provided Tariff/Rating Plan below meaningful data starts from Row 1.<br />
: [[File:M2TIImage44.png]]<br />
: This means there are no rows to skip/ignore for the Header Rows setting.<br />
: Accordingly, Template’s Header Rows value must be set to 0.<br />
: [[File:M2TIImage124.png]]<br />
<br><br><br />
<br />
: Example 2:<br />
: Provided Tariff/Rating Plan below meaningful data starts from Row 23.<br />
: [[File:M2TIImage40.png]]<br />
: This means there are 22 rows to skip/ignore for the Header Rows setting.<br />
: Accordingly, Template’s Header Rows value must be set to 22.<br />
: [[File:M2TIImage114.png]]<br />
<br><br><br />
<br />
Prefix/Code<br />
: Prefix/Code requires to be set to match the Tariff/Rating Plan Prefix column.<br />
: On some occasions, there may be two columns (like Country Code, City Code) which the System is also able to handle if Template settings are correct.<br />
: Sometimes provided multiple Prefixes are displayed in singular cell format like “71-76”, “55,551,552,55257” or “370, 371, 372-376, 3772”, such formats are parsed automatically and does not require additional configuration.<br />
<br />
: Example 1:<br />
: Provided Tariff/Rating Plan below has only one Prefix column which is B.<br />
: [[File:M2TIImage68.png]]<br />
: Accordingly, Template’s Prefix/Code value must be set to B.<br />
: [[File:M2TIImage42.png]]<br />
<br><br><br />
<br />
: Example 2:<br />
: Provided Tariff/Rating Plan below has two Prefix columns which are C and D.<br />
: [[File:M2TIImage67.png]]<br />
: Accordingly, Template’s Prefix/Code values must be set to C and D in exact order.<br />
: [[File:M2TIImage28.png]]<br />
<br><br><br />
<br />
Destination/Zone<br />
: The Zone drop-down list box identifies the Column in the Excel sheet that contains the Zone name.<br />
: If there is only one Column containing this information then only one of the dropdown boxes needs to be completed. However, if the Zone is in two Columns then both of the drop-down boxes can be completed to identify this. In this scenario, the blank fields either side of the second box can be used to format the Zone name.<br />
: Example: A Rate Plan includes the following information:<br />
: [[File:M2TIImage59.png]]<br />
: The Zone import is configured with the Columns A and B and the separator fields with space “Column B”, as shown:<br />
: [[File:M2TIImage5.png]]<br />
<br><br><br />
: This means that the Zone name will be displayed as Brazil Mobile<br />
<br />
: Example 1:<br />
: Provided Tariff/Rating Plan below has only one Destination/Zone column which is A.<br />
: [[File:M2TIImage7.png]]<br />
: Accordingly, Template’s Destination/Zone value must be set to A.<br />
: [[File:M2TIImage21.png]]<br />
<br><br><br />
<br />
: Example 2:<br />
: Provided Tariff/Rating Plan below has two Destination/Zone columns which are A and B.<br />
: [[File:M2TIImage34.png]]<br />
: Accordingly, Template’s Destination/Zone values must be set to A and B in exact order.<br />
: [[File:M2TIImage5.png]]<br />
<br><br><br />
<br />
Connection Fee<br />
: While uncommon in wholesale, some Rating Plans being imported may still include a fixed Connection Charge - a one-off charge applied when the call is connected.<br />
: If required, the Connection Charge drop-down list box can be used to identify the Column containing such a charge in the Rate Plan being imported.<br />
<br />
Effective Date<br />
: The Effective Date options determine in which Column(s) the Date and Time information for the imported rates can be found. <br />
: Multiple options are provided to support different Spreadsheet formats.<br />
: Some Tariff/Rating Plan Providers split Effective Date data between two Worksheets, whereas in the first Worksheet there are Destinations with Effective Date and in the second Worksheet - Destination, Prefix, Rate data. Configuration of such cases is provided in Example 3.<br />
<br />
: Example 1:<br />
: Provided Tariff/Rating Plan below has an Effective Date column which is F.<br />
: [[File:M2TIImage29.png]]<br />
: Accordingly, Template’s Effective Date value can be set to F.<br />
: [[File:M2TIImage10.png]]<br />
<br><br><br />
<br />
: Example 2:<br />
: Provided Tariff/Rating Plan below has an Effective Date column which is F and Effective Time which is G.<br />
: [[File:M2TIImage17.png]]<br />
: Accordingly, Template’s Effective Date values can be set to F and G.<br />
: [[File:M2TIImage43.png]]<br />
<br><br><br />
<br />
: Example 3:<br />
: Provided Tariff/Rating Plan below in the first Worksheet shows Destination (Column A) and Effective Date (Column D).<br />
: In the second Worksheet, there are Destination (Column A), Prefix (Column B), and Rate/Price (Column C).<br />
: [[File:M2TIImage112.png]]<br />
: The first dropdown configures from which Worksheet takes Effective Date data (which in this example’s case is Worksheet 1 (Rates)).<br />
: The second dropdown configures the Effective Date column from the secondary Worksheet.<br />
: The third dropdown configures by which secondary Worksheet column do the mapping with primary Worksheet (which in this example’s case is Destination from Worksheet 1 (Rates) Column A).<br />
: The fourth dropdown configures by which the primary Worksheet column does the mapping with secondary Worksheet (which in this example’s case is Destination from Worksheet 2 (Numberplan) Column A).<br />
: Accordingly, Template’s Effective Date values can be set to 1, D, A = A.<br />
: [[File:M2TIImage100.png]]<br />
<br><br><br />
<br />
Effective Date Format<br />
: After selecting the Column, the Format field is used to specify the format the information is held in the Rate Plan.<br />
: Some suggested formats already exist in the dropdown, which can be selected or used as an example to create a custom one if it is not present in the dropdown.<br />
<br />
: Example:<br />
: Provided Tariff/Rating Plan below has an Effective Date column which is F.<br />
: [[File:M2TIImage29.png]]<br />
: Accordingly, Template’s Effective Date Format value can be selected from the dropdown with suggested formats.<br />
: [[File:M2TIImage50.png]]<br />
<br><br><br />
<br />
Rate<br />
: Rate requires to be set to match the Tariff/Rating Plan Rate/Price column.<br />
<br />
: Example:<br />
: Provided Tariff/Rating Plan below has a Price column which is E.<br />
: [[File:M2TIImage60.png]]<br />
: Accordingly, Template’s Rate value must be set to E.<br />
: [[File:M2TIImage51.png]]<br />
<br><br><br />
<br />
Minimal Time<br />
: Minimal Time can be set to match the Tariff/Rating Plan Minimal Time column.<br />
<br />
: Example 1:<br />
: Provided Tariff/Rating Plan below has a Minimal Time column which is E.<br />
: [[File:M2TIImage46.png]]<br />
: Accordingly, Template’s Minimal Time value can be set to E.<br />
: [[File:M2TIImage52.png]]<br />
<br><br><br />
<br />
: Example 2:<br />
: Provided Tariff/Rating Plan below has a Minimal Time column which is D and in the first place of “x/y/z/” fields.<br />
: [[File:M2TIImage49.png]]<br />
: Accordingly, Template’s Minimal Time value can be set to D and field 1.<br />
: [[File:M2TIImage26.png]]<br />
<br><br><br />
<br />
Increment<br />
: Increment can be set to match the Tariff/Rating Plan Increment column.<br />
<br />
: Example 1:<br />
: Provided Tariff/Rating Plan below has an Increment column which is F.<br />
: [[File:M2TIImage63.png]]<br />
: Accordingly, Template’s Increment value can be set to F.<br />
: [[File:M2TIImage11.png]]<br />
<br><br><br />
<br />
: Example 2:<br />
: Provided Tariff/Rating Plan below has an Increment column which is D and in the second place of “x/y/z/” fields.<br />
: [[File:M2TIImage49.png]]<br />
: Accordingly, Template’s Increment value can be set to D and field 2.<br />
: [[File:M2TIImage103.png]]<br />
<br><br><br />
<br />
===Exceptions===<br />
<br />
: Exceptions allow additional data manipulation when specific rules are defined separately in the provided Tariff/Rating Plan. Exceptions are set in Templates (BILLING > Tariff Import > Import Rules > Templates > EDIT). Mask field allows to define which Destinations/Zones should have exceptional values set. % can be used as a wild card to match part of a text in Destination/Zone. See examples below:<br />
<br />
: Example 1:<br />
: [[File:M2TIImage41.png]]<br />
: [[File:M2TIImage6.png]]<br />
<br><br><br />
<br />
: Example 2:<br />
: [[File:M2TIImage16.png]]<br />
: [[File:M2TIImage19.png]]<br />
<br><br><br />
<br />
= Creating and Configuring Rate Import Rules =<br />
<br />
Rate Import Rules are relevant to the importing of Provider Rates and specify actions to be taken if the rule is broken.<br />
<br />
The actions available are:<br />
* None (ignore this rule)<br />
* Alert (notify the Administrator)<br />
* Reject Rate (automatically reject the rate which breaches this rule)<br />
<br />
Example:<br />
The first Rate Import Rule is the rate increase rule. The variable for this rule is a number of days, 7 days by default.<br />
What this means is that when a Provider Tariff/Rating Plan is uploaded and a rate increase is detected with an Effective Date less than 7 days into the future the action that has been configured will be triggered. The rate could be automatically rejected, or an alert about this rating entry was raised.<br />
<br />
<br><br><br />
[[File:M2TIImage70.png]]<br />
<br><br><br />
<br />
Available Rate Import Rules with explanation to each one of them:<br />
<br />
<br><br><br />
[[File:M2TIImage93.png]]<br />
<br><br><br />
<br />
Rate Increase<br />
: If updating existing Rate, whose Rate (Price) increases and takes into effect earlier (by days compared to importing effective from) than set in Rule, then set action will be taken.<br />
: Value can be set to any integer between 0 and 30 which represents the day(s).<br />
<br />
Rate Decrease<br />
: If updating existing Rate, whose Rate (Price) decreased and takes into effect earlier (by days compared to importing effective from) than set in Rule, then set will be taken.<br />
: Value can be set to any integer between 0 and 30 which represents the day(s).<br />
<br />
New Rate<br />
: If creating a new non-existing Rate, which takes into effect earlier (by days compared to importing effective from) than set in Rule, then set action will be taken.<br />
: Value can be set to any integer between 0 and 30 which represents the day(s).<br />
<br />
Oldest Effective Date<br />
: If updating existing or creating a new Rate, whose new Effective Date is earlier (by days) than set in Rule, then set action will be taken.<br />
: Value can be set to any integer between 0 and 365 which represents the day(s).<br />
<br />
Maximum Effective Date<br />
: If updating existing or creating a new Rate, whose new Effective Date is later (by days) then set in Rule, then set action will be taken.<br />
: Value can be set to any integer between 0 and 365 which represents the day(s).<br />
<br />
Max Increase<br />
: If updating existing Rate, whose Rate (Price) increased more by percentages than set in Rule, then set action will be taken.<br />
: Value can be set to any decimal between 0 and 500 which represents Rate’s (Price’s) percentages.<br />
<br />
Max Decrease<br />
: If updating existing Rate, whose Rate (Price) decreased more by percentages than set in Rule, then set action will be taken.<br />
: Value can be set to any decimal between 0 and 100 which represents Rate’s (Price’s) percentages.<br />
<br />
Max Rate<br />
: If updating existing or creating a new Rate, whose Rate (Price) is higher than set in Rule, then set action will be taken.<br />
: Value can be set to any decimal between 0 and 100 which represents Rate’s (Price’s) value.<br />
<br />
Zero Rate<br />
: If updating existing or creating a new Rate, whose Rate (Price) is zero, then set action will be taken.<br />
<br />
Min Times Not Equal<br />
: If updating existing or creating a new Rate, whose new Min Time value does not match any from set Rule, then set action will be taken.<br />
: Acceptable value format is: “x,y,z,w”<br />
:: Where x, y, z, and w must be integer values between 0 and 7200.<br />
:: Must be separated by comma (,).<br />
:: Must not have any spaces.<br />
:: Must not have leading zeros, unless it is only a zero.<br />
: Examples:<br />
:: 0,100,60,7200<br />
:: 0,1,60<br />
:: 1,60<br />
:: 1<br />
<br />
Increment Not Equal<br />
: If updating existing or creating a new Rate, whose new Increment value does not match any from set Rule, then set action will be taken.<br />
: If updating existing or creating a new Rate, whose new Min Time value does not match any from set Rule, then set action will be taken.<br />
: Acceptable value format is: “x,y,z,w”<br />
:: Where x, y, z, and w must be integer values between 0 and 7200.<br />
:: Must be separated by comma (,).<br />
:: Must not have any spaces.<br />
:: Must not have leading zeros, unless it is only a zero.<br />
: Examples:<br />
:: 0,100,60,7200<br />
:: 0,1,60<br />
:: 1,60<br />
:: 1<br />
<br />
= Tariff Import Rules =<br />
<br />
<br><br><br />
[[File:M2TIImage118.png]]<br />
<br><br><br />
<br />
The main Tariff Import Rules page shows all the Tariff Import specific rules in the system. Here you can add new rules by clicking the button at the upper-right corner. Also, you can Edit/Delete selected Rules with the relevant buttons. The first column '''ACTIVE?''' allows to activate or deactivate a specific Rule by clicking the YES/NO buttons. If you would like to change the order of the Rules, Drag&Drop functionality is available.<br />
<br />
Follow the steps below to create Tariff Import Rules:<br />
<br />
By clicking the '''ADD NEW TARIFF IMPORT RULES''' button, you are presented with the following settings screen:<br />
<br />
<br><br><br />
[[File:M2TIImage65.png]]<br />
<br><br><br />
<br />
* '''Name''' - Name of the Rules<br />
* '''Rate Import Rules''' - Select the Rate Import Rules you would like to use<br />
* '''Target Tariff''' - The Tariff for which the changes will be applied<br />
* '''Import Type''' - you can choose between 2 options: Add/Update and Replace All Rates<br />
** '''Add/Update''' - new rates will be added from file and existing ones will be updated<br />
** '''Replace All Rates''' - existing rates will be deleted and new ones imported from file<br />
* '''Import Template''' - Template to be used<br />
* '''Effective Date''' - Effective Date value to be used with Rates<br />
** '''Template''' - Inline - Use Effective Date from File set by Template setting (see: Template)<br />
** '''Subject''' - Use Effective Date from Email Subject<br />
** '''File Name''' - Use Effective Date from File (Attachment) Name<br />
* '''Manual Review''' - Import automatically or wait for manual confirmation<br />
* '''Reject Import if errors found''' - Tariff Import will be rejected if at least one error will be found * '''after analyzing<br />
* '''Stop processing more Rules''' - Matching with Email Details and Active Tariff Import Rules will be in specific order (from Tariff Import Rules List, from top to bottom). Email assigning will be stopped on this Rule if this option is enabled<br />
* '''Default Effective From''' - Effective From value in Rates, when invalid value supplied from file<br />
* '''Default Connection Fee''' - Set Connection Fee for Rates if it is not present or invalid in Import File<br />
* '''Default Increment''' - Set Increment for Rates if it is not present or invalid in Import File<br />
* '''Default Minimal Time''' - Set Minimal Time for Rates if it is not present or invalid in Import File<br />
<br />
To edit the above parameters on Import Rules, which were previously used, you have to delete Processes related to those rules.<br />
<br />
== Email/Attachment Validation ==<br />
<br />
Email/Attachment Validation section is used for specifying which emails where will be used by Tariff Import Rules. There are five fields. The first four are for email and the fifth is for attachment.<br />
<br />
<br><br><br />
[[File:M2TIImage104.png]]<br />
<br><br><br />
<br />
* '''Mail From''' - Email Address(es). Multiple emails can be separated by ;.<br />
* '''Sender Name''' - Senders name.<br />
* '''Mail subject''' - Emails subject.<br />
* '''Mail text''' - Emails text.<br />
* '''File Name''' - Attachments file name.<br />
<br />
Wildcard % is allowed, which substitutes any character with any length. Example is shown in the image below<br />
<br><br><br />
[[File:M2TIImage110.png]]<br />
<br><br><br />
<br />
# Mail From has two values %@gmail.com and john@%.%.<br />
## %@gmail.com specifies it is any Gmail email address.<br />
## john@%.% specifies it is john from any email client.<br />
# Sender Name J% any value That starts with uppercase J<br />
# Mail Subject %Rates Subject ends with word Rates<br />
# Mail Text Hello Mail Text Starts with word Hello<br />
# File Name %.csv filename ends with .csv<br />
<br />
== Notifications ==<br />
<br />
Email Notifications are used to generate email notifications to an internal or external list of recipients.<br />
<br />
<br><br><br />
[[File:M2TIImage106.png]]<br />
<br><br><br />
<br />
Follow the steps below to create and configure a notification Template.<br />
# Create Email Template. Manual how to create Email Templates can be found here: [[M2 Emails]]. Additional Email variables: tariff_job_id, tariff_job_analysis_url.<br />
# Select created Email Template from Email Template dropdown. Subject field will fill in automatically. <br> [[File:M2TIImage112.png]] <br />
# Enter Email Address(es) in the Recipients field. Multiple Email Addresses must be separated by ;. <br> [[File:M2TIImage116.png]] <br />
# Repeat the same process for desired Import Triggers. <br> [[File:M2TIImage36.png]]<br />
<br />
= Inbox =<br />
<br />
The Inbox is a type of email inbox available within the System that allows the Rating.<br />
Administrator to view and manage Provider Tariffs/Rate Notifications that have been sent to the System's Email Address.<br />
<br />
Caution:<br />
The Inbox functions in a similar way to the email inbox of your desktop or web-based email client, with emails sent to the platform’s email address being displayed and stored in the inbox. The inbox also includes additional functionality to support Providers Rate Import procedures and processes.<br />
However, it is important to understand that the Rate Inbox is designed to manage received emails and not to be a “full email client”. This means that it is not possible to Reply To or Forward emails that are received into the Rate Inbox.<br />
<br />
Inbox Interface:<br />
<br />
<br><br><br />
[[File:M2TIImage82.png]]<br />
<br><br><br />
<br />
The Inbox consists of 3 views: Inbox, Completed, and Junk.<br />
<br />
'''Inbox''' - is the primary working inbox. It is this view that will show emails that have been received that have an associated task that requires carrying out.<br />
That task might be to review and commit an update, assign Tariff Import settings, or a number of other actions.<br />
Emails will remain visible in the Action Required view until the associated rate update is committed, or they are manually completed or deleted.<br />
<br />
'''Completed''' - Fully processed emails are shown in the completed tab. Fully processed means that all of the email attachments had been assigned to at least one of Tariff Import Rules and Tariff Job which is completed.<br />
<br />
'''Junk''' - Emails that are deleted from Junk will be removed permanently, not displayed in the deleted view.<br />
<br />
Tariff Inbox basics<br />
<br />
<br><br><br />
[[File:M2TIImage55.png]]<br />
<br><br><br />
<br />
# Email column - Sender name, email address and subject<br />
# Email details button - toggles email details<br />
# Attachments list<br />
# Attachments file type list<br />
# Import jobs associated with attachments<br />
# Import jobs button - toggles import jobs(if there are more than one tariff import job)<br />
# Attachment mapping status<br />
# Processing note<br />
# Inbox view tab<br />
# Completed view tab<br />
# Junk view tab<br />
# Select all emails checkbox<br />
# Select single email checkbox<br />
# Delete Selected emails<br />
# Refine Results - shows fields to filter emails<br />
<br />
== Email Details ==<br />
<br />
Email details are toggled by pressing the arrow button in the Email column. There are four sections: Email Details, Message, Attachments, and function buttons.<br />
* Email Details section shows detailed email information such as ID, Received, From, Sender, Subject, To, Reply to, and CC.<br />
* Message section contains emails message.<br />
* Attachments section shows attachments associated with email.<br />
* the Last Section represents three function buttons.<br />
<br />
<br><br><br />
[[File:M2TIImage47.png]]<br />
<br><br><br />
<br />
== Filter Emails ==<br />
<br />
Email filtering is done by pressing the Refine Results button in the top right corner of the Tariff Inbox.<br />
<br />
<br><br><br />
[[File:M2TIImage37.png]]<br />
<br><br><br />
<br />
There are four fields:<br />
* Period - the period between emails were received.<br />
* From - email or sender name.<br />
* Subject - email subject.<br />
* Message - email message.<br />
<br />
<br><br><br />
[[File:M2TIImage71.png]]<br />
<br><br><br />
<br />
Press Refine button to see results.<br />
<br />
<br><br><br />
[[File:M2TIImage120.png]]<br />
<br><br><br />
<br />
Press clear to clear fields.<br />
<br />
<br><br><br />
[[File:M2TIImage107.png]]<br />
<br><br><br />
<br />
== Delete Emails ==<br />
<br />
To delete emails, select emails by clicking their checkboxes.<br />
<br />
<br><br><br />
[[File:M2TIImage38.png]]<br />
<br><br><br />
<br />
Then press Delete Selected button on top right side of Tariff Inbox<br />
<br />
<br><br><br />
[[File:M2TIImage96.png]]<br />
<br><br><br />
<br />
After that, selected emails will be in a Junk view. To delete permanently, repeat the process in Junk view.<br />
<br />
To select all emails, click on the top checkbox near the Email column heading.<br />
<br />
<br><br><br />
[[File:M2TIImage88.png]]<br />
<br><br><br />
<br />
Also, email can be deleted by toggling Email Details and pressing Delete button<br />
<br />
<br><br><br />
[[File:M2TIImage72.png]]<br />
<br><br><br />
<br />
== Manually assign Tariff Import Settings ==<br />
<br />
It is possible to manually Assign Tariff Import Settings.<br />
# Toggle Email Details<br />
# Select Tariff Import Rules for specific attachment<br />
# Press Assign Import settings<br />
<br />
<br><br><br />
[[File:M2TIImage57.png]]<br />
<br><br><br />
<br />
== Retry Rules mapping ==<br />
<br />
If an email with multiple attachments has attachments with no import rules it is possible to retry rules mapping. It's simple, press Retry Rules mapping.<br />
<br />
<br><br><br />
[[File:M2TIImage33.png]]<br />
<br><br><br />
<br />
Note: It’s not possible to Retry Rules mapping if all email attachments will have at least one import rule assigned to it.<br />
<br />
== Attachment mapping status ==<br />
<br />
Attachment mapping status(Status column in Emails list) indicates if Tariff Import Rules mapping was successful or not.<br />
<br />
<br><br><br />
[[File:M2TIImage90.png]]<br />
<br><br><br />
<br />
'''Import Rules Found''' - attachment was mapped successfully with at least one of the Tariff Import Rules.<br />
'''Import Rules Not Found''' - attachment was not mapped to any of the Tariff Import Rules or there were no Tariff Import Rules to map.<br />
'''Invalid Effective Date/Format for Tariff Import Rules''' - Invalid attachment date or it’s format compared to Tariff Import Rules settings. Numbers after status text represent Tariff Import Rules IDs.<br />
<br />
== Email Example ==<br />
<br />
Email can have one or multiple attachments. Every attachment will be processed individually. Attachment can have one or multiple Import Jobs which are dependent on the number of mapped Tariff Import Rules.<br />
<br />
<br><br><br />
[[File:M2TIImage61.png]]<br />
<br><br><br />
<br />
If there are multiple Tariff Jobs they will be shown as a toggle list. To toggle the list, simply press the arrow button next to Jobs list caption.<br />
<br />
<br><br><br />
[[File:M2TIImage87.png]]<br />
<br><br><br />
<br />
To see Job details click on any Import Job. The page will be redirected to the Tariff Jobs list.<br />
<br />
<br><br><br />
[[File:M2TIImage62.png]]<br />
<br><br><br />
<br />
= Examples =<br />
<br />
== Rate upload from TATA ==<br />
<br />
1. Analyze the tariff:<br />
<br><br><br />
[[File:M2TIImage105.png]]<br />
<br><br><br />
<br />
2. Create template for a tariff in BILLING → Tariff import → Import Rules → Templates<br />
<br><br><br />
[[File:M2TIImage81.png]]<br />
<br><br><br />
<br />
3. Select appropriate fields according to the tariff cells:<br />
<br><br><br />
[[File:M2TIImage22.png]]<br />
<br><br><br />
<br />
4. Create Rate Import Rules in BILLING → Tariff import → Import Rules → Rate Import Rules<br />
<br><br><br />
[[File:M2TIImage54.png]]<br />
<br><br><br />
<br />
5. Fill cells according your needs:<br />
<br><br><br />
[[File:M2TIImage80.png]]<br />
<br><br><br />
<br />
6. Create Tariff Import Rules in BILLING → Tariff import → Import Rules<br />
<br><br><br />
[[File:M2TIImage14.png]]<br />
<br><br><br />
<br />
7. Fill required cells:<br />
<br><br><br />
[[File:M2TIImage111.png]]<br />
<br><br><br />
<br />
8. Check the Inbox for a new email at Billing → Tariff Import → Inbox<br />
<br />
9. Enter the mail, select Tariff Import Rules and press Assign Import Settings to continue the import:<br />
<br><br><br />
[[File:M2TIImage18.png]]<br />
<br><br><br />
<br />
10. Tariff job is created now, you can see it in BILLING → Tariff Import → Jobs<br />
<br><br><br />
[[File:M2TIImage102.png]]<br />
<br><br><br />
<br />
11. Job is now waiting for confirmation. You can view analysis before confirming:<br />
<br><br><br />
[[File:M2TIImage45.png]]<br />
<br><br><br />
<br />
12. Point to the line you want to analyze to see more information:<br />
<br><br><br />
[[File:M2TIImage35.png]]<br />
<br><br><br />
<br />
13. If you are satisfied, press confirm to finish the import procedure, otherwise cancel it.<br />
<br><br><br />
[[File:M2TIImage1.png]]<br />
<br><br><br />
<br />
14. If you pressed confirm, you will see that job was successfully confirmed:<br />
<br><br><br />
[[File:M2TIImage77.png]]<br />
<br><br><br />
<br />
15. Go back to Jobs page in BILLING → Tariff Import → Jobs to see the status of the Job:<br />
<br><br><br />
[[File:M2TIImage79.png]]<br />
<br><br><br />
<br />
16. Tariff import is finished. As a targeted tariff in this example was “SUPPLIER PREMIUM”, you can verify rates checking page BILLING → Tariffs.<br />
<br><br><br />
[[File:M2TIImage12.png]]<br />
<br><br><br />
<br />
== Speedflow Tariff Import configuration ==<br />
<br />
<br><br><br />
[[File:M2TIImage117.png]]<br />
<br><br><br />
<br />
1. Create an import template.<br />
Go to BILLING > Tariff Import > Import Rules > Templates.<br />
Click "ADD NEW TEMPLATE" at the top-right corner of the page.<br />
<br />
Set "Name" to "speedflow". It can be any name, but "speedflow" will represent for which Provider tariffs this template is used.<br />
Set "Rate Sheet" to "1", as this tariff files contains only one worksheet.<br />
Set "Header Rows" to "22", as this tariff has 4 rows before actual rates data begins.<br />
Set "Refix/Code" to column "A";<br />
Set "Destination/Zone" to column "B";<br />
Set "Effective Date" to column "E";<br />
Set "Effective Date Format" to "%d.%m.%y";<br />
Set "Rate" to column "C";<br />
Set "Minimal Time" to column "E" and value "1";<br />
Set "Increment" to column "E" and value "2";<br />
<br />
<br><br><br />
[[File:M2TIImage76.png]]<br />
<br><br><br />
<br />
Click "Create" to save changes.<br />
<br />
2. Create Rate Import Rules<br />
Go to BILLING > Tariff Import > Import Rules > Rate Import Rules<br />
Click "ADD NEW RATE IMPORT RULES" at the top-right corner of the page.<br />
<br />
This example shows how to create Rate Import Rule which will inform the admin about new rates above 1.0 in price and will reject rates where the price is equal to 0.<br />
<br />
Set "Name" to "speedflow";<br />
Set "Max Rate" to value "1.0" and action "Alert";<br />
Set "Zero Rate" to action "Reject Rate".<br />
<br />
<br><br><br />
[[File:M2TIImage23.png]]<br />
<br><br><br />
<br />
Click "Create" to save changes.<br />
<br />
3. Create Tariff Import Rules<br />
Go to BILLING > Tariff Import > Import Rules<br />
Click "ADD NEW TARIFF IMPORT RULES" at the top-right corner of the page.<br />
<br />
Set fields like this:<br />
"Name":"speedflow";<br />
"Rate Import Rules":"speedflow";<br />
"Target Tariff":"speedflow (EUR)". This is tariff assigned to speedflow Termination Point;<br />
"Import Type":"Add/Update";<br />
"Import Template":"speedflow";<br />
"Effective Date":"Template - Inline"<br />
"Mail From":"rates@speedflow.com". This is not actual email from which speedflow sends rates. Set correct email address from which you get tariffs.<br />
"File Name":"%.xls"<br />
<br />
<br><br><br />
[[File:M2TIImage58.png]]<br />
<br><br><br />
<br />
Click "Create" to save changes<br />
<br />
At this point, the system is ready to receive email from speedflow.<br />
<br />
5. Once email from speedflow is received you will see a new Tariff Job waiting for confirmation in Billing > Tariff Import > Jobs.<br />
<br />
<br><br><br />
[[File:M2TIImage108.png]]<br />
<br><br><br />
<br />
Click "ANALYSIS" to see rates to be imported. By default, the ANALYSIS page does not show new rates. Click "REFINE RESULTS", uncheck "Show Only Rejected" and click REFINE to see all received rates.<br />
<br />
Click "CONFIRM" at the top-right corner of the page to proceed with the import of rates.<br />
<br />
<br><br><br />
[[File:M2TIImage89.png]]<br />
<br><br><br />
<br />
In BILLING > Tariffs List, Tariff Import is completed and new Rates are now visible.<br />
<br />
<br><br><br />
[[File:M2TIImage121.png]]<br />
<br><br><br />
<br />
== Step by step example for VoiceTrading Tariff ==<br />
<br />
1. Review VoiceTrading XLSX tariff structure<br />
<br />
<br><br><br />
[[File:M2TIImage95.png]]<br />
<br><br><br />
<br />
<br><br><br />
[[File:M2TIImage83.png]]<br />
<br><br><br />
<br />
We can see that the XLSX document consists of two Worksheets: Worksheet 1 (Rates) and Worksheet 2 (Numberplan).<br />
2. Go to BILLING > Tariff Import > Import Rules > Templates to create a new Template<br />
<br />
<br><br><br />
[[File:M2TIImage85.png]]<br />
<br><br><br />
<br />
3. Configure Template for VoiceTrading XLSX structure<br />
<br />
<br><br><br />
[[File:M2TIImage92.png]]<br />
<br><br><br />
<br />
As you can see, there are two tabs on this page: Primary Data and Secondary Data. Do not confuse them with Worksheets, they are not related. Some Providers do not want to exceed a certain limit of rows in the XLSX file, so data is placed in two regions on the same row(s). Let’s review the screenshot below:<br />
<br />
<br><br><br />
[[File:M2TIImage66.png]]<br />
<br><br><br />
<br />
Green square corresponds to '''Primary Data''', while Blue square corresponds to '''Secondary Data'''. They both contain the same information: Destination name, Prefix, and Rate.<br />
<br />
Lets go step by step and configure a Template for '''Primary Data''':<br />
<br />
<br><br><br />
[[File:M2TIImage4.png]]<br />
<br><br><br />
<br />
'''Rate Sheet - 2'''. VoiceTrading XLSX file has two sheets, so set to 2<br />
'''Header Rows - 0'''. VoiceTrading XLSX file has no header rows (data starts at 1st row)<br />
<br />
<br><br><br />
[[File:M2TIImage3.png]]<br />
<br><br><br />
<br />
'''Prefix/Code - B'''. Prefix is in Cell B for Primary Data.<br />
'''Destination/Zone - A'''. Destination is in Cell A for Primary Data.<br />
'''Connection Fee - Empty'''. There is no Connection Fee cell in VoiceTrading XLSX.<br />
<br />
<br><br><br />
[[File:M2TIImage115.png]]<br />
<br><br><br />
<br />
To better understand Effective Date mapping, let’s review both Worksheets again:<br />
<br />
<br><br><br />
[[File:M2TIImage27.png]]<br />
<br><br><br />
<br />
<br><br><br />
[[File:M2TIImage48.png]]<br />
<br><br><br />
<br />
<br><br><br />
[[File:M2TIImage8.png]]<br />
<br><br><br />
<br />
<br />
Effective Date is on Worksheet 1 (Rates) and on Column D. So we select '''1''' and '''D''' on the first and second dropdown accordingly.<br />
<br />
<br><br><br />
[[File:M2TIImage86.png]]<br />
<br><br><br />
<br />
Now we need to map Worksheet 1 (Rates) where Effective Date is defined with Worksheet 2 (Numberplan), where Rates and Prefixes are defined. We can do this by Destination Column, which is A in Worksheet 1 (Rates), and also A on Worksheet 2 (Numberplan). So we select '''A''' on 3rd and 4th Dropdown accordingly.<br />
<br />
<br><br><br />
[[File:M2TIImage39.png]]<br />
<br><br><br />
<br />
Effective Date Format for VoiceTrading is in YYY.MM.DD, so we select accordingly.<br />
<br />
<br><br><br />
[[File:M2TIImage125.png]]<br />
<br><br><br />
<br />
'''Rate - C'''. Prefix is in Cell C for Primary Data.<br />
There are no '''Minimal Time''' and '''Increment''' cells in VoiceTrading XLSX.<br />
<br />
Let’s configure '''Secondary Data''' now:<br />
<br />
<br><br><br />
[[File:M2TIImage24.png]]<br />
<br><br><br />
<br />
'''Rate Sheet''', '''Header Rows''' and '''Effective date''' will be the same as on Primary data.<br />
<br />
<br><br><br />
[[File:M2TIImage25.png]]<br />
<br><br><br />
<br />
'''Prefix/Code - F'''. Prefix is in Cell F for Secondary Data.<br />
'''Destination/Zone - E'''. Destination is in Cell E for Secondary Data.<br />
'''Connection Fee - Empty'''. There is no Connection Fee Cell in VoiceTrading XLSX.<br />
<br />
<br><br><br />
[[File:M2TIImage30.png]]<br />
<br><br><br />
<br />
To better understand Effective Date mapping, let’s review both Worksheets again:<br />
<br />
<br><br><br />
[[File:M2TIImage27.png]]<br />
<br><br><br />
<br />
<br><br><br />
[[File:M2TIImage53.png]]<br />
<br><br><br />
<br />
<br><br><br />
[[File:M2TIImage119.png]]<br />
<br><br><br />
<br />
Effective Date is on Worksheet 1 (Rates) and on Column D. So we select '''1''' and '''D''' on the first and second dropdown accordingly.<br />
<br />
<br><br><br />
[[File:M2TIImage98.png]]<br />
<br><br><br />
<br />
Now we need to map Worksheet 1 (Rates) where Effective Date is defined with Worksheet 2 (Numberplan), where Rates and Prefixes are defined. We can do this by Destination Column, which is A in Worksheet 1 (Rates) and E on Worksheet 2 (Numberplan). So we select '''A''' on 3rd dropdown and '''E''' on 4th dropdown accordingly.<br />
<br />
<br><br><br />
[[File:M2TIImage109.png]]<br />
<br><br><br />
<br />
Once the configuration is complete, press the CREATE button to create a new Template.<br />
<br />
4. Go to BILLING > Tariff Import > Import Rules > Rate Import Rules to create Rate Import Rules<br />
<br />
<br><br><br />
[[File:M2TIImage91.png]]<br />
<br><br><br />
<br />
5. Configure Rate Import Rules according to your specifications<br />
<br />
<br><br><br />
[[File:M2TIImage2.png]]<br />
<br><br><br />
<br />
In this example we changed these values:<br />
'''Max Increase''': 50%. If the rate increase is higher than 50%, such a rate will be automatically rejected.<br />
'''Max Decrease''': 50%. If the rate increase is higher than 50%, such a rate will be automatically rejected.<br />
'''Max Rate''': 1.99. If the rate is higher than 1.99, such a rate will be automatically rejected.<br />
<br />
6. Go to BILLING > Tariff Import > Import Rules to create Tariff Import Rules<br />
<br />
<br><br><br />
[[File:M2TIImage84.png]]<br />
<br><br><br />
<br />
7. Configure Tariff Import Rules according to your specifications<br />
<br />
<br><br><br />
[[File:M2TIImage99.png]]<br />
<br><br><br />
<br />
The minimum what you should change from default:<br />
'''Rate Import Rules''': set to Import Rules created in step 5.<br />
'''Target Tariff''': set to Tariff you want to import rates to.<br />
'''Import Template''': set to Template created and configured in step 3.<br />
'''Email/Attachment Validation''': set to valid date for your Provider. Data in the screenshot is only an example and does not represent real values for VoiceTrading Provider.<br />
<br />
8. Once email(s) will be received, you will see them in BILLING > Tariff Import > Inbox<br />
If Tariff Import Rules have been correctly entered in the previous step, Import Job will be created automatically.<br />
<br />
<br><br><br />
[[File:M2TIImage13.png]]<br />
<br><br><br />
<br />
9. Click on the Import Job link. This will redirect you to the Tariff Jobs page.<br />
<br />
<br><br><br />
[[File:M2TIImage123.png]]<br />
<br><br><br />
<br />
Here we can see that Tariff Job is waiting for confirmation and that there are 1178 rates to be updated and 0 rejected rates.<br />
<br />
10. Click on ANALYSIS link to view detailed analysis<br />
<br />
<br><br><br />
[[File:M2TIImage74.png]]<br />
<br><br><br />
<br />
By default, the Tariff Job Analysis page shows only rejected Rates. There are no rejected rates, in this case, so we can press the CONFIRM button.<br />
<br />
11. Go to BILLING > Tariff Import > Jobs to check Tariff Jobs status again. We can see that status is '''Imported'''.<br />
<br />
12. The process is completed. Let’s go to Billing > Tariffs to confirm this<br />
<br />
<br><br><br />
[[File:M2TIImage75.png]]<br />
<br><br><br />
<br />
We can see that 1178 rates have been imported to Tariff '''Supplier VoiceTrading'''.<br />
<br />
<br><br><br />
= See also =<br />
* [[Automatic Tariff Import - Email is not taken from the mailbox]]</div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:M2_Aggregate_template_create.png&diff=25906File:M2 Aggregate template create.png2020-10-06T17:08:18Z<p>Ervinas: uploaded a new version of "File:M2 Aggregate template create.png"</p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:Aggregatesm2.png&diff=25905File:Aggregatesm2.png2020-10-06T17:08:00Z<p>Ervinas: uploaded a new version of "File:Aggregatesm2.png"</p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=M4_Routing_Groups&diff=25904M4 Routing Groups2020-10-06T16:52:16Z<p>Ervinas: </p>
<hr />
<div>Routing Group is logical routing entity (group of [[M2 Dial Peers | Dial Peers]]) which is assigned to [[M2 Origination Points | Origination Point]] and determines the route of the call from this [[M2 Origination Points | Origination Point]].<br />
Routing group is able to have up to two Failover Routing Groups.<br />
<br />
= Usage =<br />
Go to '''Routing -> Routing Groups'''<br />
<br><br><br />
[[File:M2 Routing groups menu.png]]<br />
<br><br><br />
You can Refine the search results by providing a Routing Group Name.<br />
<br><br><br />
[[File:M2 Routing groups.png]]<br />
<br><br><br />
<br />
= Failover Routing Group =<br />
<br />
Routing group is able to have up to two Failover Routing Groups.<br><br><br />
Assume there are three Routing Groups: Group1, Group2 and Group3. Group1 has Group2 as Failover Group, Group2 has Group3 as Failover Group. When Routing Group - Group4 is created, it cannot have a Failover Group Group1 and neither can it be a Failover Group for Group3, because it exceeds maximum sequence length (3).<br />
<br />
= Assigning Dial Peers =<br />
Routing > Routing Groups > press on button in Dial Peers column<br />
<br/><br/><br />
[[File:M2_assigned_dial_peers.png]]<br />
<br/><br/><br />
Dial Peers can be assigned to Routing Groups, by pressing ASSIGN DIAL PEER button (1) then selecting Dial Peer from Dial Peers drop down list (2), setting Priority (3) and pressin ASSIGN button (7)<br/><br />
Active in routing group column (4) shows if Dial Peer is active. Active column (5) shows if Dial Peer is active. It can be edited in Dial Peers edit page.<br/><br />
Pressing on Dial Peers name (6) redirects to Dial Peers edit page. <br/><br />
Pressing on Priority (7) allows to update Priority. In order to save it just pres somewhere else in the page.<br/><br />
Pressing on REMOVE button (9) removes Dial Peer.<br />
<br/><br/><br />
You can Refine the search results by providing a Dial Peer Name. <br />
<br/><br/><br />
[[File:M2_RG_dial_peers.png]]<br />
<br/><br/><br />
<br />
= Dial Peers Management =<br />
Routing > Routing Groups > press on "Management" button in Dial Peers column<br />
<br/><br/><br />
[[File:m2_routing_group_dial_peers_management.png]]<br />
<br/><br/></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:M2_routing_group_dial_peers_management.png&diff=25903File:M2 routing group dial peers management.png2020-10-06T16:49:32Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=MOR_API_subscription_create_bulk&diff=25871MOR API subscription create bulk2020-09-22T14:00:20Z<p>Ervinas: /* Returns */</p>
<hr />
<div>=Deescription=<br />
<!---This functionality is available from MOR x5---><br />
[[MOR API]] Create subscription<br />
<br><br><br />
=Usage=<br />
<br />
* Call: /api/subscription_create_bulk<br />
* Methods: POST, GET(if allowed, not recomended)<br />
<br><br><br />
===Parameters===<br />
<br />
Parameters which are '''included''' into hash:<br />
<br />
* user_id - User ID . '''Required'''.<br />
* service_id - Service ID. '''Required'''. <br />
<br />
'''NOTE''' Several subscriptions at once can be assigned choosing their IDs in the service_id parameter.<br />
<br />
For example, if it is needed to assign subscriptions 1, 1, 1, 2, 3, parameter will look this way: service_id=1,1,1,2,3<br />
<br />
Parameters which are '''not included''' into hash:<br />
<br />
* [[MOR API hash construction | hash]] - SHA1 hash constructed using '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.<br />
* u - username for authentication (admin, reseller, accountant). '''Required'''.<br />
* subscription_activation_start - Unix timestamp of Subscription activation start. <br />
* subscription_activation_end - Unix timestamp of Subscription activation end. <br />
* subscription_memo - memo of Subscription. <br />
* subscription_until_canceled - subscription is until cancel (0 - off, 1 - on, default - off). <br />
* subscription_no_expiration_at_the_end_of_a_month - subscription has no expiration at the end of month. (0 - off, 1 - on, default - off). '''Only for Flat Rate''' and '''Dynamic Flat-Rate'''. <br />
* ignore_balance - for Prepaid user subscription will be applied even if Prepaid User does not have sufficient balance (0 - off, 1 - on, default - off).<br />
* subscription_discount_percent - Subscription Discount Percent. Possible values are from 0 to 100.<br />
<br />
<br><br><br />
'''NOTE'''. When Flat-Rate Service is subscribed Subscription will be created for full month.<br />
<br><br><br />
<br />
===Request===<br />
<br />
We have service_id = 10, user_id = 2, subscription_memo = acc_one, API Secret Key = 456789.<br />
<br />
We send:<br />
<br />
HTML POST: http://<SERVER_IP>/billing/api/subscription_create_bulk?u=admin&service_id=10&user_id=2&subscription_memo=acc_one&hash=e0f93111f867ca5d424c0f0ebb6b678159086d00<br />
<br />
'''* Note that username are not included in hash'''<br />
<br><br><br />
===Returns===<br />
<br />
'''Success'''<br />
<br />
<?xml version="1.0" encoding="UTF-8"?><br />
<page><br />
<status><br />
<success>Subscriptions were successfully created</success><br />
<ids>231</ids><br />
</status><br />
</page><br />
<br />
<br><br><br />
----<br />
'''Errors'''<br />
* <error>Access Denied</error> - user does not exist or cannot use this functionality. <br />
* <error>You are not authorised to use this functionality</error> - accountant does not have Manage Subscription permission.<br />
* <error>Incorrect hash</error> - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.<br />
* <error>User has insufficient balance</error> - Subscription price is bigger than Subscription User balance.<br />
* <error>One or more Service was not found</error> - Service with specified service_id was not found.<br />
<br><br><br />
<br />
=See also=<br />
<br />
* [[MOR API]]<br />
* [[MOR API subscription delete]]<br />
* [[MOR API Subscriptions get]]<br />
* [[MOR API subscription update]]</div>Ervinashttps://wiki.kolmisoft.com/index.php?title=MOR_API_subscription_create_bulk&diff=25870MOR API subscription create bulk2020-09-22T13:55:11Z<p>Ervinas: /* Usage */</p>
<hr />
<div>=Deescription=<br />
<!---This functionality is available from MOR x5---><br />
[[MOR API]] Create subscription<br />
<br><br><br />
=Usage=<br />
<br />
* Call: /api/subscription_create_bulk<br />
* Methods: POST, GET(if allowed, not recomended)<br />
<br><br><br />
===Parameters===<br />
<br />
Parameters which are '''included''' into hash:<br />
<br />
* user_id - User ID . '''Required'''.<br />
* service_id - Service ID. '''Required'''. <br />
<br />
'''NOTE''' Several subscriptions at once can be assigned choosing their IDs in the service_id parameter.<br />
<br />
For example, if it is needed to assign subscriptions 1, 1, 1, 2, 3, parameter will look this way: service_id=1,1,1,2,3<br />
<br />
Parameters which are '''not included''' into hash:<br />
<br />
* [[MOR API hash construction | hash]] - SHA1 hash constructed using '''API_Secret_Key''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.<br />
* u - username for authentication (admin, reseller, accountant). '''Required'''.<br />
* subscription_activation_start - Unix timestamp of Subscription activation start. <br />
* subscription_activation_end - Unix timestamp of Subscription activation end. <br />
* subscription_memo - memo of Subscription. <br />
* subscription_until_canceled - subscription is until cancel (0 - off, 1 - on, default - off). <br />
* subscription_no_expiration_at_the_end_of_a_month - subscription has no expiration at the end of month. (0 - off, 1 - on, default - off). '''Only for Flat Rate''' and '''Dynamic Flat-Rate'''. <br />
* ignore_balance - for Prepaid user subscription will be applied even if Prepaid User does not have sufficient balance (0 - off, 1 - on, default - off).<br />
* subscription_discount_percent - Subscription Discount Percent. Possible values are from 0 to 100.<br />
<br />
<br><br><br />
'''NOTE'''. When Flat-Rate Service is subscribed Subscription will be created for full month.<br />
<br><br><br />
<br />
===Request===<br />
<br />
We have service_id = 10, user_id = 2, subscription_memo = acc_one, API Secret Key = 456789.<br />
<br />
We send:<br />
<br />
HTML POST: http://<SERVER_IP>/billing/api/subscription_create_bulk?u=admin&service_id=10&user_id=2&subscription_memo=acc_one&hash=e0f93111f867ca5d424c0f0ebb6b678159086d00<br />
<br />
'''* Note that username are not included in hash'''<br />
<br><br><br />
===Returns===<br />
<br />
'''Success'''<br />
<br />
<?xml version="1.0" encoding="UTF-8"?><br />
<page><br />
<status><br />
<success>Subscription was successfully created</success><br />
<id>231</id><br />
</status><br />
</page><br />
<br />
<br><br><br />
----<br />
'''Errors'''<br />
* <error>Access Denied</error> - user does not exist or cannot use this functionality. <br />
* <error>You are not authorised to use this functionality</error> - accountant does not have Manage Subscription permission.<br />
* <error>Incorrect hash</error> - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.<br />
* <error>User has insufficient balance</error> - Subscription price is bigger than Subscription User balance.<br />
* <error>Service was not found</error> - Service with specified service_id was not found.<br />
<br><br><br />
<br />
=See also=<br />
<br />
* [[MOR API]]<br />
* [[MOR API subscription delete]]<br />
* [[MOR API Subscriptions get]]<br />
* [[MOR API subscription update]]</div>Ervinashttps://wiki.kolmisoft.com/index.php?title=Rate_Notifications&diff=25771Rate Notifications2020-07-30T12:14:03Z<p>Ervinas: /* Rate Notification Jobs */</p>
<hr />
<div>= Introduction =<br />
<br />
Whenever there are Rate updates or changes in Tariff some sort of communication must be made with Users that are using those Rates. Rate Notifications functionality eases manual tasks by allowing to quickly and automatically create Jobs that informs Users about upcoming (depending on effective from value in the future) Rate prices and also awaits their confirmation whether they agree or disagree with them. <br />
<br />
= Workflow schema =<br />
<br />
The workflow can be visualized using the following schema:<br />
<br><br><br />
[[File:RateNotification1.png]]<br />
<br><br><br />
<br />
= Rate Notifications =<br />
<br />
Rate Notifications is the primary page of the functionality, it displays unique Tariff - User associations to whom Notification can be sent.<br><br />
This page can be found in Menu -> BILLING -> Tariffs -> Rate Notifications<br />
<br><br><br />
[[File:RateNotification2.png]]<br />
<br><br><br />
<br />
Associated Tariff - User objects are shown only when following conditions are met:<br />
* Tariff is Sell type;<br />
* User's Connection Point is assigned Sell Tariff in Origination Point settings;<br />
* Tariff was modified and does not have any Rate Notification Job created for specific Tariff - User;<br />
* Tariff was modified and specific Tariff - User Rate Notification was created prior to Tariff modifications.<br />
<br />
= Creating Rate Notification =<br />
<br />
In order to create new Rate Notification Jobs, check wanted Tariff - User associations and press Set.<br><br />
All required Notifications can be selected by clicking header checkbox. <br />
<br><br><br />
[[File:RateNotification3.png]]<br />
<br><br><br />
After selection, another page will be loaded with options for this specific Notifications.<br><br />
"Selected Tariffs - Users" displays marked associations to whom Notifications will be sent. <br />
"Options" has several settings:<br />
* Email Template: which Template will be used for email. Default "tariff_rate_notification" template is already present in the system and can be modified to fit specific needs. Also new templates can be created, but these templates must have "agree" and "disagree" tags in order to be shown in this dropdown. <br />
* Rate Notification Type: <br />
** Delta Only: future Rates only. <br />
** Full: all future and currently active Rates. <br />
* Agreement Timeout in days: timeout after which Notification will be automatically marked as disagreed (ignored) if the User did not respond. Timeout adds specified days value to Notification created time. <br />
<br><br><br />
[[File:RateNotification4.png]]<br />
<br><br><br />
After pressing the Create button, Jobs will be created and the Rate Notification Jobs page will be loaded. <br />
<br><br><br />
[[File:RateNotification5.png]]<br />
<br><br><br />
<br />
= Rate Notification Jobs =<br />
<br />
Rate Notification Jobs is the page where the system will automatically gather required Rates data, send emails and awaits for Users' response.<br><br />
This page can be found in Menu -> BILLING -> Tariffs -> Rate Notifications -> Jobs<br />
<br />
Jobs have the following states:<br><br />
'''Assigned'''<br><br />
After Rate Notification is created a new Job appears as assigned. <br />
<br><br><br />
[[File:RateNotification6.png]]<br />
<br><br><br />
<br />
'''Date Generated'''<br><br />
System checks for all newly assigned Jobs and generates required data in XLSX format, which can be downloaded from the list. The same exact file will be attached to the email.<br> <br />
<br><br><br />
[[File:RateNotification7.png]]<br />
<br><br><br />
<br />
'''Email Sent'''<br><br />
All Jobs that have successfully generated data will send emails to Users with unique agree and disagree links which can be clicked on only once and within specified timeout.<br> <br />
<br><br><br />
[[File:RateNotification8.png]]<br />
<br><br><br />
<br />
'''Completed'''<br><br />
Depending on User actions, Job can be either agreed, disagreed or ignored. List will display specific responses and time it was responded on. Also additional email will be sent to Admin informing Rate Notification Job response status.<br><br />
<br><br><br />
[[File:RateNotification9.png]]<br />
<br><br><br />
<br />
= Examples =<br />
<br />
== Type: Full, Rate Notification Agreed ==<br />
<br />
User have tariff with some rates:<br />
<br><br><br />
[[File:RateNotification10.png]]<br />
<br><br><br />
Admin uploads new rates with some changes on prices and Effective from date in future:<br />
<br><br><br />
[[File:RateNotification11.png]]<br />
<br><br><br />
In Billing > Tariffs > Rate Notifications, Admin now can see new entry. Admin selects new entry and clicks “SET”:<br />
<br><br><br />
[[File:RateNotification12.png]]<br />
<br><br><br />
Then Admin selects “Full” to display old rates and new rates and click “Create”:<br />
<br><br><br />
[[File:RateNotification13.png]]<br />
<br><br><br />
New Rate Notification is created:<br />
<br><br><br />
[[File:RateNotification14.png]]<br />
<br><br><br />
User gets email with two links:<br />
<br><br><br />
[[File:RateNotification15.png]]<br />
<br><br><br />
and file with rates comparison:<br />
<br><br><br />
[[File:RateNotification16.png]]<br />
<br><br><br />
After checking new rates, User clicks on first link in email to agree with new rates:<br />
<br><br><br />
[[File:RateNotification17.png]]<br />
<br><br><br />
Now, Admin gets email about new rates being confirmed:<br />
<br><br><br />
[[File:RateNotification18.png]]<br />
<br><br><br />
And also sees update status in Rate Notifications Jobs list:<br />
<br><br><br />
[[File:RateNotification19.png]]<br />
<br><br><br />
<br />
== Type: Delta Only, Rate Notification Disagreed ==<br />
<br />
User has tariff with some rates<br />
<br><br><br />
[[File:RateNotification20.png]]<br />
<br><br><br />
In Billing > Tariffs > Rate Notifications, Admin can see a rate notification list of his users. Admin selects needed user and clicks “SET”:<br />
<br><br><br />
[[File:RateNotification21.png]]<br />
<br><br><br />
Then Admin selects “Delta” to display only new rates and press “Create”:<br />
<br><br><br />
[[File:RateNotification22.png]]<br />
<br><br><br />
Tariff Rate Notification Job(s) successfully created.<br />
<br><br><br />
[[File:RateNotification23.png]]<br />
<br><br><br />
Then Admin uploads new rates with some changes on prices and Effective from date in future.<br />
<br />
After this, user gets email with two links with rates to comparison:<br />
<br />
Dear Partner,<br><br />
Please review attached Tariff‘s Rate changes.<br><br />
To confirm upcoming rate changes, please click the link below:<br><br />
http://123.123.123.123/billing/tariff_rate_notification_jobs/agree?id=1128bccbac519a04a4866c785f84f873eec6d5fd<br><br />
If You do not agree with the changes, please click the link below:<br><br />
http://123.123.123.123/billing/tariff_rate_notification_jobs/disagree?id=bcc02d82cf9d919af38bb4e4677685eeb0b382a8<br><br />
Thank you for cooperation.<br><br />
<br><br><br />
[[File:RateNotification24.png]]<br />
<br><br><br />
For example, User disagrees and presses the second link. He can see notification that Tariff Rate changes successfully disagreed.<br />
<br />
After that Admin will receive an email that the client disagreed and will see the same status in Tariff Job.<br />
<br />
Tariff Rate Notification ID: 2 was disagreed by the client.<br />
<br><br><br />
[[File:RateNotification25.png]]<br />
<br><br></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=Rate_Notifications&diff=25770Rate Notifications2020-07-30T12:13:42Z<p>Ervinas: /* Creating Rate Notification */</p>
<hr />
<div>= Introduction =<br />
<br />
Whenever there are Rate updates or changes in Tariff some sort of communication must be made with Users that are using those Rates. Rate Notifications functionality eases manual tasks by allowing to quickly and automatically create Jobs that informs Users about upcoming (depending on effective from value in the future) Rate prices and also awaits their confirmation whether they agree or disagree with them. <br />
<br />
= Workflow schema =<br />
<br />
The workflow can be visualized using the following schema:<br />
<br><br><br />
[[File:RateNotification1.png]]<br />
<br><br><br />
<br />
= Rate Notifications =<br />
<br />
Rate Notifications is the primary page of the functionality, it displays unique Tariff - User associations to whom Notification can be sent.<br><br />
This page can be found in Menu -> BILLING -> Tariffs -> Rate Notifications<br />
<br><br><br />
[[File:RateNotification2.png]]<br />
<br><br><br />
<br />
Associated Tariff - User objects are shown only when following conditions are met:<br />
* Tariff is Sell type;<br />
* User's Connection Point is assigned Sell Tariff in Origination Point settings;<br />
* Tariff was modified and does not have any Rate Notification Job created for specific Tariff - User;<br />
* Tariff was modified and specific Tariff - User Rate Notification was created prior to Tariff modifications.<br />
<br />
= Creating Rate Notification =<br />
<br />
In order to create new Rate Notification Jobs, check wanted Tariff - User associations and press Set.<br><br />
All required Notifications can be selected by clicking header checkbox. <br />
<br><br><br />
[[File:RateNotification3.png]]<br />
<br><br><br />
After selection, another page will be loaded with options for this specific Notifications.<br><br />
"Selected Tariffs - Users" displays marked associations to whom Notifications will be sent. <br />
"Options" has several settings:<br />
* Email Template: which Template will be used for email. Default "tariff_rate_notification" template is already present in the system and can be modified to fit specific needs. Also new templates can be created, but these templates must have "agree" and "disagree" tags in order to be shown in this dropdown. <br />
* Rate Notification Type: <br />
** Delta Only: future Rates only. <br />
** Full: all future and currently active Rates. <br />
* Agreement Timeout in days: timeout after which Notification will be automatically marked as disagreed (ignored) if the User did not respond. Timeout adds specified days value to Notification created time. <br />
<br><br><br />
[[File:RateNotification4.png]]<br />
<br><br><br />
After pressing the Create button, Jobs will be created and the Rate Notification Jobs page will be loaded. <br />
<br><br><br />
[[File:RateNotification5.png]]<br />
<br><br><br />
<br />
= Rate Notification Jobs =<br />
<br />
Rate Notification Jobs is the page where the system will automatically gather required Rates data, send emails and awaits for Users' response. <br />
This page can be found in Menu -> BILLING -> Tariffs -> Rate Notifications -> Jobs<br />
<br />
Jobs have the following states:<br><br />
'''Assigned'''<br><br />
After Rate Notification is created a new Job appears as assigned. <br />
<br><br><br />
[[File:RateNotification6.png]]<br />
<br><br><br />
<br />
'''Date Generated'''<br><br />
System checks for all newly assigned Jobs and generates required data in XLSX format, which can be downloaded from the list. The same exact file will be attached to the email.<br> <br />
<br><br><br />
[[File:RateNotification7.png]]<br />
<br><br><br />
<br />
'''Email Sent'''<br><br />
All Jobs that have successfully generated data will send emails to Users with unique agree and disagree links which can be clicked on only once and within specified timeout.<br> <br />
<br><br><br />
[[File:RateNotification8.png]]<br />
<br><br><br />
<br />
'''Completed'''<br><br />
Depending on User actions, Job can be either agreed, disagreed or ignored. List will display specific responses and time it was responded on. Also additional email will be sent to Admin informing Rate Notification Job response status.<br><br />
<br><br><br />
[[File:RateNotification9.png]]<br />
<br><br><br />
<br />
= Examples =<br />
<br />
== Type: Full, Rate Notification Agreed ==<br />
<br />
User have tariff with some rates:<br />
<br><br><br />
[[File:RateNotification10.png]]<br />
<br><br><br />
Admin uploads new rates with some changes on prices and Effective from date in future:<br />
<br><br><br />
[[File:RateNotification11.png]]<br />
<br><br><br />
In Billing > Tariffs > Rate Notifications, Admin now can see new entry. Admin selects new entry and clicks “SET”:<br />
<br><br><br />
[[File:RateNotification12.png]]<br />
<br><br><br />
Then Admin selects “Full” to display old rates and new rates and click “Create”:<br />
<br><br><br />
[[File:RateNotification13.png]]<br />
<br><br><br />
New Rate Notification is created:<br />
<br><br><br />
[[File:RateNotification14.png]]<br />
<br><br><br />
User gets email with two links:<br />
<br><br><br />
[[File:RateNotification15.png]]<br />
<br><br><br />
and file with rates comparison:<br />
<br><br><br />
[[File:RateNotification16.png]]<br />
<br><br><br />
After checking new rates, User clicks on first link in email to agree with new rates:<br />
<br><br><br />
[[File:RateNotification17.png]]<br />
<br><br><br />
Now, Admin gets email about new rates being confirmed:<br />
<br><br><br />
[[File:RateNotification18.png]]<br />
<br><br><br />
And also sees update status in Rate Notifications Jobs list:<br />
<br><br><br />
[[File:RateNotification19.png]]<br />
<br><br><br />
<br />
== Type: Delta Only, Rate Notification Disagreed ==<br />
<br />
User has tariff with some rates<br />
<br><br><br />
[[File:RateNotification20.png]]<br />
<br><br><br />
In Billing > Tariffs > Rate Notifications, Admin can see a rate notification list of his users. Admin selects needed user and clicks “SET”:<br />
<br><br><br />
[[File:RateNotification21.png]]<br />
<br><br><br />
Then Admin selects “Delta” to display only new rates and press “Create”:<br />
<br><br><br />
[[File:RateNotification22.png]]<br />
<br><br><br />
Tariff Rate Notification Job(s) successfully created.<br />
<br><br><br />
[[File:RateNotification23.png]]<br />
<br><br><br />
Then Admin uploads new rates with some changes on prices and Effective from date in future.<br />
<br />
After this, user gets email with two links with rates to comparison:<br />
<br />
Dear Partner,<br><br />
Please review attached Tariff‘s Rate changes.<br><br />
To confirm upcoming rate changes, please click the link below:<br><br />
http://123.123.123.123/billing/tariff_rate_notification_jobs/agree?id=1128bccbac519a04a4866c785f84f873eec6d5fd<br><br />
If You do not agree with the changes, please click the link below:<br><br />
http://123.123.123.123/billing/tariff_rate_notification_jobs/disagree?id=bcc02d82cf9d919af38bb4e4677685eeb0b382a8<br><br />
Thank you for cooperation.<br><br />
<br><br><br />
[[File:RateNotification24.png]]<br />
<br><br><br />
For example, User disagrees and presses the second link. He can see notification that Tariff Rate changes successfully disagreed.<br />
<br />
After that Admin will receive an email that the client disagreed and will see the same status in Tariff Job.<br />
<br />
Tariff Rate Notification ID: 2 was disagreed by the client.<br />
<br><br><br />
[[File:RateNotification25.png]]<br />
<br><br></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=Rate_Notifications&diff=25769Rate Notifications2020-07-30T12:13:29Z<p>Ervinas: /* Creating Rate Notification */</p>
<hr />
<div>= Introduction =<br />
<br />
Whenever there are Rate updates or changes in Tariff some sort of communication must be made with Users that are using those Rates. Rate Notifications functionality eases manual tasks by allowing to quickly and automatically create Jobs that informs Users about upcoming (depending on effective from value in the future) Rate prices and also awaits their confirmation whether they agree or disagree with them. <br />
<br />
= Workflow schema =<br />
<br />
The workflow can be visualized using the following schema:<br />
<br><br><br />
[[File:RateNotification1.png]]<br />
<br><br><br />
<br />
= Rate Notifications =<br />
<br />
Rate Notifications is the primary page of the functionality, it displays unique Tariff - User associations to whom Notification can be sent.<br><br />
This page can be found in Menu -> BILLING -> Tariffs -> Rate Notifications<br />
<br><br><br />
[[File:RateNotification2.png]]<br />
<br><br><br />
<br />
Associated Tariff - User objects are shown only when following conditions are met:<br />
* Tariff is Sell type;<br />
* User's Connection Point is assigned Sell Tariff in Origination Point settings;<br />
* Tariff was modified and does not have any Rate Notification Job created for specific Tariff - User;<br />
* Tariff was modified and specific Tariff - User Rate Notification was created prior to Tariff modifications.<br />
<br />
= Creating Rate Notification =<br />
<br />
In order to create new Rate Notification Jobs, check wanted Tariff - User associations and press Set.<br><br />
All required Notifications can be selected by clicking header checkbox. <br />
<br><br><br />
[[File:RateNotification3.png]]<br />
<br><br><br />
After selection, another page will be loaded with options for this specific Notifications. <br />
"Selected Tariffs - Users" displays marked associations to whom Notifications will be sent. <br />
"Options" has several settings:<br />
* Email Template: which Template will be used for email. Default "tariff_rate_notification" template is already present in the system and can be modified to fit specific needs. Also new templates can be created, but these templates must have "agree" and "disagree" tags in order to be shown in this dropdown. <br />
* Rate Notification Type: <br />
** Delta Only: future Rates only. <br />
** Full: all future and currently active Rates. <br />
* Agreement Timeout in days: timeout after which Notification will be automatically marked as disagreed (ignored) if the User did not respond. Timeout adds specified days value to Notification created time. <br />
<br><br><br />
[[File:RateNotification4.png]]<br />
<br><br><br />
After pressing the Create button, Jobs will be created and the Rate Notification Jobs page will be loaded. <br />
<br><br><br />
[[File:RateNotification5.png]]<br />
<br><br><br />
<br />
= Rate Notification Jobs =<br />
<br />
Rate Notification Jobs is the page where the system will automatically gather required Rates data, send emails and awaits for Users' response. <br />
This page can be found in Menu -> BILLING -> Tariffs -> Rate Notifications -> Jobs<br />
<br />
Jobs have the following states:<br><br />
'''Assigned'''<br><br />
After Rate Notification is created a new Job appears as assigned. <br />
<br><br><br />
[[File:RateNotification6.png]]<br />
<br><br><br />
<br />
'''Date Generated'''<br><br />
System checks for all newly assigned Jobs and generates required data in XLSX format, which can be downloaded from the list. The same exact file will be attached to the email.<br> <br />
<br><br><br />
[[File:RateNotification7.png]]<br />
<br><br><br />
<br />
'''Email Sent'''<br><br />
All Jobs that have successfully generated data will send emails to Users with unique agree and disagree links which can be clicked on only once and within specified timeout.<br> <br />
<br><br><br />
[[File:RateNotification8.png]]<br />
<br><br><br />
<br />
'''Completed'''<br><br />
Depending on User actions, Job can be either agreed, disagreed or ignored. List will display specific responses and time it was responded on. Also additional email will be sent to Admin informing Rate Notification Job response status.<br><br />
<br><br><br />
[[File:RateNotification9.png]]<br />
<br><br><br />
<br />
= Examples =<br />
<br />
== Type: Full, Rate Notification Agreed ==<br />
<br />
User have tariff with some rates:<br />
<br><br><br />
[[File:RateNotification10.png]]<br />
<br><br><br />
Admin uploads new rates with some changes on prices and Effective from date in future:<br />
<br><br><br />
[[File:RateNotification11.png]]<br />
<br><br><br />
In Billing > Tariffs > Rate Notifications, Admin now can see new entry. Admin selects new entry and clicks “SET”:<br />
<br><br><br />
[[File:RateNotification12.png]]<br />
<br><br><br />
Then Admin selects “Full” to display old rates and new rates and click “Create”:<br />
<br><br><br />
[[File:RateNotification13.png]]<br />
<br><br><br />
New Rate Notification is created:<br />
<br><br><br />
[[File:RateNotification14.png]]<br />
<br><br><br />
User gets email with two links:<br />
<br><br><br />
[[File:RateNotification15.png]]<br />
<br><br><br />
and file with rates comparison:<br />
<br><br><br />
[[File:RateNotification16.png]]<br />
<br><br><br />
After checking new rates, User clicks on first link in email to agree with new rates:<br />
<br><br><br />
[[File:RateNotification17.png]]<br />
<br><br><br />
Now, Admin gets email about new rates being confirmed:<br />
<br><br><br />
[[File:RateNotification18.png]]<br />
<br><br><br />
And also sees update status in Rate Notifications Jobs list:<br />
<br><br><br />
[[File:RateNotification19.png]]<br />
<br><br><br />
<br />
== Type: Delta Only, Rate Notification Disagreed ==<br />
<br />
User has tariff with some rates<br />
<br><br><br />
[[File:RateNotification20.png]]<br />
<br><br><br />
In Billing > Tariffs > Rate Notifications, Admin can see a rate notification list of his users. Admin selects needed user and clicks “SET”:<br />
<br><br><br />
[[File:RateNotification21.png]]<br />
<br><br><br />
Then Admin selects “Delta” to display only new rates and press “Create”:<br />
<br><br><br />
[[File:RateNotification22.png]]<br />
<br><br><br />
Tariff Rate Notification Job(s) successfully created.<br />
<br><br><br />
[[File:RateNotification23.png]]<br />
<br><br><br />
Then Admin uploads new rates with some changes on prices and Effective from date in future.<br />
<br />
After this, user gets email with two links with rates to comparison:<br />
<br />
Dear Partner,<br><br />
Please review attached Tariff‘s Rate changes.<br><br />
To confirm upcoming rate changes, please click the link below:<br><br />
http://123.123.123.123/billing/tariff_rate_notification_jobs/agree?id=1128bccbac519a04a4866c785f84f873eec6d5fd<br><br />
If You do not agree with the changes, please click the link below:<br><br />
http://123.123.123.123/billing/tariff_rate_notification_jobs/disagree?id=bcc02d82cf9d919af38bb4e4677685eeb0b382a8<br><br />
Thank you for cooperation.<br><br />
<br><br><br />
[[File:RateNotification24.png]]<br />
<br><br><br />
For example, User disagrees and presses the second link. He can see notification that Tariff Rate changes successfully disagreed.<br />
<br />
After that Admin will receive an email that the client disagreed and will see the same status in Tariff Job.<br />
<br />
Tariff Rate Notification ID: 2 was disagreed by the client.<br />
<br><br><br />
[[File:RateNotification25.png]]<br />
<br><br></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=Rate_Notifications&diff=25768Rate Notifications2020-07-30T12:13:16Z<p>Ervinas: /* Rate Notifications */</p>
<hr />
<div>= Introduction =<br />
<br />
Whenever there are Rate updates or changes in Tariff some sort of communication must be made with Users that are using those Rates. Rate Notifications functionality eases manual tasks by allowing to quickly and automatically create Jobs that informs Users about upcoming (depending on effective from value in the future) Rate prices and also awaits their confirmation whether they agree or disagree with them. <br />
<br />
= Workflow schema =<br />
<br />
The workflow can be visualized using the following schema:<br />
<br><br><br />
[[File:RateNotification1.png]]<br />
<br><br><br />
<br />
= Rate Notifications =<br />
<br />
Rate Notifications is the primary page of the functionality, it displays unique Tariff - User associations to whom Notification can be sent.<br><br />
This page can be found in Menu -> BILLING -> Tariffs -> Rate Notifications<br />
<br><br><br />
[[File:RateNotification2.png]]<br />
<br><br><br />
<br />
Associated Tariff - User objects are shown only when following conditions are met:<br />
* Tariff is Sell type;<br />
* User's Connection Point is assigned Sell Tariff in Origination Point settings;<br />
* Tariff was modified and does not have any Rate Notification Job created for specific Tariff - User;<br />
* Tariff was modified and specific Tariff - User Rate Notification was created prior to Tariff modifications.<br />
<br />
= Creating Rate Notification =<br />
<br />
In order to create new Rate Notification Jobs, check wanted Tariff - User associations and press Set. All required Notifications can be selected by clicking header checkbox. <br />
<br><br><br />
[[File:RateNotification3.png]]<br />
<br><br><br />
After selection, another page will be loaded with options for this specific Notifications. <br />
"Selected Tariffs - Users" displays marked associations to whom Notifications will be sent. <br />
"Options" has several settings:<br />
* Email Template: which Template will be used for email. Default "tariff_rate_notification" template is already present in the system and can be modified to fit specific needs. Also new templates can be created, but these templates must have "agree" and "disagree" tags in order to be shown in this dropdown. <br />
* Rate Notification Type: <br />
** Delta Only: future Rates only. <br />
** Full: all future and currently active Rates. <br />
* Agreement Timeout in days: timeout after which Notification will be automatically marked as disagreed (ignored) if the User did not respond. Timeout adds specified days value to Notification created time. <br />
<br><br><br />
[[File:RateNotification4.png]]<br />
<br><br><br />
After pressing the Create button, Jobs will be created and the Rate Notification Jobs page will be loaded. <br />
<br><br><br />
[[File:RateNotification5.png]]<br />
<br><br><br />
<br />
= Rate Notification Jobs =<br />
<br />
Rate Notification Jobs is the page where the system will automatically gather required Rates data, send emails and awaits for Users' response. <br />
This page can be found in Menu -> BILLING -> Tariffs -> Rate Notifications -> Jobs<br />
<br />
Jobs have the following states:<br><br />
'''Assigned'''<br><br />
After Rate Notification is created a new Job appears as assigned. <br />
<br><br><br />
[[File:RateNotification6.png]]<br />
<br><br><br />
<br />
'''Date Generated'''<br><br />
System checks for all newly assigned Jobs and generates required data in XLSX format, which can be downloaded from the list. The same exact file will be attached to the email.<br> <br />
<br><br><br />
[[File:RateNotification7.png]]<br />
<br><br><br />
<br />
'''Email Sent'''<br><br />
All Jobs that have successfully generated data will send emails to Users with unique agree and disagree links which can be clicked on only once and within specified timeout.<br> <br />
<br><br><br />
[[File:RateNotification8.png]]<br />
<br><br><br />
<br />
'''Completed'''<br><br />
Depending on User actions, Job can be either agreed, disagreed or ignored. List will display specific responses and time it was responded on. Also additional email will be sent to Admin informing Rate Notification Job response status.<br><br />
<br><br><br />
[[File:RateNotification9.png]]<br />
<br><br><br />
<br />
= Examples =<br />
<br />
== Type: Full, Rate Notification Agreed ==<br />
<br />
User have tariff with some rates:<br />
<br><br><br />
[[File:RateNotification10.png]]<br />
<br><br><br />
Admin uploads new rates with some changes on prices and Effective from date in future:<br />
<br><br><br />
[[File:RateNotification11.png]]<br />
<br><br><br />
In Billing > Tariffs > Rate Notifications, Admin now can see new entry. Admin selects new entry and clicks “SET”:<br />
<br><br><br />
[[File:RateNotification12.png]]<br />
<br><br><br />
Then Admin selects “Full” to display old rates and new rates and click “Create”:<br />
<br><br><br />
[[File:RateNotification13.png]]<br />
<br><br><br />
New Rate Notification is created:<br />
<br><br><br />
[[File:RateNotification14.png]]<br />
<br><br><br />
User gets email with two links:<br />
<br><br><br />
[[File:RateNotification15.png]]<br />
<br><br><br />
and file with rates comparison:<br />
<br><br><br />
[[File:RateNotification16.png]]<br />
<br><br><br />
After checking new rates, User clicks on first link in email to agree with new rates:<br />
<br><br><br />
[[File:RateNotification17.png]]<br />
<br><br><br />
Now, Admin gets email about new rates being confirmed:<br />
<br><br><br />
[[File:RateNotification18.png]]<br />
<br><br><br />
And also sees update status in Rate Notifications Jobs list:<br />
<br><br><br />
[[File:RateNotification19.png]]<br />
<br><br><br />
<br />
== Type: Delta Only, Rate Notification Disagreed ==<br />
<br />
User has tariff with some rates<br />
<br><br><br />
[[File:RateNotification20.png]]<br />
<br><br><br />
In Billing > Tariffs > Rate Notifications, Admin can see a rate notification list of his users. Admin selects needed user and clicks “SET”:<br />
<br><br><br />
[[File:RateNotification21.png]]<br />
<br><br><br />
Then Admin selects “Delta” to display only new rates and press “Create”:<br />
<br><br><br />
[[File:RateNotification22.png]]<br />
<br><br><br />
Tariff Rate Notification Job(s) successfully created.<br />
<br><br><br />
[[File:RateNotification23.png]]<br />
<br><br><br />
Then Admin uploads new rates with some changes on prices and Effective from date in future.<br />
<br />
After this, user gets email with two links with rates to comparison:<br />
<br />
Dear Partner,<br><br />
Please review attached Tariff‘s Rate changes.<br><br />
To confirm upcoming rate changes, please click the link below:<br><br />
http://123.123.123.123/billing/tariff_rate_notification_jobs/agree?id=1128bccbac519a04a4866c785f84f873eec6d5fd<br><br />
If You do not agree with the changes, please click the link below:<br><br />
http://123.123.123.123/billing/tariff_rate_notification_jobs/disagree?id=bcc02d82cf9d919af38bb4e4677685eeb0b382a8<br><br />
Thank you for cooperation.<br><br />
<br><br><br />
[[File:RateNotification24.png]]<br />
<br><br><br />
For example, User disagrees and presses the second link. He can see notification that Tariff Rate changes successfully disagreed.<br />
<br />
After that Admin will receive an email that the client disagreed and will see the same status in Tariff Job.<br />
<br />
Tariff Rate Notification ID: 2 was disagreed by the client.<br />
<br><br><br />
[[File:RateNotification25.png]]<br />
<br><br></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=Rate_Notifications&diff=25767Rate Notifications2020-07-30T12:12:38Z<p>Ervinas: /* Rate Notification Jobs */</p>
<hr />
<div>= Introduction =<br />
<br />
Whenever there are Rate updates or changes in Tariff some sort of communication must be made with Users that are using those Rates. Rate Notifications functionality eases manual tasks by allowing to quickly and automatically create Jobs that informs Users about upcoming (depending on effective from value in the future) Rate prices and also awaits their confirmation whether they agree or disagree with them. <br />
<br />
= Workflow schema =<br />
<br />
The workflow can be visualized using the following schema:<br />
<br><br><br />
[[File:RateNotification1.png]]<br />
<br><br><br />
<br />
= Rate Notifications =<br />
<br />
Rate Notifications is the primary page of the functionality, it displays unique Tariff - User associations to whom Notification can be sent. <br />
This page can be found in Menu -> BILLING -> Tariffs -> Rate Notifications<br />
<br><br><br />
[[File:RateNotification2.png]]<br />
<br><br><br />
<br />
Associated Tariff - User objects are shown only when following conditions are met:<br />
* Tariff is Sell type;<br />
* User's Connection Point is assigned Sell Tariff in Origination Point settings;<br />
* Tariff was modified and does not have any Rate Notification Job created for specific Tariff - User;<br />
* Tariff was modified and specific Tariff - User Rate Notification was created prior to Tariff modifications.<br />
<br />
= Creating Rate Notification =<br />
<br />
In order to create new Rate Notification Jobs, check wanted Tariff - User associations and press Set. All required Notifications can be selected by clicking header checkbox. <br />
<br><br><br />
[[File:RateNotification3.png]]<br />
<br><br><br />
After selection, another page will be loaded with options for this specific Notifications. <br />
"Selected Tariffs - Users" displays marked associations to whom Notifications will be sent. <br />
"Options" has several settings:<br />
* Email Template: which Template will be used for email. Default "tariff_rate_notification" template is already present in the system and can be modified to fit specific needs. Also new templates can be created, but these templates must have "agree" and "disagree" tags in order to be shown in this dropdown. <br />
* Rate Notification Type: <br />
** Delta Only: future Rates only. <br />
** Full: all future and currently active Rates. <br />
* Agreement Timeout in days: timeout after which Notification will be automatically marked as disagreed (ignored) if the User did not respond. Timeout adds specified days value to Notification created time. <br />
<br><br><br />
[[File:RateNotification4.png]]<br />
<br><br><br />
After pressing the Create button, Jobs will be created and the Rate Notification Jobs page will be loaded. <br />
<br><br><br />
[[File:RateNotification5.png]]<br />
<br><br><br />
<br />
= Rate Notification Jobs =<br />
<br />
Rate Notification Jobs is the page where the system will automatically gather required Rates data, send emails and awaits for Users' response. <br />
This page can be found in Menu -> BILLING -> Tariffs -> Rate Notifications -> Jobs<br />
<br />
Jobs have the following states:<br><br />
'''Assigned'''<br><br />
After Rate Notification is created a new Job appears as assigned. <br />
<br><br><br />
[[File:RateNotification6.png]]<br />
<br><br><br />
<br />
'''Date Generated'''<br><br />
System checks for all newly assigned Jobs and generates required data in XLSX format, which can be downloaded from the list. The same exact file will be attached to the email.<br> <br />
<br><br><br />
[[File:RateNotification7.png]]<br />
<br><br><br />
<br />
'''Email Sent'''<br><br />
All Jobs that have successfully generated data will send emails to Users with unique agree and disagree links which can be clicked on only once and within specified timeout.<br> <br />
<br><br><br />
[[File:RateNotification8.png]]<br />
<br><br><br />
<br />
'''Completed'''<br><br />
Depending on User actions, Job can be either agreed, disagreed or ignored. List will display specific responses and time it was responded on. Also additional email will be sent to Admin informing Rate Notification Job response status.<br><br />
<br><br><br />
[[File:RateNotification9.png]]<br />
<br><br><br />
<br />
= Examples =<br />
<br />
== Type: Full, Rate Notification Agreed ==<br />
<br />
User have tariff with some rates:<br />
<br><br><br />
[[File:RateNotification10.png]]<br />
<br><br><br />
Admin uploads new rates with some changes on prices and Effective from date in future:<br />
<br><br><br />
[[File:RateNotification11.png]]<br />
<br><br><br />
In Billing > Tariffs > Rate Notifications, Admin now can see new entry. Admin selects new entry and clicks “SET”:<br />
<br><br><br />
[[File:RateNotification12.png]]<br />
<br><br><br />
Then Admin selects “Full” to display old rates and new rates and click “Create”:<br />
<br><br><br />
[[File:RateNotification13.png]]<br />
<br><br><br />
New Rate Notification is created:<br />
<br><br><br />
[[File:RateNotification14.png]]<br />
<br><br><br />
User gets email with two links:<br />
<br><br><br />
[[File:RateNotification15.png]]<br />
<br><br><br />
and file with rates comparison:<br />
<br><br><br />
[[File:RateNotification16.png]]<br />
<br><br><br />
After checking new rates, User clicks on first link in email to agree with new rates:<br />
<br><br><br />
[[File:RateNotification17.png]]<br />
<br><br><br />
Now, Admin gets email about new rates being confirmed:<br />
<br><br><br />
[[File:RateNotification18.png]]<br />
<br><br><br />
And also sees update status in Rate Notifications Jobs list:<br />
<br><br><br />
[[File:RateNotification19.png]]<br />
<br><br><br />
<br />
== Type: Delta Only, Rate Notification Disagreed ==<br />
<br />
User has tariff with some rates<br />
<br><br><br />
[[File:RateNotification20.png]]<br />
<br><br><br />
In Billing > Tariffs > Rate Notifications, Admin can see a rate notification list of his users. Admin selects needed user and clicks “SET”:<br />
<br><br><br />
[[File:RateNotification21.png]]<br />
<br><br><br />
Then Admin selects “Delta” to display only new rates and press “Create”:<br />
<br><br><br />
[[File:RateNotification22.png]]<br />
<br><br><br />
Tariff Rate Notification Job(s) successfully created.<br />
<br><br><br />
[[File:RateNotification23.png]]<br />
<br><br><br />
Then Admin uploads new rates with some changes on prices and Effective from date in future.<br />
<br />
After this, user gets email with two links with rates to comparison:<br />
<br />
Dear Partner,<br><br />
Please review attached Tariff‘s Rate changes.<br><br />
To confirm upcoming rate changes, please click the link below:<br><br />
http://123.123.123.123/billing/tariff_rate_notification_jobs/agree?id=1128bccbac519a04a4866c785f84f873eec6d5fd<br><br />
If You do not agree with the changes, please click the link below:<br><br />
http://123.123.123.123/billing/tariff_rate_notification_jobs/disagree?id=bcc02d82cf9d919af38bb4e4677685eeb0b382a8<br><br />
Thank you for cooperation.<br><br />
<br><br><br />
[[File:RateNotification24.png]]<br />
<br><br><br />
For example, User disagrees and presses the second link. He can see notification that Tariff Rate changes successfully disagreed.<br />
<br />
After that Admin will receive an email that the client disagreed and will see the same status in Tariff Job.<br />
<br />
Tariff Rate Notification ID: 2 was disagreed by the client.<br />
<br><br><br />
[[File:RateNotification25.png]]<br />
<br><br></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=Rate_Notifications&diff=25766Rate Notifications2020-07-30T09:55:12Z<p>Ervinas: /* Type: Delta Only, Rate Notification Disagreed */</p>
<hr />
<div>= Introduction =<br />
<br />
Whenever there are Rate updates or changes in Tariff some sort of communication must be made with Users that are using those Rates. Rate Notifications functionality eases manual tasks by allowing to quickly and automatically create Jobs that informs Users about upcoming (depending on effective from value in the future) Rate prices and also awaits their confirmation whether they agree or disagree with them. <br />
<br />
= Workflow schema =<br />
<br />
The workflow can be visualized using the following schema:<br />
<br><br><br />
[[File:RateNotification1.png]]<br />
<br><br><br />
<br />
= Rate Notifications =<br />
<br />
Rate Notifications is the primary page of the functionality, it displays unique Tariff - User associations to whom Notification can be sent. <br />
This page can be found in Menu -> BILLING -> Tariffs -> Rate Notifications<br />
<br><br><br />
[[File:RateNotification2.png]]<br />
<br><br><br />
<br />
Associated Tariff - User objects are shown only when following conditions are met:<br />
* Tariff is Sell type;<br />
* User's Connection Point is assigned Sell Tariff in Origination Point settings;<br />
* Tariff was modified and does not have any Rate Notification Job created for specific Tariff - User;<br />
* Tariff was modified and specific Tariff - User Rate Notification was created prior to Tariff modifications.<br />
<br />
= Creating Rate Notification =<br />
<br />
In order to create new Rate Notification Jobs, check wanted Tariff - User associations and press Set. All required Notifications can be selected by clicking header checkbox. <br />
<br><br><br />
[[File:RateNotification3.png]]<br />
<br><br><br />
After selection, another page will be loaded with options for this specific Notifications. <br />
"Selected Tariffs - Users" displays marked associations to whom Notifications will be sent. <br />
"Options" has several settings:<br />
* Email Template: which Template will be used for email. Default "tariff_rate_notification" template is already present in the system and can be modified to fit specific needs. Also new templates can be created, but these templates must have "agree" and "disagree" tags in order to be shown in this dropdown. <br />
* Rate Notification Type: <br />
** Delta Only: future Rates only. <br />
** Full: all future and currently active Rates. <br />
* Agreement Timeout in days: timeout after which Notification will be automatically marked as disagreed (ignored) if the User did not respond. Timeout adds specified days value to Notification created time. <br />
<br><br><br />
[[File:RateNotification4.png]]<br />
<br><br><br />
After pressing the Create button, Jobs will be created and the Rate Notification Jobs page will be loaded. <br />
<br><br><br />
[[File:RateNotification5.png]]<br />
<br><br><br />
<br />
= Rate Notification Jobs =<br />
<br />
Rate Notification Jobs is the page where the system will automatically gather required Rates data, send emails and awaits for Users' response. <br />
This page can be found in Menu -> BILLING -> Tariffs -> Rate Notifications -> Jobs<br />
<br />
Jobs have the following states:<br />
'''Assigned'''<br />
After Rate Notification is created a new Job appears as assigned. <br />
<br><br><br />
[[File:RateNotification6.png]]<br />
<br><br><br />
<br />
'''Date Generated'''<br />
System checks for all newly assigned Jobs and generates required data in XLSX format, which can be downloaded from the list. The same exact file will be attached to the email. <br />
<br><br><br />
[[File:RateNotification7.png]]<br />
<br><br><br />
<br />
'''Email Sent'''<br />
All Jobs that have successfully generated data will send emails to Users with unique agree and disagree links which can be clicked on only once and within specified timeout. <br />
<br><br><br />
[[File:RateNotification8.png]]<br />
<br><br><br />
<br />
'''Completed'''<br />
Depending on User actions, Job can be either agreed, disagreed or ignored. List will display specific responses and time it was responded on. Also additional email will be sent to Admin informing Rate Notification Job response status.<br />
<br><br><br />
[[File:RateNotification9.png]]<br />
<br><br><br />
<br />
= Examples =<br />
<br />
== Type: Full, Rate Notification Agreed ==<br />
<br />
User have tariff with some rates:<br />
<br><br><br />
[[File:RateNotification10.png]]<br />
<br><br><br />
Admin uploads new rates with some changes on prices and Effective from date in future:<br />
<br><br><br />
[[File:RateNotification11.png]]<br />
<br><br><br />
In Billing > Tariffs > Rate Notifications, Admin now can see new entry. Admin selects new entry and clicks “SET”:<br />
<br><br><br />
[[File:RateNotification12.png]]<br />
<br><br><br />
Then Admin selects “Full” to display old rates and new rates and click “Create”:<br />
<br><br><br />
[[File:RateNotification13.png]]<br />
<br><br><br />
New Rate Notification is created:<br />
<br><br><br />
[[File:RateNotification14.png]]<br />
<br><br><br />
User gets email with two links:<br />
<br><br><br />
[[File:RateNotification15.png]]<br />
<br><br><br />
and file with rates comparison:<br />
<br><br><br />
[[File:RateNotification16.png]]<br />
<br><br><br />
After checking new rates, User clicks on first link in email to agree with new rates:<br />
<br><br><br />
[[File:RateNotification17.png]]<br />
<br><br><br />
Now, Admin gets email about new rates being confirmed:<br />
<br><br><br />
[[File:RateNotification18.png]]<br />
<br><br><br />
And also sees update status in Rate Notifications Jobs list:<br />
<br><br><br />
[[File:RateNotification19.png]]<br />
<br><br><br />
<br />
== Type: Delta Only, Rate Notification Disagreed ==<br />
<br />
User has tariff with some rates<br />
<br><br><br />
[[File:RateNotification20.png]]<br />
<br><br><br />
In Billing > Tariffs > Rate Notifications, Admin can see a rate notification list of his users. Admin selects needed user and clicks “SET”:<br />
<br><br><br />
[[File:RateNotification21.png]]<br />
<br><br><br />
Then Admin selects “Delta” to display only new rates and press “Create”:<br />
<br><br><br />
[[File:RateNotification22.png]]<br />
<br><br><br />
Tariff Rate Notification Job(s) successfully created.<br />
<br><br><br />
[[File:RateNotification23.png]]<br />
<br><br><br />
Then Admin uploads new rates with some changes on prices and Effective from date in future.<br />
<br />
After this, user gets email with two links with rates to comparison:<br />
<br />
Dear Partner,<br><br />
Please review attached Tariff‘s Rate changes.<br><br />
To confirm upcoming rate changes, please click the link below:<br><br />
http://123.123.123.123/billing/tariff_rate_notification_jobs/agree?id=1128bccbac519a04a4866c785f84f873eec6d5fd<br><br />
If You do not agree with the changes, please click the link below:<br><br />
http://123.123.123.123/billing/tariff_rate_notification_jobs/disagree?id=bcc02d82cf9d919af38bb4e4677685eeb0b382a8<br><br />
Thank you for cooperation.<br><br />
<br><br><br />
[[File:RateNotification24.png]]<br />
<br><br><br />
For example, User disagrees and presses the second link. He can see notification that Tariff Rate changes successfully disagreed.<br />
<br />
After that Admin will receive an email that the client disagreed and will see the same status in Tariff Job.<br />
<br />
Tariff Rate Notification ID: 2 was disagreed by the client.<br />
<br><br><br />
[[File:RateNotification25.png]]<br />
<br><br></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=Rate_Notifications&diff=25765Rate Notifications2020-07-30T09:54:33Z<p>Ervinas: /* Type: Delta-only, Rate Notification Disagreed */</p>
<hr />
<div>= Introduction =<br />
<br />
Whenever there are Rate updates or changes in Tariff some sort of communication must be made with Users that are using those Rates. Rate Notifications functionality eases manual tasks by allowing to quickly and automatically create Jobs that informs Users about upcoming (depending on effective from value in the future) Rate prices and also awaits their confirmation whether they agree or disagree with them. <br />
<br />
= Workflow schema =<br />
<br />
The workflow can be visualized using the following schema:<br />
<br><br><br />
[[File:RateNotification1.png]]<br />
<br><br><br />
<br />
= Rate Notifications =<br />
<br />
Rate Notifications is the primary page of the functionality, it displays unique Tariff - User associations to whom Notification can be sent. <br />
This page can be found in Menu -> BILLING -> Tariffs -> Rate Notifications<br />
<br><br><br />
[[File:RateNotification2.png]]<br />
<br><br><br />
<br />
Associated Tariff - User objects are shown only when following conditions are met:<br />
* Tariff is Sell type;<br />
* User's Connection Point is assigned Sell Tariff in Origination Point settings;<br />
* Tariff was modified and does not have any Rate Notification Job created for specific Tariff - User;<br />
* Tariff was modified and specific Tariff - User Rate Notification was created prior to Tariff modifications.<br />
<br />
= Creating Rate Notification =<br />
<br />
In order to create new Rate Notification Jobs, check wanted Tariff - User associations and press Set. All required Notifications can be selected by clicking header checkbox. <br />
<br><br><br />
[[File:RateNotification3.png]]<br />
<br><br><br />
After selection, another page will be loaded with options for this specific Notifications. <br />
"Selected Tariffs - Users" displays marked associations to whom Notifications will be sent. <br />
"Options" has several settings:<br />
* Email Template: which Template will be used for email. Default "tariff_rate_notification" template is already present in the system and can be modified to fit specific needs. Also new templates can be created, but these templates must have "agree" and "disagree" tags in order to be shown in this dropdown. <br />
* Rate Notification Type: <br />
** Delta Only: future Rates only. <br />
** Full: all future and currently active Rates. <br />
* Agreement Timeout in days: timeout after which Notification will be automatically marked as disagreed (ignored) if the User did not respond. Timeout adds specified days value to Notification created time. <br />
<br><br><br />
[[File:RateNotification4.png]]<br />
<br><br><br />
After pressing the Create button, Jobs will be created and the Rate Notification Jobs page will be loaded. <br />
<br><br><br />
[[File:RateNotification5.png]]<br />
<br><br><br />
<br />
= Rate Notification Jobs =<br />
<br />
Rate Notification Jobs is the page where the system will automatically gather required Rates data, send emails and awaits for Users' response. <br />
This page can be found in Menu -> BILLING -> Tariffs -> Rate Notifications -> Jobs<br />
<br />
Jobs have the following states:<br />
'''Assigned'''<br />
After Rate Notification is created a new Job appears as assigned. <br />
<br><br><br />
[[File:RateNotification6.png]]<br />
<br><br><br />
<br />
'''Date Generated'''<br />
System checks for all newly assigned Jobs and generates required data in XLSX format, which can be downloaded from the list. The same exact file will be attached to the email. <br />
<br><br><br />
[[File:RateNotification7.png]]<br />
<br><br><br />
<br />
'''Email Sent'''<br />
All Jobs that have successfully generated data will send emails to Users with unique agree and disagree links which can be clicked on only once and within specified timeout. <br />
<br><br><br />
[[File:RateNotification8.png]]<br />
<br><br><br />
<br />
'''Completed'''<br />
Depending on User actions, Job can be either agreed, disagreed or ignored. List will display specific responses and time it was responded on. Also additional email will be sent to Admin informing Rate Notification Job response status.<br />
<br><br><br />
[[File:RateNotification9.png]]<br />
<br><br><br />
<br />
= Examples =<br />
<br />
== Type: Full, Rate Notification Agreed ==<br />
<br />
User have tariff with some rates:<br />
<br><br><br />
[[File:RateNotification10.png]]<br />
<br><br><br />
Admin uploads new rates with some changes on prices and Effective from date in future:<br />
<br><br><br />
[[File:RateNotification11.png]]<br />
<br><br><br />
In Billing > Tariffs > Rate Notifications, Admin now can see new entry. Admin selects new entry and clicks “SET”:<br />
<br><br><br />
[[File:RateNotification12.png]]<br />
<br><br><br />
Then Admin selects “Full” to display old rates and new rates and click “Create”:<br />
<br><br><br />
[[File:RateNotification13.png]]<br />
<br><br><br />
New Rate Notification is created:<br />
<br><br><br />
[[File:RateNotification14.png]]<br />
<br><br><br />
User gets email with two links:<br />
<br><br><br />
[[File:RateNotification15.png]]<br />
<br><br><br />
and file with rates comparison:<br />
<br><br><br />
[[File:RateNotification16.png]]<br />
<br><br><br />
After checking new rates, User clicks on first link in email to agree with new rates:<br />
<br><br><br />
[[File:RateNotification17.png]]<br />
<br><br><br />
Now, Admin gets email about new rates being confirmed:<br />
<br><br><br />
[[File:RateNotification18.png]]<br />
<br><br><br />
And also sees update status in Rate Notifications Jobs list:<br />
<br><br><br />
[[File:RateNotification19.png]]<br />
<br><br><br />
<br />
== Type: Delta Only, Rate Notification Disagreed ==<br />
<br />
User has tariff with some rates<br />
<br><br><br />
[[File:RateNotification20.png]]<br />
<br><br><br />
In Billing > Tariffs > Rate Notifications, Admin can see a rate notification list of his users. Admin selects needed user and clicks “SET”:<br />
<br><br><br />
[[File:RateNotification21.png]]<br />
<br><br><br />
Then Admin selects “Delta” to display only new rates and press “Create”:<br />
<br><br><br />
[[File:RateNotification22.png]]<br />
<br><br><br />
Tariff Rate Notification Job(s) successfully created.<br />
<br><br><br />
[[File:RateNotification23.png]]<br />
<br><br><br />
Then Admin uploads new rates with some changes on prices and Effective from date in future.<br />
<br />
After this, user gets email with two links with rates to comparison:<br />
<br />
Dear Partner,<br />
Please review attached Tariff‘s Rate changes.<br />
To confirm upcoming rate changes, please click the link below:<br />
http://123.123.123.123/billing/tariff_rate_notification_jobs/agree?id=1128bccbac519a04a4866c785f84f873eec6d5fd<br />
If You do not agree with the changes, please click the link below:<br />
http://123.123.123.123/billing/tariff_rate_notification_jobs/disagree?id=bcc02d82cf9d919af38bb4e4677685eeb0b382a8<br />
Thank you for cooperation.<br />
<br><br><br />
[[File:RateNotification24.png]]<br />
<br><br><br />
For example, User disagrees and presses the second link. He can see notification that Tariff Rate changes successfully disagreed.<br />
<br />
After that Admin will receive an email that the client disagreed and will see the same status in Tariff Job.<br />
<br />
Tariff Rate Notification ID: 2 was disagreed by the client.<br />
<br><br><br />
[[File:RateNotification25.png]]<br />
<br><br></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=Rate_Notifications&diff=25764Rate Notifications2020-07-30T09:53:23Z<p>Ervinas: </p>
<hr />
<div>= Introduction =<br />
<br />
Whenever there are Rate updates or changes in Tariff some sort of communication must be made with Users that are using those Rates. Rate Notifications functionality eases manual tasks by allowing to quickly and automatically create Jobs that informs Users about upcoming (depending on effective from value in the future) Rate prices and also awaits their confirmation whether they agree or disagree with them. <br />
<br />
= Workflow schema =<br />
<br />
The workflow can be visualized using the following schema:<br />
<br><br><br />
[[File:RateNotification1.png]]<br />
<br><br><br />
<br />
= Rate Notifications =<br />
<br />
Rate Notifications is the primary page of the functionality, it displays unique Tariff - User associations to whom Notification can be sent. <br />
This page can be found in Menu -> BILLING -> Tariffs -> Rate Notifications<br />
<br><br><br />
[[File:RateNotification2.png]]<br />
<br><br><br />
<br />
Associated Tariff - User objects are shown only when following conditions are met:<br />
* Tariff is Sell type;<br />
* User's Connection Point is assigned Sell Tariff in Origination Point settings;<br />
* Tariff was modified and does not have any Rate Notification Job created for specific Tariff - User;<br />
* Tariff was modified and specific Tariff - User Rate Notification was created prior to Tariff modifications.<br />
<br />
= Creating Rate Notification =<br />
<br />
In order to create new Rate Notification Jobs, check wanted Tariff - User associations and press Set. All required Notifications can be selected by clicking header checkbox. <br />
<br><br><br />
[[File:RateNotification3.png]]<br />
<br><br><br />
After selection, another page will be loaded with options for this specific Notifications. <br />
"Selected Tariffs - Users" displays marked associations to whom Notifications will be sent. <br />
"Options" has several settings:<br />
* Email Template: which Template will be used for email. Default "tariff_rate_notification" template is already present in the system and can be modified to fit specific needs. Also new templates can be created, but these templates must have "agree" and "disagree" tags in order to be shown in this dropdown. <br />
* Rate Notification Type: <br />
** Delta Only: future Rates only. <br />
** Full: all future and currently active Rates. <br />
* Agreement Timeout in days: timeout after which Notification will be automatically marked as disagreed (ignored) if the User did not respond. Timeout adds specified days value to Notification created time. <br />
<br><br><br />
[[File:RateNotification4.png]]<br />
<br><br><br />
After pressing the Create button, Jobs will be created and the Rate Notification Jobs page will be loaded. <br />
<br><br><br />
[[File:RateNotification5.png]]<br />
<br><br><br />
<br />
= Rate Notification Jobs =<br />
<br />
Rate Notification Jobs is the page where the system will automatically gather required Rates data, send emails and awaits for Users' response. <br />
This page can be found in Menu -> BILLING -> Tariffs -> Rate Notifications -> Jobs<br />
<br />
Jobs have the following states:<br />
'''Assigned'''<br />
After Rate Notification is created a new Job appears as assigned. <br />
<br><br><br />
[[File:RateNotification6.png]]<br />
<br><br><br />
<br />
'''Date Generated'''<br />
System checks for all newly assigned Jobs and generates required data in XLSX format, which can be downloaded from the list. The same exact file will be attached to the email. <br />
<br><br><br />
[[File:RateNotification7.png]]<br />
<br><br><br />
<br />
'''Email Sent'''<br />
All Jobs that have successfully generated data will send emails to Users with unique agree and disagree links which can be clicked on only once and within specified timeout. <br />
<br><br><br />
[[File:RateNotification8.png]]<br />
<br><br><br />
<br />
'''Completed'''<br />
Depending on User actions, Job can be either agreed, disagreed or ignored. List will display specific responses and time it was responded on. Also additional email will be sent to Admin informing Rate Notification Job response status.<br />
<br><br><br />
[[File:RateNotification9.png]]<br />
<br><br><br />
<br />
= Examples =<br />
<br />
== Type: Full, Rate Notification Agreed ==<br />
<br />
User have tariff with some rates:<br />
<br><br><br />
[[File:RateNotification10.png]]<br />
<br><br><br />
Admin uploads new rates with some changes on prices and Effective from date in future:<br />
<br><br><br />
[[File:RateNotification11.png]]<br />
<br><br><br />
In Billing > Tariffs > Rate Notifications, Admin now can see new entry. Admin selects new entry and clicks “SET”:<br />
<br><br><br />
[[File:RateNotification12.png]]<br />
<br><br><br />
Then Admin selects “Full” to display old rates and new rates and click “Create”:<br />
<br><br><br />
[[File:RateNotification13.png]]<br />
<br><br><br />
New Rate Notification is created:<br />
<br><br><br />
[[File:RateNotification14.png]]<br />
<br><br><br />
User gets email with two links:<br />
<br><br><br />
[[File:RateNotification15.png]]<br />
<br><br><br />
and file with rates comparison:<br />
<br><br><br />
[[File:RateNotification16.png]]<br />
<br><br><br />
After checking new rates, User clicks on first link in email to agree with new rates:<br />
<br><br><br />
[[File:RateNotification17.png]]<br />
<br><br><br />
Now, Admin gets email about new rates being confirmed:<br />
<br><br><br />
[[File:RateNotification18.png]]<br />
<br><br><br />
And also sees update status in Rate Notifications Jobs list:<br />
<br><br><br />
[[File:RateNotification19.png]]<br />
<br><br><br />
<br />
== Type: Delta-only, Rate Notification Disagreed ==<br />
<br />
User has tariff with some rates<br />
<br><br><br />
[[File:RateNotification20.png]]<br />
<br><br><br />
In Billing > Tariffs > Rate Notifications, Admin can see a rate notification list of his users. Admin selects needed user and clicks “SET”:<br />
<br><br><br />
[[File:RateNotification21.png]]<br />
<br><br><br />
Then Admin selects “Delta” to display only new rates and press “Create”:<br />
<br><br><br />
[[File:RateNotification22.png]]<br />
<br><br><br />
Tariff Rate Notification Job(s) successfully created.<br />
<br><br><br />
[[File:RateNotification23.png]]<br />
<br><br><br />
Then Admin uploads new rates with some changes on prices and Effective from date in future.<br />
<br />
After this, user gets email with two links with rates to comparison:<br />
<br />
Dear Partner,<br />
Please review attached Tariff‘s Rate changes.<br />
To confirm upcoming rate changes, please click the link below:<br />
http://123.123.123.123/billing/tariff_rate_notification_jobs/agree?id=1128bccbac519a04a4866c785f84f873eec6d5fd<br />
If You do not agree with the changes, please click the link below:<br />
http://123.123.123.123/billing/tariff_rate_notification_jobs/disagree?id=bcc02d82cf9d919af38bb4e4677685eeb0b382a8<br />
Thank you for cooperation.<br />
<br><br><br />
[[File:RateNotification24.png]]<br />
<br><br><br />
For example, User disagrees and presses the second link. He can see notification that Tariff Rate changes successfully disagreed.<br />
<br />
After that Admin will receive an email that the client disagreed and will see the same status in Tariff Job.<br />
<br />
Tariff Rate Notification ID: 2 was disagreed by the client.<br />
<br><br><br />
[[File:RateNotification25.png]]<br />
<br><br></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:RateNotification25.png&diff=25763File:RateNotification25.png2020-07-30T09:52:57Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:RateNotification24.png&diff=25762File:RateNotification24.png2020-07-30T09:52:53Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:RateNotification23.png&diff=25761File:RateNotification23.png2020-07-30T09:52:48Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:RateNotification22.png&diff=25760File:RateNotification22.png2020-07-30T09:52:42Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:RateNotification21.png&diff=25759File:RateNotification21.png2020-07-30T09:52:35Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:RateNotification20.png&diff=25758File:RateNotification20.png2020-07-30T09:52:27Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:RateNotification19.png&diff=25757File:RateNotification19.png2020-07-30T09:52:22Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:RateNotification18.png&diff=25756File:RateNotification18.png2020-07-30T09:52:16Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:RateNotification17.png&diff=25755File:RateNotification17.png2020-07-30T09:52:10Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:RateNotification16.png&diff=25754File:RateNotification16.png2020-07-30T09:52:06Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:RateNotification15.png&diff=25753File:RateNotification15.png2020-07-30T09:52:02Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:RateNotification14.png&diff=25752File:RateNotification14.png2020-07-30T09:51:56Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:RateNotification13.png&diff=25751File:RateNotification13.png2020-07-30T09:51:51Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:RateNotification12.png&diff=25750File:RateNotification12.png2020-07-30T09:51:46Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:RateNotification11.png&diff=25749File:RateNotification11.png2020-07-30T09:51:41Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:RateNotification10.png&diff=25748File:RateNotification10.png2020-07-30T09:51:36Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:RateNotification9.png&diff=25747File:RateNotification9.png2020-07-30T09:51:32Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:RateNotification8.png&diff=25746File:RateNotification8.png2020-07-30T09:51:27Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:RateNotification6.png&diff=25745File:RateNotification6.png2020-07-30T09:51:21Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:RateNotification7.png&diff=25744File:RateNotification7.png2020-07-30T09:51:16Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:RateNotification5.png&diff=25743File:RateNotification5.png2020-07-30T09:51:06Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:RateNotification4.png&diff=25742File:RateNotification4.png2020-07-30T09:50:59Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:RateNotification3.png&diff=25741File:RateNotification3.png2020-07-30T09:50:53Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:RateNotification2.png&diff=25740File:RateNotification2.png2020-07-30T09:50:47Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:RateNotification1.png&diff=25739File:RateNotification1.png2020-07-30T09:50:39Z<p>Ervinas: </p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=Rate_Notifications&diff=25738Rate Notifications2020-07-30T09:50:10Z<p>Ervinas: Created page with '= Introduction = Whenever there are Rate updates or changes in Tariff some sort of communication must be made with Users that are using those Rates. Rate Notifications functiona…'</p>
<hr />
<div>= Introduction =<br />
<br />
Whenever there are Rate updates or changes in Tariff some sort of communication must be made with Users that are using those Rates. Rate Notifications functionality eases manual tasks by allowing to quickly and automatically create Jobs that informs Users about upcoming (depending on effective from value in the future) Rate prices and also awaits their confirmation whether they agree or disagree with them. <br />
<br />
= Workflow schema =<br />
<br />
The workflow can be visualized using the following schema:<br />
<br><br><br />
[[File:RateNotification1.png]]<br />
<br><br><br />
<br />
= Rate Notifications =<br />
<br />
Rate Notifications is the primary page of the functionality, it displays unique Tariff - User associations to whom Notification can be sent. <br />
This page can be found in Menu -> BILLING -> Tariffs -> Rate Notifications<br />
<br><br><br />
[[File:RateNotification2.png]]<br />
<br><br><br />
<br />
Associated Tariff - User objects are shown only when following conditions are met:<br />
* Tariff is Sell type;<br />
* User's Connection Point is assigned Sell Tariff in Origination Point settings;<br />
* Tariff was modified and does not have any Rate Notification Job created for specific Tariff - User;<br />
* Tariff was modified and specific Tariff - User Rate Notification was created prior to Tariff modifications.<br />
<br />
= Creating Rate Notification =<br />
<br />
In order to create new Rate Notification Jobs, check wanted Tariff - User associations and press Set. All required Notifications can be selected by clicking header checkbox. <br />
<br><br><br />
[[File:RateNotification3.png]]<br />
<br><br><br />
After selection, another page will be loaded with options for this specific Notifications. <br />
"Selected Tariffs - Users" displays marked associations to whom Notifications will be sent. <br />
"Options" has several settings:<br />
* Email Template: which Template will be used for email. Default "tariff_rate_notification" template is already present in the system and can be modified to fit specific needs. Also new templates can be created, but these templates must have "agree" and "disagree" tags in order to be shown in this dropdown. <br />
* Rate Notification Type: <br />
** Delta Only: future Rates only. <br />
** Full: all future and currently active Rates. <br />
* Agreement Timeout in days: timeout after which Notification will be automatically marked as disagreed (ignored) if the User did not respond. Timeout adds specified days value to Notification created time. <br />
<br><br><br />
[[File:RateNotification4.png]]<br />
<br><br><br />
After pressing the Create button, Jobs will be created and the Rate Notification Jobs page will be loaded. <br />
<br><br><br />
[[File:RateNotification5.png]]<br />
<br><br><br />
<br />
= Rate Notification Jobs =<br />
<br />
Rate Notification Jobs is the page where the system will automatically gather required Rates data, send emails and awaits for Users' response. <br />
This page can be found in Menu -> BILLING -> Tariffs -> Rate Notifications -> Jobs<br />
<br />
Jobs have the following states:<br />
'''Assigned'''<br />
After Rate Notification is created a new Job appears as assigned. <br />
<br><br><br />
[[File:RateNotification6.png]]<br />
<br><br><br />
<br />
'''Date Generated'''<br />
System checks for all newly assigned Jobs and generates required data in XLSX format, which can be downloaded from the list. The same exact file will be attached to the email. <br />
<br><br><br />
[[File:RateNotification7.png]]<br />
<br><br><br />
<br />
'''Email Sent'''<br />
All Jobs that have successfully generated data will send emails to Users with unique agree and disagree links which can be clicked on only once and within specified timeout. <br />
<br><br><br />
[[File:RateNotification8.png]]<br />
<br><br><br />
<br />
'''Completed'''<br />
Depending on User actions, Job can be either agreed, disagreed or ignored. List will display specific responses and time it was responded on. Also additional email will be sent to Admin informing Rate Notification Job response status.<br />
<br><br><br />
[[File:RateNotification9.png]]<br />
<br><br><br />
<br />
= Examples =<br />
<br />
== Type: Full, Rate Notification Agreed<br />
<br />
User have tariff with some rates:<br />
<br><br><br />
[[File:RateNotification10.png]]<br />
<br><br><br />
Admin uploads new rates with some changes on prices and Effective from date in future:<br />
<br><br><br />
[[File:RateNotification11.png]]<br />
<br><br><br />
In Billing > Tariffs > Rate Notifications, Admin now can see new entry. Admin selects new entry and clicks “SET”:<br />
<br><br><br />
[[File:RateNotification12.png]]<br />
<br><br><br />
Then Admin selects “Full” to display old rates and new rates and click “Create”:<br />
<br><br><br />
[[File:RateNotification13.png]]<br />
<br><br><br />
New Rate Notification is created:<br />
<br><br><br />
[[File:RateNotification14.png]]<br />
<br><br><br />
User gets email with two links:<br />
<br><br><br />
[[File:RateNotification15.png]]<br />
<br><br><br />
and file with rates comparison:<br />
<br><br><br />
[[File:RateNotification16.png]]<br />
<br><br><br />
After checking new rates, User clicks on first link in email to agree with new rates:<br />
<br><br><br />
[[File:RateNotification17.png]]<br />
<br><br><br />
Now, Admin gets email about new rates being confirmed:<br />
<br><br><br />
[[File:RateNotification18.png]]<br />
<br><br><br />
And also sees update status in Rate Notifications Jobs list:<br />
<br><br><br />
[[File:RateNotification19.png]]<br />
<br><br><br />
<br />
== Type: Delta-only, Rate Notification Disagreed<br />
<br />
User has tariff with some rates<br />
<br><br><br />
[[File:RateNotification20.png]]<br />
<br><br><br />
In Billing > Tariffs > Rate Notifications, Admin can see a rate notification list of his users. Admin selects needed user and clicks “SET”:<br />
<br><br><br />
[[File:RateNotification21.png]]<br />
<br><br><br />
Then Admin selects “Delta” to display only new rates and press “Create”:<br />
<br><br><br />
[[File:RateNotification22.png]]<br />
<br><br><br />
Tariff Rate Notification Job(s) successfully created.<br />
<br><br><br />
[[File:RateNotification23.png]]<br />
<br><br><br />
Then Admin uploads new rates with some changes on prices and Effective from date in future.<br />
<br />
After this, user gets email with two links with rates to comparison:<br />
<br />
Dear Partner,<br />
Please review attached Tariff‘s Rate changes.<br />
To confirm upcoming rate changes, please click the link below:<br />
http://123.123.123.123/billing/tariff_rate_notification_jobs/agree?id=1128bccbac519a04a4866c785f84f873eec6d5fd<br />
If You do not agree with the changes, please click the link below:<br />
http://123.123.123.123/billing/tariff_rate_notification_jobs/disagree?id=bcc02d82cf9d919af38bb4e4677685eeb0b382a8<br />
Thank you for cooperation.<br />
<br><br><br />
[[File:RateNotification24.png]]<br />
<br><br><br />
For example, User disagrees and presses the second link. He can see notification that Tariff Rate changes successfully disagreed.<br />
<br />
After that Admin will receive an email that the client disagreed and will see the same status in Tariff Job.<br />
<br />
Tariff Rate Notification ID: 2 was disagreed by the client.<br />
<br><br><br />
[[File:RateNotification25.png]]<br />
<br><br></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=DID_Management&diff=25622DID Management2020-06-02T15:32:06Z<p>Ervinas: /* Allowing Users to route their DIDs */</p>
<hr />
<div>= Description =<br />
<br />
DID is an external number to have incoming calls to your VoIP network reach a particular device. (This is a very simplified explanation that will serve for the moment. For a more extensive explanation, please check [http://www.voip-info.org/wiki/view/DID here]).<br />
<br />
'''VERY IMPORTANT RULE: DIDs in MOR MUST be in E.164 format.'''<br />
<br />
You can reach window, with list of all DIDs, in '''SETTINGS –> Billing –> DIDs''':<br />
<br><br><br />
[[File:Dids updated.png]]<br />
<br><br><br />
User/Dial Plan and Device show who will answer when dialing this DID.<br />
<br />
Clicking on User or Device brings you to their settings. If you click on the [[Image:callflow.png]] icon, you will go to the device's [[Call Flow]] window.<br />
<br />
In this page you can <br />
*[[DID_Management#Add_new_DID(s) | Add new DID(s)]]<br />
*Reach [[DID_Management#DID_bulk_management | Bulk management]]<br />
*Export DIDs to CSV<br />
*Reach page to change DID [[DID Billing | Rates]]<br />
*Update DID [[DID_Management#Settings | settings]]<br />
*Search only by DID Owner, when using search field called ''Owner'', or search by either DID Owner or DID Reseller at once, when using search field called ''User''.<br />
<!---This functionality is available from MOR X5---><br />
*Hide Terminated DIDs. When option "Hide Terminated DIDs" is checked, terminated dids will be hidden until option is unchecked. Clear search button or relogin will not clear the checked option.<br />
* Search by User type.<br />
* Search by inclusive Balance range (only for Owners).<br />
* Search by User status (only for Owners).<br />
<br />
<br><br><br />
<br />
= Status =<br />
[[Image:dids2.png|right]]<br />
Status is very important. For every just-created DID, the status is Free.<br />
<br />
A DID can have several statuses:<br />
<br />
* '''Free''' – this status means that the DID is free to be reserved for any user/device. You can also Terminate it.<br />
* '''Reserved''' – the DID is reserved but NOT actually used for a user. "Reserved" is useful at the negotiation stage before signing a contract. When a user decides to sign up, we Activate the DID. We can also make the DID Free.<br />
* '''Active''' – the DID is assigned to a Device and is functional. We can Close it.<br />
* '''Closed''' – the DID is no longer functional, so that all calls going to this DID will get Hangup. One important feature of this state: when a DID is Closed, it will be closed for a set time (the default is 90 days) in case the user changes his mind and decides to use this DID again. This is useful when a user is not paying for services, as we can suspend the DID by using Closed. MOR will make it Free after the Closed period runs out. You can manually make it Free or Terminate this DID.<br />
* '''Terminated''' – the DID is no longer used in MOR. It remains only for historical purposes. You can make it Free if you want.<br />
<br />
<br><br><br />
<br />
= Add new DID(s) =<br />
<br />
In the main DIDs window, if you want to add new DID(s), click on [[Image:add.png]] '''New DID''':<br />
<br />
[[Image:dids5.png]]<br />
<br />
In this window you can:<br />
<br />
# Select DID(s) [[DID_Management#Details | details]]<br />
# Add one DID or series of DIDs<br />
# [[ DID_Import_from_CSV | Import DID(s) from CSV file]]<br />
<br><br />
'''NOTE:''' You should select the Provider which sold you this DID. DID Provider is ONLY for informational purposes. If you do not know which Provider to assign - create dummy Provider to represent company from which you buy DID. If this is fake DID - assign any Provider you want. If your DID Provider has several IP addresses (as DIDWW) and you configured several Providers in MOR - assign ANY configured Provider.<br />
<br />
<br><br><br />
== VIDEO: How to create a DID ==<br />
<br />
<html><br />
<iframe width="640" height="360" src="http://www.youtube.com/embed/SVJS_stEgBQ" frameborder="0"></iframe> <br />
</html><br />
<br />
<br><br><br />
<br />
==Details==<br />
<br />
*'''Provider''' – DID Provider is ONLY for informational purposes. If you do not know which Provider to assign - create dummy Provider to represent company from which you buy DID. If this is fake DID - assign any Provider you want. If your DID Provider has several IP addresses (as DIDWW) and you configured several Providers in MOR - assign ANY configured Provider.<br />
<br />
*'''Language''' – option to set language for voice prompts in the Asterisk Dial Plan<br />
<br />
*'''Call limit''' – describes how many simultaneous calls DID can '''receive'''. 0 (zero) means that calls are unlimited.<br />
<br />
*'''Max Call Duration (Timeout)''' – a number of seconds before a Call via DID is terminated ('''NOTE:''' due to a global safeguard Calls are terminated ~3 sec. earlier than this setting).<br />
<br />
*'''Comment''' – option to save some notes about DID.<br />
<br />
*'''[[Sound files | Sound file]]''' – here you can add [[IVR Greeting for DID]]. There are two options:<br />
# Answer and play.<br />
# Early media.<br />
*'''PIN''' – a numeric PIN code to secure a DID.<br />
<br />
*'''PIN retries''' – a number of allowed attempts to enter a PIN code.<br />
<br />
*'''[[Sound files | Sound file]] to reenter PIN''' – a Sound File that is played before the next attempt to enter a PIN Code.<br />
<br />
*'''MOH instead of Ringing''' – if [[Music on Hold|MOH]] is selected, Music on Hold will be played instead of ringing when DID number is dialled. <br />
<br />
*'''[[IVR_system | IVR]] if PIN fails''' – an IVR the Call is transferred to when all attempts to enter a PIN Code fail. '''NOTE:''' when all PIN attempts fail and '''IVR if PIN fails''' is None, a Call is terminated with a [[Hangupcause_Codes|Hangupcause Code]] '''275'''.<br />
<br />
<!---This functionality is available from MOR 9---><br />
*'''Grace Time''' – if call duration is less than Grace Time, it will not be accounted, for example: '''Grace Time''' = 3s, call duration <= 3s, then price for the call = 0<br />
<br />
<!---This functionality is available from MOR 10---><br />
*'''Timeout Digit''' – the maximum amount of time permitted between digits when the user is typing in a number. When this timeout expires after the user has started to type in a number, the number will be considered complete, and will be interpreted (sent to the system). Works both with entering destination and ANI/PIN.<br />
<br />
<!---This functionality is available from MOR 10---><br />
*'''Timeout Response''' – the maximum amount of time permitted for user to START entering a number. If the user does not begin typing a number in this amount of time, system will notify that nothing was entered. Once the user begins to type a number, system will wait for <b>Digit Timeout</b> to be reached, and <b>Response Timeout</b> has no effect no more. <br />
<br />
<!---This functionality is available from MOR 11---><br />
*'''CallerID Name Prefix''' – option to add a CallerID Name prefix to the incoming CallerID.<br />
<br />
<!---This functionality is available from MOR 12---><br />
*'''Tone zone''' – option to set tone zones. Tone zone is a different ring tone depending on destination (country).<br />
<br />
<!---This functionality is available from MOR 12---><br />
*'''Tariff for Calling Card''' – option to set a tariff for DID which will be applied for a calling card. It will not be important what tariff is assigned for that card's group.<br />
<br />
<!---This functionality is available from MOR X11---><br />
*'''Active from''' – DID will become active from this date. If DID is not active yet, call is routed like there is no matching DID number.<br />
<br />
*'''Active till''' – DID will be active till this date. Expiration does not change DID status, call is routed like there is no matching DID number.<br />
<!---This functionality is available from MOR X13---><br />
* '''Blacklist Source Number Pool''' - this will set [[Number Pool]] for Blacklist Source. When calling this DID, if Source Number match number in this pool, call will be rejected with '''HGC 283 - Source number is in DID blacklist'''.<br />
<br />
* '''Send call anonymously''' - default no. Ability to show Anonymous on incoming call.<br />
<br />
* '''Send CallerID in UUI header''' - default no. The ability to show the caller ID on all calls in Sip UUI messaging.<br />
Header example:<br />
User-to-User: hexCallerid;pd=XX;encoding=hex;purpose=isdn-uui;content=isdn-uui<br />
<br />
<br><br><br />
<br />
= Settings = <br />
<br />
If you want to edit a DID's settings, click on the [[Image:edit.png]] icon. <br />
<br><br><br />
[[Image:dids4.png]]<br />
<br><br><br />
The above window is for Free DID. You can:<br />
<br />
# Change [[DID_Management#Details | details]]<br />
# [[DID_Management#Reserve_DID_for_User | Reserve DID for User]].<br />
# [[DID_Management#Assign_to_Dial_Plan | Assign to Dial Plan]].<br />
# Terminate a DID.<br />
<br />
<br><br><br />
<br />
==Reserve DID for User==<br />
<br />
When a DID is assigned to a Device (Reserve for User first), you have a few different choices:<br />
<br />
[[File:DidAssign5.png]]<br />
<br />
Here you can:<br />
<br />
# Change [[DID_Management#Details | details]].<br />
# Assign DID to device. Here you can select different Devices for the same user. For select Trunk Device is next section.<br />
# Assign DID to Trunk. Here you can select different Trunk Devices for the same user.<br />
# Stop a DID subscription and reserve the DID for 90 days (by default) to this user in case he changes his mind and wants to get the DID back.<br />
<br />
<br><br><br />
<br />
==Assign to Dial Plan==<br />
<br />
When DID is assigned to [[Dial_Plans | Dial Plan]], in DID settings you can:<br />
# Change [[DID_Management#Details | details]].<br />
# Make DID free.<br />
<br />
When you have [[Quickforwards_rules | Quickforward Rule]] for this DID, in DID edit you will see additional notice:<br />
<br />
[[Image:DID_edit_collisions_with_qf_rule.png]]<br />
<br />
<br><br><br />
= Delete DID = <br />
<br />
At first, mark it as "not used" (Free). Then terminate it. When you do, you will see [[Image:delete.png]] next to the DID in the main DID window. By clicking on it, you can delete the DID.<br />
<br />
<br><br><br />
= DID bulk management =<br />
In the main DIDs window, click [[Image:edit.png]] Bulk Management and you will be able to perform various actions either on:<br />
*'''DIDs interval''' - this will apply action on selected DID interval,<br />
*'''DIDs pattern''' - this will apply action on selected pattern. Supported wildcard symbols in pattern:<br />
** '''%''' matches any symbols, for example '''370%''' will match any number starting with '''370'''<br />
** '''_''' matches one symbol, for example '''370_1334455''' will match numbers in format '''370x1334455''', where '''x''' is any number.<br />
<br><br><br />
[[Image:dids6.png]]<br />
<br><br><br />
Here you can choose which DIDs to update and what to do:<br />
*'''Update''' - option to change some of DID details, Reserve DID for User (only free DIDs can be reserved) or Make DID free.<br />
*'''Delete''' - option to delete DIDs by Provider or make DIDs Free/Terminated/Closed.<br />
*'''Manage rates''' - option to change Rates for [[DID Billing]].<br />
*'''[[Assign DID to Trunk]]'''.<br />
<!---This functionality is available from MOR 9---><br />
*'''Reserve for User''' - option to reserve DID for User (only free DIDs can be reserved).<br />
*'''Assign Dial Plan''' - option for Assign DID to [[Dial_Plans | Dial Plan]]<br />
<br><br><br />
<br />
= Allowing Users to route their DIDs =<br />
Since '''MOR X5''' users are able to route their DID to a Device or an External Server . <br />
This functionality can be enabled in '''SETTINGS -> Setup -> Visual''' by checking the 'Allow User to assign DID to Device:' setting.<br />
<br />
Once the functionality is enabled, the user will be able to see an Edit icon, in his DIDs list.<br />
<br><br><br />
[[File:Dids_list_with_did_routing.png]]<br />
<br><br><br />
<br />
By pressing the icon, the user will be redirected to a page where he will be able to route his DID either to one of his MOR Devices, or to a Device on an external server (eg. SIP/370xxxxxx@123.123.123.123).<br />
<br><br><br />
[[File:Did_routing_panel.png]]<br />
<br><br><br />
<br />
'''NOTE:''' Reseller's DID list permissions are independent from Resellers' User, this means that Resellers' User can view DID list (if permissions are enabled for them) even when Resellers cannot.<br />
<br />
=See Also=<br />
<br />
*[[DID Billing]]<br />
*[[DIDs Usage]]<br />
*[[MOR_API_did_create | Create DID through API]]<br />
*[[MOR_API_did_device_assign | Assign Device to DID through API]]<br />
*[[MOR_API_did_device_unassign | Unassign Device from DID through API]]<br />
*[[Providers#Provider_Grace_Time|Provider Grace Time]]<br />
*[[Grace_time|Device Grace Time]]<br />
*[[Example - Configuring DID to ring some Device]]<br />
*[[DID is not working]]<br />
*[[ DID_Import_from_CSV | Import DID(s) from CSV file]]<br />
*[[Number Pool]]</div>Ervinashttps://wiki.kolmisoft.com/index.php?title=DID_Management&diff=25621DID Management2020-06-02T15:31:31Z<p>Ervinas: /* Allowing Users to route their DIDs */</p>
<hr />
<div>= Description =<br />
<br />
DID is an external number to have incoming calls to your VoIP network reach a particular device. (This is a very simplified explanation that will serve for the moment. For a more extensive explanation, please check [http://www.voip-info.org/wiki/view/DID here]).<br />
<br />
'''VERY IMPORTANT RULE: DIDs in MOR MUST be in E.164 format.'''<br />
<br />
You can reach window, with list of all DIDs, in '''SETTINGS –> Billing –> DIDs''':<br />
<br><br><br />
[[File:Dids updated.png]]<br />
<br><br><br />
User/Dial Plan and Device show who will answer when dialing this DID.<br />
<br />
Clicking on User or Device brings you to their settings. If you click on the [[Image:callflow.png]] icon, you will go to the device's [[Call Flow]] window.<br />
<br />
In this page you can <br />
*[[DID_Management#Add_new_DID(s) | Add new DID(s)]]<br />
*Reach [[DID_Management#DID_bulk_management | Bulk management]]<br />
*Export DIDs to CSV<br />
*Reach page to change DID [[DID Billing | Rates]]<br />
*Update DID [[DID_Management#Settings | settings]]<br />
*Search only by DID Owner, when using search field called ''Owner'', or search by either DID Owner or DID Reseller at once, when using search field called ''User''.<br />
<!---This functionality is available from MOR X5---><br />
*Hide Terminated DIDs. When option "Hide Terminated DIDs" is checked, terminated dids will be hidden until option is unchecked. Clear search button or relogin will not clear the checked option.<br />
* Search by User type.<br />
* Search by inclusive Balance range (only for Owners).<br />
* Search by User status (only for Owners).<br />
<br />
<br><br><br />
<br />
= Status =<br />
[[Image:dids2.png|right]]<br />
Status is very important. For every just-created DID, the status is Free.<br />
<br />
A DID can have several statuses:<br />
<br />
* '''Free''' – this status means that the DID is free to be reserved for any user/device. You can also Terminate it.<br />
* '''Reserved''' – the DID is reserved but NOT actually used for a user. "Reserved" is useful at the negotiation stage before signing a contract. When a user decides to sign up, we Activate the DID. We can also make the DID Free.<br />
* '''Active''' – the DID is assigned to a Device and is functional. We can Close it.<br />
* '''Closed''' – the DID is no longer functional, so that all calls going to this DID will get Hangup. One important feature of this state: when a DID is Closed, it will be closed for a set time (the default is 90 days) in case the user changes his mind and decides to use this DID again. This is useful when a user is not paying for services, as we can suspend the DID by using Closed. MOR will make it Free after the Closed period runs out. You can manually make it Free or Terminate this DID.<br />
* '''Terminated''' – the DID is no longer used in MOR. It remains only for historical purposes. You can make it Free if you want.<br />
<br />
<br><br><br />
<br />
= Add new DID(s) =<br />
<br />
In the main DIDs window, if you want to add new DID(s), click on [[Image:add.png]] '''New DID''':<br />
<br />
[[Image:dids5.png]]<br />
<br />
In this window you can:<br />
<br />
# Select DID(s) [[DID_Management#Details | details]]<br />
# Add one DID or series of DIDs<br />
# [[ DID_Import_from_CSV | Import DID(s) from CSV file]]<br />
<br><br />
'''NOTE:''' You should select the Provider which sold you this DID. DID Provider is ONLY for informational purposes. If you do not know which Provider to assign - create dummy Provider to represent company from which you buy DID. If this is fake DID - assign any Provider you want. If your DID Provider has several IP addresses (as DIDWW) and you configured several Providers in MOR - assign ANY configured Provider.<br />
<br />
<br><br><br />
== VIDEO: How to create a DID ==<br />
<br />
<html><br />
<iframe width="640" height="360" src="http://www.youtube.com/embed/SVJS_stEgBQ" frameborder="0"></iframe> <br />
</html><br />
<br />
<br><br><br />
<br />
==Details==<br />
<br />
*'''Provider''' – DID Provider is ONLY for informational purposes. If you do not know which Provider to assign - create dummy Provider to represent company from which you buy DID. If this is fake DID - assign any Provider you want. If your DID Provider has several IP addresses (as DIDWW) and you configured several Providers in MOR - assign ANY configured Provider.<br />
<br />
*'''Language''' – option to set language for voice prompts in the Asterisk Dial Plan<br />
<br />
*'''Call limit''' – describes how many simultaneous calls DID can '''receive'''. 0 (zero) means that calls are unlimited.<br />
<br />
*'''Max Call Duration (Timeout)''' – a number of seconds before a Call via DID is terminated ('''NOTE:''' due to a global safeguard Calls are terminated ~3 sec. earlier than this setting).<br />
<br />
*'''Comment''' – option to save some notes about DID.<br />
<br />
*'''[[Sound files | Sound file]]''' – here you can add [[IVR Greeting for DID]]. There are two options:<br />
# Answer and play.<br />
# Early media.<br />
*'''PIN''' – a numeric PIN code to secure a DID.<br />
<br />
*'''PIN retries''' – a number of allowed attempts to enter a PIN code.<br />
<br />
*'''[[Sound files | Sound file]] to reenter PIN''' – a Sound File that is played before the next attempt to enter a PIN Code.<br />
<br />
*'''MOH instead of Ringing''' – if [[Music on Hold|MOH]] is selected, Music on Hold will be played instead of ringing when DID number is dialled. <br />
<br />
*'''[[IVR_system | IVR]] if PIN fails''' – an IVR the Call is transferred to when all attempts to enter a PIN Code fail. '''NOTE:''' when all PIN attempts fail and '''IVR if PIN fails''' is None, a Call is terminated with a [[Hangupcause_Codes|Hangupcause Code]] '''275'''.<br />
<br />
<!---This functionality is available from MOR 9---><br />
*'''Grace Time''' – if call duration is less than Grace Time, it will not be accounted, for example: '''Grace Time''' = 3s, call duration <= 3s, then price for the call = 0<br />
<br />
<!---This functionality is available from MOR 10---><br />
*'''Timeout Digit''' – the maximum amount of time permitted between digits when the user is typing in a number. When this timeout expires after the user has started to type in a number, the number will be considered complete, and will be interpreted (sent to the system). Works both with entering destination and ANI/PIN.<br />
<br />
<!---This functionality is available from MOR 10---><br />
*'''Timeout Response''' – the maximum amount of time permitted for user to START entering a number. If the user does not begin typing a number in this amount of time, system will notify that nothing was entered. Once the user begins to type a number, system will wait for <b>Digit Timeout</b> to be reached, and <b>Response Timeout</b> has no effect no more. <br />
<br />
<!---This functionality is available from MOR 11---><br />
*'''CallerID Name Prefix''' – option to add a CallerID Name prefix to the incoming CallerID.<br />
<br />
<!---This functionality is available from MOR 12---><br />
*'''Tone zone''' – option to set tone zones. Tone zone is a different ring tone depending on destination (country).<br />
<br />
<!---This functionality is available from MOR 12---><br />
*'''Tariff for Calling Card''' – option to set a tariff for DID which will be applied for a calling card. It will not be important what tariff is assigned for that card's group.<br />
<br />
<!---This functionality is available from MOR X11---><br />
*'''Active from''' – DID will become active from this date. If DID is not active yet, call is routed like there is no matching DID number.<br />
<br />
*'''Active till''' – DID will be active till this date. Expiration does not change DID status, call is routed like there is no matching DID number.<br />
<!---This functionality is available from MOR X13---><br />
* '''Blacklist Source Number Pool''' - this will set [[Number Pool]] for Blacklist Source. When calling this DID, if Source Number match number in this pool, call will be rejected with '''HGC 283 - Source number is in DID blacklist'''.<br />
<br />
* '''Send call anonymously''' - default no. Ability to show Anonymous on incoming call.<br />
<br />
* '''Send CallerID in UUI header''' - default no. The ability to show the caller ID on all calls in Sip UUI messaging.<br />
Header example:<br />
User-to-User: hexCallerid;pd=XX;encoding=hex;purpose=isdn-uui;content=isdn-uui<br />
<br />
<br><br><br />
<br />
= Settings = <br />
<br />
If you want to edit a DID's settings, click on the [[Image:edit.png]] icon. <br />
<br><br><br />
[[Image:dids4.png]]<br />
<br><br><br />
The above window is for Free DID. You can:<br />
<br />
# Change [[DID_Management#Details | details]]<br />
# [[DID_Management#Reserve_DID_for_User | Reserve DID for User]].<br />
# [[DID_Management#Assign_to_Dial_Plan | Assign to Dial Plan]].<br />
# Terminate a DID.<br />
<br />
<br><br><br />
<br />
==Reserve DID for User==<br />
<br />
When a DID is assigned to a Device (Reserve for User first), you have a few different choices:<br />
<br />
[[File:DidAssign5.png]]<br />
<br />
Here you can:<br />
<br />
# Change [[DID_Management#Details | details]].<br />
# Assign DID to device. Here you can select different Devices for the same user. For select Trunk Device is next section.<br />
# Assign DID to Trunk. Here you can select different Trunk Devices for the same user.<br />
# Stop a DID subscription and reserve the DID for 90 days (by default) to this user in case he changes his mind and wants to get the DID back.<br />
<br />
<br><br><br />
<br />
==Assign to Dial Plan==<br />
<br />
When DID is assigned to [[Dial_Plans | Dial Plan]], in DID settings you can:<br />
# Change [[DID_Management#Details | details]].<br />
# Make DID free.<br />
<br />
When you have [[Quickforwards_rules | Quickforward Rule]] for this DID, in DID edit you will see additional notice:<br />
<br />
[[Image:DID_edit_collisions_with_qf_rule.png]]<br />
<br />
<br><br><br />
= Delete DID = <br />
<br />
At first, mark it as "not used" (Free). Then terminate it. When you do, you will see [[Image:delete.png]] next to the DID in the main DID window. By clicking on it, you can delete the DID.<br />
<br />
<br><br><br />
= DID bulk management =<br />
In the main DIDs window, click [[Image:edit.png]] Bulk Management and you will be able to perform various actions either on:<br />
*'''DIDs interval''' - this will apply action on selected DID interval,<br />
*'''DIDs pattern''' - this will apply action on selected pattern. Supported wildcard symbols in pattern:<br />
** '''%''' matches any symbols, for example '''370%''' will match any number starting with '''370'''<br />
** '''_''' matches one symbol, for example '''370_1334455''' will match numbers in format '''370x1334455''', where '''x''' is any number.<br />
<br><br><br />
[[Image:dids6.png]]<br />
<br><br><br />
Here you can choose which DIDs to update and what to do:<br />
*'''Update''' - option to change some of DID details, Reserve DID for User (only free DIDs can be reserved) or Make DID free.<br />
*'''Delete''' - option to delete DIDs by Provider or make DIDs Free/Terminated/Closed.<br />
*'''Manage rates''' - option to change Rates for [[DID Billing]].<br />
*'''[[Assign DID to Trunk]]'''.<br />
<!---This functionality is available from MOR 9---><br />
*'''Reserve for User''' - option to reserve DID for User (only free DIDs can be reserved).<br />
*'''Assign Dial Plan''' - option for Assign DID to [[Dial_Plans | Dial Plan]]<br />
<br><br><br />
<br />
= Allowing Users to route their DIDs =<br />
Since '''MOR X5''' users are able to route their DID to a Device or an External Server . <br />
This functionality can be enabled in '''SETTINGS -> Setup -> Visual''' by checking the 'Allow User to assign DID to Device:' setting.<br />
<br />
Once the functionality is enabled, the user will be able to see an Edit icon, in his DIDs list.<br />
<br><br><br />
[[File:Dids_list_with_did_routing.png]]<br />
<br><br><br />
<br />
By pressing the icon, the user will be redirected to a page where he will be able to route his DID either to one of his MOR Devices, or to a Device on an external server (eg. SIP/370xxxxxx@123.123.123.123).<br />
<br><br><br />
[[File:Did_routing_panel.png]]<br />
<br><br><br />
<br />
'''NOTE:''' Reseller's DID list permissions are independent from Resellers' User, this means that Resellers' User can view DID list (if permissions are enabled for them) even when Resellers cannot.<br />
<br />
<br><br><br />
<br />
=See Also=<br />
<br />
*[[DID Billing]]<br />
*[[DIDs Usage]]<br />
*[[MOR_API_did_create | Create DID through API]]<br />
*[[MOR_API_did_device_assign | Assign Device to DID through API]]<br />
*[[MOR_API_did_device_unassign | Unassign Device from DID through API]]<br />
*[[Providers#Provider_Grace_Time|Provider Grace Time]]<br />
*[[Grace_time|Device Grace Time]]<br />
*[[Example - Configuring DID to ring some Device]]<br />
*[[DID is not working]]<br />
*[[ DID_Import_from_CSV | Import DID(s) from CSV file]]<br />
*[[Number Pool]]</div>Ervinashttps://wiki.kolmisoft.com/index.php?title=Automatic_Tariff_Import&diff=25457Automatic Tariff Import2020-03-30T13:13:13Z<p>Ervinas: </p>
<hr />
<div>= Introduction =<br />
<br />
An important task is the timely management of Provider Tariff Plans. While business practices differ, commonly, each Provider will deliver an initial Spreadsheet file detailing their prices to the range of Destination Codes that they are providing. This initial Spreadsheet will then be followed by update notification spreadsheets. These will be received at regular agreed-upon intervals identifying amendments to the previous prices. The format and content of these notifications is not standardised and differs from one Provider to another. This information is vital from a commercial and financial management point of view. It is important therefore that the rating information received from a Provider is uploaded regularly in order that the System can correctly calculate Provider rating costs for calls. It is also important to analyse Tariff/Rating Plan updates received from partners in order to ensure that any errors in the information are noticed early and resolved before causing Billing disputes.<br />
<br />
To solve this necessity Tariff Import system should be used. Let's start from defining major terms used in this process.<br />
<br />
= Template =<br />
<br />
The Provider Import Template is the primary object that requires configuring so that the Provider Rating Import can occur. The Provider Import Template contains the settings that the System uses to convert the information from the Spreadsheet into the System.<br />
<br />
= Rate Import Rules =<br />
<br />
The Rate Import Rules feature enhances the analysis of the Providers rates by identifying rates that do not meet a specific criterion (for example a rate increase with less than 7 days’ notice) and then potentially either alerting the Administrator or rejecting the rate. One (or more) sets of Rate Import Rules can be defined on the System and assigned to many Tariff Import Rules.<br />
<br />
= Tariff Import Rules =<br />
<br />
Tariff Import Rules assign Rate Import Rules, Notifications and Template to the received Email/Attachment in order to properly convert received Tariff and upload rates to the System.<br />
<br />
= Notifications =<br />
<br />
Notifications will generate an email to the desired recipient when configured for various events. Such as:<br />
* Tariff is received<br />
* Tariff is analysed and waiting for confirmation before Import<br />
* Tariff is imported or rejected<br />
* and others<br />
<br />
= Import Job =<br />
<br />
The Import Job is an auditing object that is created by the import and provides information about what occurred during execution. The Import Job means that, when necessary, it is possible to go back and see what happened on previous imports. For that reason there is a Tariff Jobs table in the Tariff Jobs List window which can be reached by going to Menu -> Billing -> Tariff Import -> Jobs. <br />
<br />
<br><br><br />
[[File:M2TIImage56.png]]<br />
<br><br><br />
[[File:M2TIImage20.png]]<br />
<br><br><br />
<br />
Tariff Jobs table columns:<br />
* Id: Tariff job identification number.<br />
* Created at: Date when job was created.<br />
* Status: The state of import process. Can be: <br />
** Assigned - import process was started. <br />
** Converting - rates are being converted. <br />
** Failed Conversion - there was an error in rates conversion.<br />
** Converted - rates were successfully converted.<br />
** Importing into Temporary Table - rates are being uploaded from attachment to the system. <br />
** Failed to Import into Temporary Table - there was an error in rates uploading process.<br />
** Imported into Temporary Table - rates have been loaded to the system.<br />
** Analyzing - rates are being analysed.<br />
** Failed Analysis - there was an error in analysis. <br />
** Analyzed - analysis process has been completed. <br />
** Rejected - rates did not match requirements and were rejected.<br />
** Waiting for confirmation - import is stopped until it will be confirmed by admin.<br />
** Cancelled - import was cancelled by admin. <br />
** Imported - rates were successfully imported.<br />
* Import Rules - name of the Tariff Import Rule used in import and the link to its edit view. <br />
* Rate Import Rules - name of the Rate Import Rules used in import and the link to its edit view.<br />
* Tariff - Tariff name which is being changed in import and the link to its edit view.<br />
* Attachment - name of the attachment that was used in import.<br />
* Import Type - type of import. Can be:<br />
** Update - rates will be added or updated. <br />
** Full - rates will be replaced.<br />
* Auto:<br />
** ‘Yes’ means that tariff import will be done without any request for confirmation.<br />
** ‘-’ means that confirmation will be needed after the analysis.<br />
* Email:<br />
** ‘Yes’ email about Tariff Job creation has been sent successfully.<br />
** ‘-’ email has not been sent.<br />
* Rate Changes - number of how many rates were changed during analysis.<br />
* Rejected Rates - number of how many rates were rejected during analysis.<br />
* Analysis (only in analysed jobs) - link to analysis details.<br />
* Delete - button to delete one job.<br />
<br />
Note: yellow colored Tariff Jobs rows show that they are waiting for confirmation.<br />
<br />
Automatic Deletion<br />
<br />
Old Tariff Jobs are periodically deleted by the system. The period of deletion can be found and changed in Settings -> Various -> Delete Tariff Jobs older than. Default value is 30 days. It means that Tariff Jobs which were created before 30 days or more will be deleted. <br />
<br />
<br><br><br />
[[File:M2TIImage9.png]]<br />
<br><br><br />
<br />
= Analysis =<br />
<br />
Detailed Analysis can be reached from the Tariff Jobs table by pressing on ANALYSIS link.<br />
<br />
On the top right corner there are buttons: <br />
<br />
<br><br><br />
[[File:M2TIImage101.png]]<br />
<br><br><br />
<br />
* Confirm: results of analysis are confirmed and tariff import will continue to proceed.<br />
<br />
<br><br><br />
[[File:M2TIImage78.png]]<br />
<br><br><br />
<br />
* Canceled: tariff import will be canceled.<br />
<br />
<br><br><br />
[[File:M2TIImage69.png]]<br />
<br><br><br />
<br />
* Refine Results: allows to filter table by selected parameters.<br />
<br />
Parameters:<br />
: Rate Increase, Oldest Effective date, Max Decrease, Duplicate Rate, Date Decrease, Maximum Effective Date, Max Rate, Min Times, New Rate, Max Increase, Zero Rate, Increments - can be filtered by values: All (default), None, Alert, Rejected.<br />
<br />
: Non Importable Reasons - can be filtered by values All (default), None, Any, Could not determine direction code, Rate price invalid, Effective from invalid.<br />
<br />
<br><br><br />
[[File:M2TIImage94.png]]<br />
<br><br><br />
<br />
Tariff Job Analysis table:<br />
<br />
<br><br><br />
[[File:M2TIImage31.png]]<br />
<br><br><br />
<br />
Table columns:<br />
* Prefix: prefix on which the rate will be applied.<br />
* Destination: destination name.<br />
* Rate: rate value.<br />
* Connection fee: [[How the Connection fee works]]<br />
* Increment: [[What is increment]]<br />
* Minimal time: [[What is increment]]<br />
* Effective from: [[Rate Effective From]]<br />
<br />
Tooltip:<br />
If the mouse is on the table, additional import rule information will be presented. <br />
<br />
<br><br><br />
[[File:M2TIImage32.png]]<br />
<br><br><br />
<br />
Row colors:<br />
* If the row is red colored, the rate is not importable. Non Importable Reason can be found by moving mouse over the rate.<br />
* If the row is yellow colored, the rate analysis was successful but there were some warnings. In the tooltip the word ‘alert’ will be next to the parameter which caused the alert.<br />
* If the row is white colored, the rate analysis was successful. <br />
<br />
Analysis execution order:<br />
If analysis is being executed on several jobs which includes the same tariff, these jobs will be resolved consistently and the oldest job will have the highest priority. The next analysis of the job will be started only after the previous one is completed.<br />
<br />
= Workflow schema =<br />
<br />
The workflow can be visualized using the following schema:<br />
<br />
<br><br><br />
[[File:M2TIImage15.png]]<br />
<br><br><br />
<br />
= Understanding and Working with Provider Import Templates =<br />
<br />
A Template is created when a Tariff/Rating Plan first needs importing, and can then be reused every time an update is required.<br />
Templates can also be amended at a later point if the format of the original file is altered. Import Templates are highly flexible and support many Rating Plan formats; they therefore include many options that may not need configuring for the more common simpler Tariffs/Rating Plans.<br />
<br />
The Templates work by mapping the contents of an Excel sheet, and its format, to the information required in the Database.<br />
By configuring this information the data is then uploaded into the System and converted into the correct format.<br />
<br />
This is illustrated in the diagram below:<br />
<br />
<br><br><br />
[[File:M2TIImage64.png]]<br />
<br><br><br />
<br />
Tip Before You Begin:<br />
Import Templates are specific to individual Tariffs/Rating Plans, so when creating a new Import Template for the first time it is important to have easy access to the Tariff/Rating Plan involved.<br />
A good tip for working with this - if you happen to have two monitors on your computer - is to display the Tariff/Rating Plan for which the Template is being constructed on one monitor, and System GUI on the other. Alternatively, if only one monitor is available, open the Tariff/Rating Plan in Excel and use Alt+Tab to switch directly between the applications.<br />
<br />
The next Section is going to describe each of the settings available for configuring an Import Template.<br />
<br />
The screenshot below shows the Template Settings in the default basic view:<br />
<br />
<br><br><br />
[[File:M2TIImage113.png]]<br />
<br><br><br />
<br />
In this view we can see the basic summary of the Template highlighting each of the sections that may be required to import the Tariff/Rating Plan.<br />
<br />
Tip:<br />
Remember that if the Tariff/Rating Plan being imported does not include information relating to a particular section of the Template, then that section can simply be left blank. Many Import Templates will be very simple configuring only four or five settings from the available options.<br />
<br />
Name<br />
: Name of the Template can be set to any, but for better management suggested to be the name of Provider.<br />
<br />
Rate Sheet<br />
: The Rate Sheet field requires to be set to the corresponding Worksheet in Excel that the Rating Plan information is held on. <br />
: This means that Rating Plans that contain multiple sheets can still be imported.<br />
<br />
: Example:<br />
: In provided Tariff/Rating Plan below - Destinations, Prefixes and Rates are stored in the second (“Numberplan”) Worksheet.<br />
: [[File:M2TIImage73.png]]<br />
: Accordingly, Template’s Rate Sheet value must be set to 2.<br />
: [[File:M2TIImage97.png]]<br />
<br><br><br />
<br />
Header Rows<br />
: Header Rows setting requires to be set to inform the System of the rows at the top of the Tariff/Rating Plan that are to be ignored when importing meaningful data. <br />
: If Header Rows are set incorrectly, there is a possibility that Tariff/Rating Plan will not be imported at all or with errors because of wrongly processed data.<br />
<br />
: Example 1:<br />
: Provided Tariff/Rating Plan below meaningful data starts from Row 1.<br />
: [[File:M2TIImage44.png]]<br />
: This means there are no rows to skip/ignore for the Header Rows setting.<br />
: Accordingly, Template’s Header Rows value must be set to 0.<br />
: [[File:M2TIImage124.png]]<br />
<br><br><br />
<br />
: Example 2:<br />
: Provided Tariff/Rating Plan below meaningful data starts from Row 23.<br />
: [[File:M2TIImage40.png]]<br />
: This means there are 22 rows to skip/ignore for the Header Rows setting.<br />
: Accordingly, Template’s Header Rows value must be set to 22.<br />
: [[File:M2TIImage114.png]]<br />
<br><br><br />
<br />
Prefix/Code<br />
: Prefix/Code requires to be set to match the Tariff/Rating Plan Prefix column.<br />
: On some occasions there may be two columns (like Country Code, City Code) which the System is also able to handle if Template settings are correct.<br />
: Sometimes provided multiple Prefixes are displayed in singular cell format like “71-76”, “55,551,552,55257” or “370, 371, 372-376, 3772”, such formats are parsed automatically and does not require additional configuration.<br />
<br />
: Example 1:<br />
: Provided Tariff/Rating Plan below has only one Prefix column which is B.<br />
: [[File:M2TIImage68.png]]<br />
: Accordingly, Template’s Prefix/Code value must be set to B.<br />
: [[File:M2TIImage42.png]]<br />
<br><br><br />
<br />
: Example 2:<br />
: Provided Tariff/Rating Plan below has two Prefix columns which are C and D.<br />
: [[File:M2TIImage67.png]]<br />
: Accordingly, Template’s Prefix/Code values must be set to C and D in exact order.<br />
: [[File:M2TIImage28.png]]<br />
<br><br><br />
<br />
Destination/Zone<br />
: The Zone drop-down list box identifies the Column in the Excel sheet that contains the Zone name.<br />
: If there is only one Column containing this information then only one of the dropdown boxes need to be completed. However if the Zone is in two Columns then both of the drop-down boxes can be completed to identify this. In this scenario the blank fields either side of the second box can be used to format the Zone name.<br />
: Example: A Rate Plan includes the following information:<br />
: [[File:M2TIImage59.png]]<br />
: The Zone import is configured with the Columns A and B and the separator fields with a space “Column B”, as shown:<br />
: [[File:M2TIImage5.png]]<br />
<br><br><br />
: This means that the Zone name will be displayed as: Brazil Mobile<br />
<br />
: Example 1:<br />
: Provided Tariff/Rating Plan below has only one Destination/Zone column which is A.<br />
: [[File:M2TIImage7.png]]<br />
: Accordingly, Template’s Destination/Zone value must be set to A.<br />
: [[File:M2TIImage21.png]]<br />
<br><br><br />
<br />
: Example 2:<br />
: Provided Tariff/Rating Plan below has two Destination/Zone columns which are A and B.<br />
: [[File:M2TIImage34.png]]<br />
: Accordingly, Template’s Destination/Zone values must be set to A and B in exact order.<br />
: [[File:M2TIImage5.png]]<br />
<br><br><br />
<br />
Connection Fee<br />
: While uncommon in wholesale, some Rating Plans being imported may still include a fixed Connection Charge - a one off charge applied when the call is connected.<br />
: If required, the Connection Charge drop-down list box can be used to identify the Column containing such a charge in the Rate Plan being imported.<br />
<br />
Effective Date<br />
: The Effective Date options determine in which Column(s) the Date and Time information for the imported rates can be found. <br />
: Multiple options are provided to support different Spreadsheet formats.<br />
: Some Tariff/Rating Plan Providers split Effective Date data between two Worksheets, whereas in first Worksheet there are Destinations with Effective Date and in second Worksheet - Destination, Prefix, Rate data. Configuration of such cases is provided in Example 3.<br />
<br />
: Example 1:<br />
: Provided Tariff/Rating Plan below has an Effective Date column which is F.<br />
: [[File:M2TIImage29.png]]<br />
: Accordingly, Template’s Effective Date value can be set to F.<br />
: [[File:M2TIImage10.png]]<br />
<br><br><br />
<br />
: Example 2:<br />
: Provided Tariff/Rating Plan below has an Effective Date column which is F and Effective Time which is G.<br />
: [[File:M2TIImage17.png]]<br />
: Accordingly, Template’s Effective Date values can be set to F and G.<br />
: [[File:M2TIImage43.png]]<br />
<br><br><br />
<br />
: Example 3:<br />
: Provided Tariff/Rating Plan below in the first Worksheet shows Destination (Column A) and Effective Date (Column D).<br />
: In the second Worksheet, there are Destination (Column A), Prefix (Column B) and Rate/Price (Column C).<br />
: [[File:M2TIImage112.png]]<br />
: First dropdown configures from which Worksheet takes Effective Date data (which in this example’s case is Worksheet 1 (Rates)).<br />
: Second dropdown configures Effective Date column from secondary Worksheet.<br />
: Third dropdown configures by which secondary Worksheet column do the mapping with primary Worksheet (which in this example’s case is Destination from Worksheet 1 (Rates) Column A).<br />
: Fourth dropdown configures by which primary Worksheet column do the mapping with secondary Worksheet (which in this example’s case is Destination from Worksheet 2 (Numberplan) Column A).<br />
: Accordingly, Template’s Effective Date values can be set to 1, D, A = A.<br />
: [[File:M2TIImage100.png]]<br />
<br><br><br />
<br />
Effective Date Format<br />
: After selecting the Column, the Format field is used to specify the format the information is held in the Rate Plan.<br />
: Some suggested formats already exist in dropdown, which can be selected or used as an example to create a custom one if it is not present in dropdown.<br />
<br />
: Example:<br />
: Provided Tariff/Rating Plan below has an Effective Date column which is F.<br />
: [[File:M2TIImage29.png]]<br />
: Accordingly, Template’s Effective Date Format value can be selected from dropdown with suggested formats.<br />
: [[File:M2TIImage50.png]]<br />
<br><br><br />
<br />
Rate<br />
: Rate requires to be set to match the Tariff/Rating Plan Rate/Price column.<br />
<br />
: Example:<br />
: Provided Tariff/Rating Plan below has a Price column which is E.<br />
: [[File:M2TIImage60.png]]<br />
: Accordingly, Template’s Rate value must be set to E.<br />
: [[File:M2TIImage51.png]]<br />
<br><br><br />
<br />
Minimal Time<br />
: Minimal Time can be set to match Tariff/Rating Plan Minimal Time column.<br />
<br />
: Example 1:<br />
: Provided Tariff/Rating Plan below has a Minimal Time column which is E.<br />
: [[File:M2TIImage46.png]]<br />
: Accordingly, Template’s Minimal Time value can be set to E.<br />
: [[File:M2TIImage52.png]]<br />
<br><br><br />
<br />
: Example 2:<br />
: Provided Tariff/Rating Plan below has a Minimal Time column which is D and in the first place of “x/y/z/” fields.<br />
: [[File:M2TIImage49.png]]<br />
: Accordingly, Template’s Minimal Time value can be set to D and field 1.<br />
: [[File:M2TIImage26.png]]<br />
<br><br><br />
<br />
Increment<br />
: Increment can be set to match Tariff/Rating Plan Increment column.<br />
<br />
: Example 1:<br />
: Provided Tariff/Rating Plan below has an Increment column which is F.<br />
: [[File:M2TIImage63.png]]<br />
: Accordingly, Template’s Increment value can be set to F.<br />
: [[File:M2TIImage11.png]]<br />
<br><br><br />
<br />
: Example 2:<br />
: Provided Tariff/Rating Plan below has an Increment column which is D and in the second place of “x/y/z/” fields.<br />
: [[File:M2TIImage49.png]]<br />
: Accordingly, Template’s Increment value can be set to D and field 2.<br />
: [[File:M2TIImage103.png]]<br />
<br><br><br />
<br />
Exceptions<br />
: Exceptions allow additional data manipulation, when specific rules are defined separately in the provided Tariff/Rating Plan.<br />
<br />
: Example 1:<br />
: [[File:M2TIImage41.png]]<br />
: [[File:M2TIImage6.png]]<br />
<br><br><br />
<br />
: Example 2:<br />
: [[File:M2TIImage16.png]]<br />
: [[File:M2TIImage19.png]]<br />
<br><br><br />
<br />
= Creating and Configuring Rate Import Rules =<br />
<br />
Rate Import Rules are relevant to the importing of Provider Rates, and specify actions to be taken if the rule is broken.<br />
<br />
The actions available are:<br />
* None (ignore this rule)<br />
* Alert (notify the Administrator)<br />
* Reject Rate (automatically reject the rate which breaches this rule)<br />
<br />
Example:<br />
The first Rate Import Rule is the rate increase rule. The variable for this rule is a number of days, 7 days by default.<br />
What this means is that when a Provider Tariff/Rating Plan is uploaded and a rate increase is detected with an Effective Date less than 7 days into the future the action that has been configured will be triggered. The rate could be automatically rejected, or an alert about this rating entry was raised.<br />
<br />
<br><br><br />
[[File:M2TIImage70.png]]<br />
<br><br><br />
<br />
Available Rate Import Rules with explanation to each one of them:<br />
<br />
<br><br><br />
[[File:M2TIImage93.png]]<br />
<br><br><br />
<br />
Rate Increase<br />
: If updating existing Rate, whose Rate (Price) increases and takes into effect earlier (by days compared to importing effective from) than set in Rule, then according action will be taken.<br />
: Value can be set to any integer between 0 and 30 which represents day(s).<br />
<br />
Rate Decrease<br />
: If updating existing Rate, whose Rate (Price) decreased and takes into effect earlier (by days compared to importing effective from) than set in Rule, then according action will be taken.<br />
: Value can be set to any integer between 0 and 30 which represents day(s).<br />
<br />
New Rate<br />
: If creating a new non-existing Rate, which takes into effect earlier (by days compared to importing effective from) than set in Rule, then according action will be taken.<br />
: Value can be set to any integer between 0 and 30 which represents day(s).<br />
<br />
Oldest Effective Date<br />
: If updating existing or creating a new Rate, whose new Effective Date is earlier (by days) than set in Rule, then according action will be taken.<br />
: Value can be set to any integer between 0 and 365 which represents day(s).<br />
<br />
Maximum Effective Date<br />
: If updating existing or creating a new Rate, whose new Effective Date is later (by days) than set in Rule, then according action will be taken.<br />
: Value can be set to any integer between 0 and 365 which represents day(s).<br />
<br />
Max Increase<br />
: If updating existing Rate, whose Rate (Price) increased more by percentages than set in Rule, then according action will be taken.<br />
: Value can be set to any decimal between 0 and 500 which represents Rate’s (Price’s) percentages.<br />
<br />
Max Decrease<br />
: If updating existing Rate, whose Rate (Price) decreased more by percentages than set in Rule, then according action will be taken.<br />
: Value can be set to any decimal between 0 and 100 which represents Rate’s (Price’s) percentages.<br />
<br />
Max Rate<br />
: If updating existing or creating a new Rate, whose Rate (Price) is higher than set in Rule, then according action will be taken.<br />
: Value can be set to any decimal between 0 and 100 which represents Rate’s (Price’s) value.<br />
<br />
Zero Rate<br />
: If updating existing or creating a new Rate, whose Rate (Price) is zero, then according action will be taken.<br />
<br />
Min Times Not Equal<br />
: If updating existing or creating a new Rate, whose new Min Time value does not match any from set Rule, then according action will be taken.<br />
: Acceptable value format is: “x,y,z,w”<br />
:: Where x, y, z and w must be integer values between 0 and 7200.<br />
:: Must be separated by comma (,).<br />
:: Must not have any spaces.<br />
:: Must not have leading zeros, unless it is only a zero.<br />
: Examples:<br />
:: 0,100,60,7200<br />
:: 0,1,60<br />
:: 1,60<br />
:: 1<br />
<br />
Increment Not Equal<br />
: If updating existing or creating a new Rate, whose new Increment value does not match any from set Rule, then according action will be taken.<br />
: If updating existing or creating a new Rate, whose new Min Time value does not match any from set Rule, then according action will be taken.<br />
: Acceptable value format is: “x,y,z,w”<br />
:: Where x, y, z and w must be integer values between 0 and 7200.<br />
:: Must be separated by comma (,).<br />
:: Must not have any spaces.<br />
:: Must not have leading zeros, unless it is only a zero.<br />
: Examples:<br />
:: 0,100,60,7200<br />
:: 0,1,60<br />
:: 1,60<br />
:: 1<br />
<br />
= Tariff Import Rules =<br />
<br />
<br><br><br />
[[File:M2TIImage118.png]]<br />
<br><br><br />
<br />
The main Tariff Import Rules page shows all the Tariff Import specific rules in the system. Here you can add new rules by clicking the button at the upper-right corner. Also, you can Edit/Delete selected Rules with the relevant buttons. The first column '''ACTIVE?''' allows to activate or deactivate a specific Rule by clicking the YES/NO buttons. If you would like to change the order of the Rules, Drag&Drop functionality is available.<br />
<br />
Follow the steps below to create Tariff Import Rules:<br />
<br />
By clicking the '''ADD NEW TARIFF IMPORT RULES''' button, you are presented with the following settings screen:<br />
<br />
<br><br><br />
[[File:M2TIImage65.png]]<br />
<br><br><br />
<br />
* '''Name''' - Name of the Rules<br />
* '''Rate Import Rules''' - Select the Rate Import Rules you would like to use<br />
* '''Target Tariff''' - The Tariff for which the changes will be applied<br />
* '''Import Type''' - you can choose between 2 options: Add/Update and Replace All Rates<br />
** '''Add/Update''' - new rates will be added from file and existing ones will be updated<br />
** '''Replace All Rates''' - existing rates will be deleted and new ones imported from file<br />
* '''Import Template''' - Template to be used<br />
* '''Effective Date''' - Effective Date value to be used with Rates<br />
** '''Template''' - Inline - Use Effective Date from File set by Template setting (see: Template)<br />
** '''Subject''' - Use Effective Date from Email Subject<br />
** '''File Name''' - Use Effective Date from File (Attachment) Name<br />
* '''Manual Review''' - Import automatically or wait for manual confirmation<br />
* '''Reject Import if errors found''' - Tariff Import will be rejected if at least one error will be found * '''after analyzing<br />
* '''Stop processing more Rules''' - Matching with Email Details and Active Tariff Import Rules will be in specific order (from Tariff Import Rules List, from top to bottom). Email assigning will be stopped on this Rule if this option is enabled<br />
* '''Default Effective From''' - Effective From value in Rates, when invalid value supplied from file<br />
* '''Default Connection Fee''' - Set Connection Fee for Rates if it is not present or invalid in Import File<br />
* '''Default Increment''' - Set Increment for Rates if it is not present or invalid in Import File<br />
* '''Default Minimal Time''' - Set Minimal Time for Rates if it is not present or invalid in Import File<br />
<br />
== Email/Attachment Validation ==<br />
<br />
Email/Attachment Validation section is used for specifying which emails where will be used by Tariff Import Rules. There are five fields. First four are for email and fifth is for attachment.<br />
<br />
<br><br><br />
[[File:M2TIImage104.png]]<br />
<br><br><br />
<br />
* '''Mail From''' - Email Address(es). Multiple emails can be separated by ;.<br />
* '''Sender Name''' - Senders name.<br />
* '''Mail subject''' - Emails subject.<br />
* '''Mail text''' - Emails text.<br />
* '''File Name''' - Attachments file name.<br />
<br />
Wildcard % is allowed, which substitutes any character with any length. Example is shown in the image below<br />
<br><br><br />
[[File:M2TIImage110.png]]<br />
<br><br><br />
<br />
# Mail From has two values %@gmail.com and john@%.%.<br />
## %@gmail.com specifies it is any gmail email address.<br />
## john@%.% specifies it is john from any email client.<br />
# Sender Name J% any value That starts with uppercase J<br />
# Mail Subject %Rates Subject ends with word Rates<br />
# Mail Text Hello Mail Text Starts with word Hello<br />
# File Name %.csv filename ends with .csv<br />
<br />
== Notifications ==<br />
<br />
Email Notifications are used to generate email notifications to an internal or external list of recipients.<br />
<br />
<br><br><br />
[[File:M2TIImage106.png]]<br />
<br><br><br />
<br />
Follow the steps below to create and configure a notification Template.<br />
# Create Email Template. Manual how to create Email Templates can be found here: [[M2 Emails]]. Additional Email variables: tariff_job_id, tariff_job_analysis_url.<br />
# Select created Email Template from Email Template dropdown. Subject field will fill in automatically. <br> [[File:M2TIImage112.png]] <br />
# Enter Email Address(es) in the Recipients field. Multiple Email Addresses must be separated by ;. <br> [[File:M2TIImage116.png]] <br />
# Repeat the same process for desired Import Triggers. <br> [[File:M2TIImage36.png]] <br />
<br />
= Inbox =<br />
<br />
The Inbox is a type of email inbox available within the System that allows the Rating.<br />
Administrator to view and manage Provider Tariffs/Rate Notifications that have been sent to the System's Email Address.<br />
<br />
Caution:<br />
The Inbox functions in a similar way to the email inbox of your desktop or web based email client, with emails sent to the platform’s email address being displayed and stored in the inbox. The inbox also includes additional functionality to support Providers Rate Import procedures and processes.<br />
However, it is important to understand that the Rate Inbox is designed to manage received emails and not to be a “full email client”. This means that it is not possible to Reply To or Forward emails that are received into the Rate Inbox.<br />
<br />
Inbox Interface:<br />
<br />
<br><br><br />
[[File:M2TIImage82.png]]<br />
<br><br><br />
<br />
The Inbox consists of 3 views: Inbox, Completed and Junk.<br />
<br />
'''Inbox''' - is the primary working inbox. It is this view that will show emails that have been received that have an associated task that requires carrying out.<br />
That task might be to review and commit an update, assign Tariff Import settings, or a number of other actions.<br />
Emails will remain visible in the Action Required view until the associated rate update is committed, or they are manually completed or deleted.<br />
<br />
'''Completed''' - Fully processed emails are shown in the completed tab. Fully processed means that all of the emails attachments had been assigned to at least one of Tariff Import Rules and Tariff Job which is completed.<br />
<br />
'''Junk''' - Emails that are deleted from Junk will be removed permanently, not displayed in the deleted view.<br />
<br />
Tariff Inbox basics<br />
<br />
<br><br><br />
[[File:M2TIImage55.png]]<br />
<br><br><br />
<br />
# Email column - Sender name, email address and subject<br />
# Email details button - toggles email details<br />
# Attachments list<br />
# Attachments file type list<br />
# Import jobs associated with attachments<br />
# Import jobs button - toggles import jobs(if there are more than one tariff import job)<br />
# Attachment mapping status<br />
# Processing note<br />
# Inbox view tab<br />
# Completed view tab<br />
# Junk view tab<br />
# Select all emails check box<br />
# Select single email check box<br />
# Delete Selected emails<br />
# Refine Results - shows fields to filter emails<br />
<br />
== Email Details ==<br />
<br />
Email details are toggled by pressing the arrow button in the Email column. There are four sections: Email Details, Message, Attachments and function buttons.<br />
* Email Details section shows detailed email information such as ID, Received, From, Sender, Subject, To, Reply to and CC.<br />
* Message section contains emails message.<br />
* Attachments section shows attachments associated with email.<br />
* Last Section represents three function buttons.<br />
<br />
<br><br><br />
[[File:M2TIImage47.png]]<br />
<br><br><br />
<br />
== Filter Emails ==<br />
<br />
Email filtering is done by pressing the Refine Results button in the top right corner of Tariff Inbox.<br />
<br />
<br><br><br />
[[File:M2TIImage37.png]]<br />
<br><br><br />
<br />
There are four fields:<br />
* Period - period between emails were received.<br />
* From - email or sender name.<br />
* Subject - emails subject.<br />
* Message - emails message.<br />
<br />
<br><br><br />
[[File:M2TIImage71.png]]<br />
<br><br><br />
<br />
Press refine button to see results.<br />
<br />
<br><br><br />
[[File:M2TIImage120.png]]<br />
<br><br><br />
<br />
Press clear to clear fields.<br />
<br />
<br><br><br />
[[File:M2TIImage107.png]]<br />
<br><br><br />
<br />
== Delete Emails ==<br />
<br />
To delete emails, select emails by clicking their checkboxes.<br />
<br />
<br><br><br />
[[File:M2TIImage38.png]]<br />
<br><br><br />
<br />
Then press Delete Selected button on top right side of Tariff Inbox<br />
<br />
<br><br><br />
[[File:M2TIImage96.png]]<br />
<br><br><br />
<br />
After that, selected emails will be in junk view. To delete permanently, repeat the process in Junk view.<br />
<br />
To select all emails, click on the top checkbox near the Email column heading.<br />
<br />
<br><br><br />
[[File:M2TIImage88.png]]<br />
<br><br><br />
<br />
Also, email can be deleted by toggling Email Details and pressing Delete button<br />
<br />
<br><br><br />
[[File:M2TIImage72.png]]<br />
<br><br><br />
<br />
== Manually assign Tariff Import Settings ==<br />
<br />
It is possible to manually Assign Tariff Import Settings.<br />
# Toggle Email Details<br />
# Select Tariff Import Rules for specific attachment<br />
# Press Assign Import settings<br />
<br />
<br><br><br />
[[File:M2TIImage57.png]]<br />
<br><br><br />
<br />
== Retry Rules mapping ==<br />
<br />
If email with multiple attachments has attachments with no import rules it is possible to retry rules mapping. It's simple, press Retry Rules mapping.<br />
<br />
<br><br><br />
[[File:M2TIImage33.png]]<br />
<br><br><br />
<br />
Note: It’s not possible to Retry Rules mapping if all email attachments will have at least one import rule assigned to it.<br />
<br />
== Attachment mapping status ==<br />
<br />
Attachment mapping status(Status column in Emails list) indicates if Tariff Import Rules mapping was successful or not.<br />
<br />
<br><br><br />
[[File:M2TIImage90.png]]<br />
<br><br><br />
<br />
'''Import Rules Found''' - attachment was mapped successfully with at least one of the Tariff Import Rules.<br />
'''Import Rules Not Found''' - attachment was not mapped to any of the Tariff Import Rules or there were no Tariff Import Rules to map.<br />
'''Invalid Effective Date/Format for Tariff Import Rules''' - Invalid attachment date or it’s format compared to Tariff Import Rules settings. Numbers after status text represent Tariff Import Rules IDs.<br />
<br />
== Email Example ==<br />
<br />
Email can have one or multiple attachments. Every attachment will be processed individually. Attachment can have one or multiple Import Jobs which are dependent on the number of mapped Tariff Import Rules.<br />
<br />
<br><br><br />
[[File:M2TIImage61.png]]<br />
<br><br><br />
<br />
If there are multiple Tariff Jobs they will be shown as a toggle list. To toggle the list, simply press the arrow button next to Jobs list caption.<br />
<br />
<br><br><br />
[[File:M2TIImage87.png]]<br />
<br><br><br />
<br />
To see Job details click on any Import Job. Page will be redirected to the Tariff Jobs list.<br />
<br />
<br><br><br />
[[File:M2TIImage62.png]]<br />
<br><br><br />
<br />
= Examples =<br />
<br />
== Rate upload from TATA ==<br />
<br />
1. Analyze the tariff:<br />
<br><br><br />
[[File:M2TIImage105.png]]<br />
<br><br><br />
<br />
2. Create template for a tariff in BILLING → Tariff import → Import Rules → Templates<br />
<br><br><br />
[[File:M2TIImage81.png]]<br />
<br><br><br />
<br />
3. Select appropriate fields according to the tariff cells:<br />
<br><br><br />
[[File:M2TIImage22.png]]<br />
<br><br><br />
<br />
4. Create Rate Import Rules in BILLING → Tariff import → Import Rules → Rate Import Rules<br />
<br><br><br />
[[File:M2TIImage54.png]]<br />
<br><br><br />
<br />
5. Fill cells according your needs:<br />
<br><br><br />
[[File:M2TIImage80.png]]<br />
<br><br><br />
<br />
6. Create Tariff Import Rules in BILLING → Tariff import → Import Rules<br />
<br><br><br />
[[File:M2TIImage14.png]]<br />
<br><br><br />
<br />
7. Fill required cells:<br />
<br><br><br />
[[File:M2TIImage111.png]]<br />
<br><br><br />
<br />
8. Check the Inbox for a new email at Billing → Tariff Import → Inbox<br />
<br />
9. Enter the mail, select Tariff Import Rules and press Assign Import Settings to continue the import:<br />
<br><br><br />
[[File:M2TIImage18.png]]<br />
<br><br><br />
<br />
10. Tariff job is created now, you can see it in BILLING → Tariff Import → Jobs<br />
<br><br><br />
[[File:M2TIImage102.png]]<br />
<br><br><br />
<br />
11. Job is now waiting for confirmation. You can view analysis before confirming:<br />
<br><br><br />
[[File:M2TIImage45.png]]<br />
<br><br><br />
<br />
12. Point to the line you want to analyze to see more information:<br />
<br><br><br />
[[File:M2TIImage35.png]]<br />
<br><br><br />
<br />
13. If you are satisfied, press confirm to finish the import procedure, otherwise cancel it.<br />
<br><br><br />
[[File:M2TIImage1.png]]<br />
<br><br><br />
<br />
14. If you pressed confirm, you will see that job was successfully confirmed:<br />
<br><br><br />
[[File:M2TIImage77.png]]<br />
<br><br><br />
<br />
15. Go back to Jobs page in BILLING → Tariff Import → Jobs to see status of the Job:<br />
<br><br><br />
[[File:M2TIImage79.png]]<br />
<br><br><br />
<br />
16. Tariff import is finished. As a target tariff in this example was “SUPPLIER PREMIUM”, you can verify rates checking page BILLING → Tariffs.<br />
<br><br><br />
[[File:M2TIImage12.png]]<br />
<br><br><br />
<br />
== Speedflow Tariff Import configuration ==<br />
<br />
<br><br><br />
[[File:M2TIImage117.png]]<br />
<br><br><br />
<br />
1. Create import template.<br />
Go to BILLING > Tariff Import > Import Rules > Templates.<br />
Click "ADD NEW TEMPLATE" at the top-right corner of the page.<br />
<br />
Set "Name" to "speedflow". It can be any name, but "speedflow" will represent for which Provider tariffs this template is used.<br />
Set "Rate Sheet" to "1", as this tariff files contains only one worksheet.<br />
Set "Header Rows" to "22", as this tariff have 4 rows before actual rates data begins.<br />
Set "Refix/Code" to column "A";<br />
Set "Destination/Zone" to column "B";<br />
Set "Effective Date" to column "E";<br />
Set "Effective Date Format" to "%d.%m.%y";<br />
Set "Rate" to column "C";<br />
Set "Minimal Time" to column "E" and value "1";<br />
Set "Increment" to column "E" and value "2";<br />
<br />
<br><br><br />
[[File:M2TIImage76.png]]<br />
<br><br><br />
<br />
Click "Create" to save changes.<br />
<br />
2. Create Rate Import Rules<br />
Go to BILLING > Tariff Import > Import Rules > Rate Import Rules<br />
Click "ADD NEW RATE IMPORT RULES" at the top-right corner of the page.<br />
<br />
This example shows how to create Rate Import Rule which will inform admin about new rates above 1.0 in price and will reject rates where price is equal to 0.<br />
<br />
Set "Name" to "speedflow";<br />
Set "Max Rate" to value "1.0" and action "Alert";<br />
Set "Zero Rate" to action "Reject Rate".<br />
<br />
<br><br><br />
[[File:M2TIImage23.png]]<br />
<br><br><br />
<br />
Click "Create" to save changes.<br />
<br />
3. Create Tariff Import Rules<br />
Go to BILLING > Tariff Import > Import Rules<br />
Click "ADD NEW TARIFF IMPORT RULES" at the top-right corner of the page.<br />
<br />
Set fields like this:<br />
"Name":"speedflow";<br />
"Rate Import Rules":"speedflow";<br />
"Target Tariff":"speedflow (EUR)". This is tariff assigned to speedflow Termination Point;<br />
"Import Type":"Add/Update";<br />
"Import Template":"speedflow";<br />
"Effective Date":"Template - Inline"<br />
"Mail From":"rates@speedflow.com". This is not actual email from which speedflow sends rates. Set correct email address from which you get tariffs.<br />
"File Name":"%.xls"<br />
<br />
<br><br><br />
[[File:M2TIImage58.png]]<br />
<br><br><br />
<br />
Click "Create" to save changes<br />
<br />
At this point the system is ready to receive email from speedflow.<br />
<br />
5. Once email from speedflow is received you will see a new Tariff Job waiting for confirmation in Billing > Tariff Import > Jobs.<br />
<br />
<br><br><br />
[[File:M2TIImage108.png]]<br />
<br><br><br />
<br />
Click "ANALYSIS" to see rates to be imported. By default, the ANALYSIS page does not show new rates. Click "REFINE RESULTS", uncheck "Show Only Rejected" and click REFINE to see all received rates.<br />
<br />
Click "CONFIRM" at the top-right corner of the page to proceed with import of rates.<br />
<br />
<br><br><br />
[[File:M2TIImage89.png]]<br />
<br><br><br />
<br />
In BILLING > Tariffs List, Tariff Import is completed and new Rates are now visible.<br />
<br />
<br><br><br />
[[File:M2TIImage121.png]]<br />
<br><br><br />
<br />
== Step by step example for VoiceTrading Tariff ==<br />
<br />
1. Review VoiceTrading XLSX tariff structure<br />
<br />
<br><br><br />
[[File:M2TIImage95.png]]<br />
<br><br><br />
<br />
<br><br><br />
[[File:M2TIImage83.png]]<br />
<br><br><br />
<br />
We can see that XLSX document consists of two Worksheets: Worksheet 1 (Rates) and Worksheet 2 (Numberplan).<br />
2. Go to BILLING > Tariff Import > Import Rules > Templates to create a new Template<br />
<br />
<br><br><br />
[[File:M2TIImage85.png]]<br />
<br><br><br />
<br />
3. Configure Template for VoiceTrading XLSX structure<br />
<br />
<br><br><br />
[[File:M2TIImage92.png]]<br />
<br><br><br />
<br />
As you can see, there are two tabs in this page: Primary Data and Secondary Data. Do not confuse them with Worksheets, they are not related. Some Providers do not want to exceed a certain limit of rows in XLSX file, so data is placed in two regions on the same row(s). Let’s review screenshot below:<br />
<br />
<br><br><br />
[[File:M2TIImage66.png]]<br />
<br><br><br />
<br />
Green square corresponds to '''Primary Data''', while Blue square corresponds to '''Secondary Data'''. They both contain the same information: Destination name, Prefix and Rate.<br />
<br />
Lets go step by step and configure a Template for '''Primary Data''':<br />
<br />
<br><br><br />
[[File:M2TIImage4.png]]<br />
<br><br><br />
<br />
'''Rate Sheet - 2'''. VoiceTrading XLSX file has two sheets, so set to 2<br />
'''Header Rows - 0'''. VoiceTrading XLSX file has no header rows (data starts at 1st row)<br />
<br />
<br><br><br />
[[File:M2TIImage3.png]]<br />
<br><br><br />
<br />
'''Prefix/Code - B'''. Prefix is in Cell B for Primary Data.<br />
'''Destination/Zone - A'''. Destination is in Cell A for Primary Data.<br />
'''Connection Fee - Empty'''. There is no Connection Fee cell in VoiceTrading XLSX.<br />
<br />
<br><br><br />
[[File:M2TIImage115.png]]<br />
<br><br><br />
<br />
To better understand Effective Date mapping, let’s review both Worksheets again:<br />
<br />
<br><br><br />
[[File:M2TIImage27.png]]<br />
<br><br><br />
<br />
<br><br><br />
[[File:M2TIImage48.png]]<br />
<br><br><br />
<br />
<br><br><br />
[[File:M2TIImage8.png]]<br />
<br><br><br />
<br />
<br />
Effective Date is on Worksheet 1 (Rates) and on Column D. So we select '''1''' and '''D''' on the first and second dropdown accordingly.<br />
<br />
<br><br><br />
[[File:M2TIImage86.png]]<br />
<br><br><br />
<br />
Now we need to map Worksheet 1 (Rates) where Effective Date is defined with Worksheet 2 (Numberplan), where Rates and Prefixes are defined. We can do this by Destination Column, which is A in Worksheet 1 (Rates) and also A on Worksheet 2 (Numberplan). So we select '''A''' on 3rd and 4th Dropdown accordingly.<br />
<br />
<br><br><br />
[[File:M2TIImage39.png]]<br />
<br><br><br />
<br />
Effective Date Format for VoiceTrading is in YYY.MM.DD, so we select accordingly.<br />
<br />
<br><br><br />
[[File:M2TIImage125.png]]<br />
<br><br><br />
<br />
'''Rate - C'''. Prefix is in Cell C for Primary Data.<br />
There are no '''Minimal Time''' and '''Increment''' cells in VoiceTrading XLSX.<br />
<br />
Let’s configure '''Secondary Data''' now:<br />
<br />
<br><br><br />
[[File:M2TIImage24.png]]<br />
<br><br><br />
<br />
'''Rate Sheet''', '''Header Rows''' and '''Effective date''' will be the same as on Primary data.<br />
<br />
<br><br><br />
[[File:M2TIImage25.png]]<br />
<br><br><br />
<br />
'''Prefix/Code - F'''. Prefix is in Cell F for Secondary Data.<br />
'''Destination/Zone - E'''. Destination is in Cell E for Secondary Data.<br />
'''Connection Fee - Empty'''. There is no Connection Fee Cell in VoiceTrading XLSX.<br />
<br />
<br><br><br />
[[File:M2TIImage30.png]]<br />
<br><br><br />
<br />
To better understand Effective Date mapping, let’s review both Worksheets again:<br />
<br />
<br><br><br />
[[File:M2TIImage27.png]]<br />
<br><br><br />
<br />
<br><br><br />
[[File:M2TIImage53.png]]<br />
<br><br><br />
<br />
<br><br><br />
[[File:M2TIImage119.png]]<br />
<br><br><br />
<br />
Effective Date is on Worksheet 1 (Rates) and on Column D. So we select '''1''' and '''D''' on the first and second dropdown accordingly.<br />
<br />
<br><br><br />
[[File:M2TIImage98.png]]<br />
<br><br><br />
<br />
Now we need to map Worksheet 1 (Rates) where Effective Date is defined with Worksheet 2 (Numberplan), where Rates and Prefixes are defined. We can do this by Destination Column, which is A in Worksheet 1 (Rates) and E on Worksheet 2 (Numberplan). So we select '''A''' on 3rd dropdown and '''E''' on 4th dropdown accordingly.<br />
<br />
<br><br><br />
[[File:M2TIImage109.png]]<br />
<br><br><br />
<br />
Once configuration is complete, press CREATE button to create a new Template.<br />
<br />
4. Go to BILLING > Tariff Import > Import Rules > Rate Import Rules to create Rate Import Rules<br />
<br />
<br><br><br />
[[File:M2TIImage91.png]]<br />
<br><br><br />
<br />
5. Configure Rate Import Rules according to your specifications<br />
<br />
<br><br><br />
[[File:M2TIImage2.png]]<br />
<br><br><br />
<br />
In this example we changed these values:<br />
'''Max Increase''': 50%. If rate increase is higher than 50%, such rate will be automatically rejected.<br />
'''Max Decrease''': 50%. If rate increase is higher than 50%, such rate will be automatically rejected.<br />
'''Max Rate''': 1.99. If rate is higher than 1.99, such rate will be automatically rejected.<br />
<br />
6. Go to BILLING > Tariff Import > Import Rules to create Tariff Import Rules<br />
<br />
<br><br><br />
[[File:M2TIImage84.png]]<br />
<br><br><br />
<br />
7. Configure Tariff Import Rules according to your specifications<br />
<br />
<br><br><br />
[[File:M2TIImage99.png]]<br />
<br><br><br />
<br />
The minimum what you should change from default:<br />
'''Rate Import Rules''': set to Import Rules created in step 5.<br />
'''Target Tariff''': set to Tariff you want to import rates to.<br />
'''Import Template''': set to Template created and configured in step 3.<br />
'''Email/Attachment Validation''': set to valid date for your Provider. Data in the screenshot is only an example and does not represent real values for VoiceTrading Provider.<br />
<br />
8. Once email(s) will be received, you will see them in BILLING > Tariff Import > Inbox<br />
If Tariff Import Rules have been correctly entered in the previous step, Import Job will be created automatically.<br />
<br />
<br><br><br />
[[File:M2TIImage13.png]]<br />
<br><br><br />
<br />
9. Click on the Import Job link. This will redirect you to the Tariff Jobs page.<br />
<br />
<br><br><br />
[[File:M2TIImage123.png]]<br />
<br><br><br />
<br />
Here we can see that Tariff Job is waiting for confirmation and that there are 1178 rates to be updated and 0 rejected rates.<br />
<br />
10. Click on ANALYSIS link to view detailed analysis<br />
<br />
<br><br><br />
[[File:M2TIImage74.png]]<br />
<br><br><br />
<br />
By default, Tariff Job Analysis page shows only rejected Rates. There are no rejected rates in this case, so we can press CONFIRM button.<br />
<br />
11. Go to BILLING > Tariff Import > Jobs to check Tariff Jobs status again. We can see that status is '''Imported'''.<br />
<br />
12. Process is completed. Let’s go to Billing > Tariffs to confirm this<br />
<br />
<br><br><br />
[[File:M2TIImage75.png]]<br />
<br><br><br />
<br />
We can see that 1178 rates have been imported to Tariff '''Supplier VoiceTrading'''.</div>Ervinashttps://wiki.kolmisoft.com/index.php?title=Automatic_Tariff_Import&diff=25456Automatic Tariff Import2020-03-30T13:12:56Z<p>Ervinas: </p>
<hr />
<div>__INDEX__ Tariff Import<br />
<br />
= Introduction =<br />
<br />
An important task is the timely management of Provider Tariff Plans. While business practices differ, commonly, each Provider will deliver an initial Spreadsheet file detailing their prices to the range of Destination Codes that they are providing. This initial Spreadsheet will then be followed by update notification spreadsheets. These will be received at regular agreed-upon intervals identifying amendments to the previous prices. The format and content of these notifications is not standardised and differs from one Provider to another. This information is vital from a commercial and financial management point of view. It is important therefore that the rating information received from a Provider is uploaded regularly in order that the System can correctly calculate Provider rating costs for calls. It is also important to analyse Tariff/Rating Plan updates received from partners in order to ensure that any errors in the information are noticed early and resolved before causing Billing disputes.<br />
<br />
To solve this necessity Tariff Import system should be used. Let's start from defining major terms used in this process.<br />
<br />
= Template =<br />
<br />
The Provider Import Template is the primary object that requires configuring so that the Provider Rating Import can occur. The Provider Import Template contains the settings that the System uses to convert the information from the Spreadsheet into the System.<br />
<br />
= Rate Import Rules =<br />
<br />
The Rate Import Rules feature enhances the analysis of the Providers rates by identifying rates that do not meet a specific criterion (for example a rate increase with less than 7 days’ notice) and then potentially either alerting the Administrator or rejecting the rate. One (or more) sets of Rate Import Rules can be defined on the System and assigned to many Tariff Import Rules.<br />
<br />
= Tariff Import Rules =<br />
<br />
Tariff Import Rules assign Rate Import Rules, Notifications and Template to the received Email/Attachment in order to properly convert received Tariff and upload rates to the System.<br />
<br />
= Notifications =<br />
<br />
Notifications will generate an email to the desired recipient when configured for various events. Such as:<br />
* Tariff is received<br />
* Tariff is analysed and waiting for confirmation before Import<br />
* Tariff is imported or rejected<br />
* and others<br />
<br />
= Import Job =<br />
<br />
The Import Job is an auditing object that is created by the import and provides information about what occurred during execution. The Import Job means that, when necessary, it is possible to go back and see what happened on previous imports. For that reason there is a Tariff Jobs table in the Tariff Jobs List window which can be reached by going to Menu -> Billing -> Tariff Import -> Jobs. <br />
<br />
<br><br><br />
[[File:M2TIImage56.png]]<br />
<br><br><br />
[[File:M2TIImage20.png]]<br />
<br><br><br />
<br />
Tariff Jobs table columns:<br />
* Id: Tariff job identification number.<br />
* Created at: Date when job was created.<br />
* Status: The state of import process. Can be: <br />
** Assigned - import process was started. <br />
** Converting - rates are being converted. <br />
** Failed Conversion - there was an error in rates conversion.<br />
** Converted - rates were successfully converted.<br />
** Importing into Temporary Table - rates are being uploaded from attachment to the system. <br />
** Failed to Import into Temporary Table - there was an error in rates uploading process.<br />
** Imported into Temporary Table - rates have been loaded to the system.<br />
** Analyzing - rates are being analysed.<br />
** Failed Analysis - there was an error in analysis. <br />
** Analyzed - analysis process has been completed. <br />
** Rejected - rates did not match requirements and were rejected.<br />
** Waiting for confirmation - import is stopped until it will be confirmed by admin.<br />
** Cancelled - import was cancelled by admin. <br />
** Imported - rates were successfully imported.<br />
* Import Rules - name of the Tariff Import Rule used in import and the link to its edit view. <br />
* Rate Import Rules - name of the Rate Import Rules used in import and the link to its edit view.<br />
* Tariff - Tariff name which is being changed in import and the link to its edit view.<br />
* Attachment - name of the attachment that was used in import.<br />
* Import Type - type of import. Can be:<br />
** Update - rates will be added or updated. <br />
** Full - rates will be replaced.<br />
* Auto:<br />
** ‘Yes’ means that tariff import will be done without any request for confirmation.<br />
** ‘-’ means that confirmation will be needed after the analysis.<br />
* Email:<br />
** ‘Yes’ email about Tariff Job creation has been sent successfully.<br />
** ‘-’ email has not been sent.<br />
* Rate Changes - number of how many rates were changed during analysis.<br />
* Rejected Rates - number of how many rates were rejected during analysis.<br />
* Analysis (only in analysed jobs) - link to analysis details.<br />
* Delete - button to delete one job.<br />
<br />
Note: yellow colored Tariff Jobs rows show that they are waiting for confirmation.<br />
<br />
Automatic Deletion<br />
<br />
Old Tariff Jobs are periodically deleted by the system. The period of deletion can be found and changed in Settings -> Various -> Delete Tariff Jobs older than. Default value is 30 days. It means that Tariff Jobs which were created before 30 days or more will be deleted. <br />
<br />
<br><br><br />
[[File:M2TIImage9.png]]<br />
<br><br><br />
<br />
= Analysis =<br />
<br />
Detailed Analysis can be reached from the Tariff Jobs table by pressing on ANALYSIS link.<br />
<br />
On the top right corner there are buttons: <br />
<br />
<br><br><br />
[[File:M2TIImage101.png]]<br />
<br><br><br />
<br />
* Confirm: results of analysis are confirmed and tariff import will continue to proceed.<br />
<br />
<br><br><br />
[[File:M2TIImage78.png]]<br />
<br><br><br />
<br />
* Canceled: tariff import will be canceled.<br />
<br />
<br><br><br />
[[File:M2TIImage69.png]]<br />
<br><br><br />
<br />
* Refine Results: allows to filter table by selected parameters.<br />
<br />
Parameters:<br />
: Rate Increase, Oldest Effective date, Max Decrease, Duplicate Rate, Date Decrease, Maximum Effective Date, Max Rate, Min Times, New Rate, Max Increase, Zero Rate, Increments - can be filtered by values: All (default), None, Alert, Rejected.<br />
<br />
: Non Importable Reasons - can be filtered by values All (default), None, Any, Could not determine direction code, Rate price invalid, Effective from invalid.<br />
<br />
<br><br><br />
[[File:M2TIImage94.png]]<br />
<br><br><br />
<br />
Tariff Job Analysis table:<br />
<br />
<br><br><br />
[[File:M2TIImage31.png]]<br />
<br><br><br />
<br />
Table columns:<br />
* Prefix: prefix on which the rate will be applied.<br />
* Destination: destination name.<br />
* Rate: rate value.<br />
* Connection fee: [[How the Connection fee works]]<br />
* Increment: [[What is increment]]<br />
* Minimal time: [[What is increment]]<br />
* Effective from: [[Rate Effective From]]<br />
<br />
Tooltip:<br />
If the mouse is on the table, additional import rule information will be presented. <br />
<br />
<br><br><br />
[[File:M2TIImage32.png]]<br />
<br><br><br />
<br />
Row colors:<br />
* If the row is red colored, the rate is not importable. Non Importable Reason can be found by moving mouse over the rate.<br />
* If the row is yellow colored, the rate analysis was successful but there were some warnings. In the tooltip the word ‘alert’ will be next to the parameter which caused the alert.<br />
* If the row is white colored, the rate analysis was successful. <br />
<br />
Analysis execution order:<br />
If analysis is being executed on several jobs which includes the same tariff, these jobs will be resolved consistently and the oldest job will have the highest priority. The next analysis of the job will be started only after the previous one is completed.<br />
<br />
= Workflow schema =<br />
<br />
The workflow can be visualized using the following schema:<br />
<br />
<br><br><br />
[[File:M2TIImage15.png]]<br />
<br><br><br />
<br />
= Understanding and Working with Provider Import Templates =<br />
<br />
A Template is created when a Tariff/Rating Plan first needs importing, and can then be reused every time an update is required.<br />
Templates can also be amended at a later point if the format of the original file is altered. Import Templates are highly flexible and support many Rating Plan formats; they therefore include many options that may not need configuring for the more common simpler Tariffs/Rating Plans.<br />
<br />
The Templates work by mapping the contents of an Excel sheet, and its format, to the information required in the Database.<br />
By configuring this information the data is then uploaded into the System and converted into the correct format.<br />
<br />
This is illustrated in the diagram below:<br />
<br />
<br><br><br />
[[File:M2TIImage64.png]]<br />
<br><br><br />
<br />
Tip Before You Begin:<br />
Import Templates are specific to individual Tariffs/Rating Plans, so when creating a new Import Template for the first time it is important to have easy access to the Tariff/Rating Plan involved.<br />
A good tip for working with this - if you happen to have two monitors on your computer - is to display the Tariff/Rating Plan for which the Template is being constructed on one monitor, and System GUI on the other. Alternatively, if only one monitor is available, open the Tariff/Rating Plan in Excel and use Alt+Tab to switch directly between the applications.<br />
<br />
The next Section is going to describe each of the settings available for configuring an Import Template.<br />
<br />
The screenshot below shows the Template Settings in the default basic view:<br />
<br />
<br><br><br />
[[File:M2TIImage113.png]]<br />
<br><br><br />
<br />
In this view we can see the basic summary of the Template highlighting each of the sections that may be required to import the Tariff/Rating Plan.<br />
<br />
Tip:<br />
Remember that if the Tariff/Rating Plan being imported does not include information relating to a particular section of the Template, then that section can simply be left blank. Many Import Templates will be very simple configuring only four or five settings from the available options.<br />
<br />
Name<br />
: Name of the Template can be set to any, but for better management suggested to be the name of Provider.<br />
<br />
Rate Sheet<br />
: The Rate Sheet field requires to be set to the corresponding Worksheet in Excel that the Rating Plan information is held on. <br />
: This means that Rating Plans that contain multiple sheets can still be imported.<br />
<br />
: Example:<br />
: In provided Tariff/Rating Plan below - Destinations, Prefixes and Rates are stored in the second (“Numberplan”) Worksheet.<br />
: [[File:M2TIImage73.png]]<br />
: Accordingly, Template’s Rate Sheet value must be set to 2.<br />
: [[File:M2TIImage97.png]]<br />
<br><br><br />
<br />
Header Rows<br />
: Header Rows setting requires to be set to inform the System of the rows at the top of the Tariff/Rating Plan that are to be ignored when importing meaningful data. <br />
: If Header Rows are set incorrectly, there is a possibility that Tariff/Rating Plan will not be imported at all or with errors because of wrongly processed data.<br />
<br />
: Example 1:<br />
: Provided Tariff/Rating Plan below meaningful data starts from Row 1.<br />
: [[File:M2TIImage44.png]]<br />
: This means there are no rows to skip/ignore for the Header Rows setting.<br />
: Accordingly, Template’s Header Rows value must be set to 0.<br />
: [[File:M2TIImage124.png]]<br />
<br><br><br />
<br />
: Example 2:<br />
: Provided Tariff/Rating Plan below meaningful data starts from Row 23.<br />
: [[File:M2TIImage40.png]]<br />
: This means there are 22 rows to skip/ignore for the Header Rows setting.<br />
: Accordingly, Template’s Header Rows value must be set to 22.<br />
: [[File:M2TIImage114.png]]<br />
<br><br><br />
<br />
Prefix/Code<br />
: Prefix/Code requires to be set to match the Tariff/Rating Plan Prefix column.<br />
: On some occasions there may be two columns (like Country Code, City Code) which the System is also able to handle if Template settings are correct.<br />
: Sometimes provided multiple Prefixes are displayed in singular cell format like “71-76”, “55,551,552,55257” or “370, 371, 372-376, 3772”, such formats are parsed automatically and does not require additional configuration.<br />
<br />
: Example 1:<br />
: Provided Tariff/Rating Plan below has only one Prefix column which is B.<br />
: [[File:M2TIImage68.png]]<br />
: Accordingly, Template’s Prefix/Code value must be set to B.<br />
: [[File:M2TIImage42.png]]<br />
<br><br><br />
<br />
: Example 2:<br />
: Provided Tariff/Rating Plan below has two Prefix columns which are C and D.<br />
: [[File:M2TIImage67.png]]<br />
: Accordingly, Template’s Prefix/Code values must be set to C and D in exact order.<br />
: [[File:M2TIImage28.png]]<br />
<br><br><br />
<br />
Destination/Zone<br />
: The Zone drop-down list box identifies the Column in the Excel sheet that contains the Zone name.<br />
: If there is only one Column containing this information then only one of the dropdown boxes need to be completed. However if the Zone is in two Columns then both of the drop-down boxes can be completed to identify this. In this scenario the blank fields either side of the second box can be used to format the Zone name.<br />
: Example: A Rate Plan includes the following information:<br />
: [[File:M2TIImage59.png]]<br />
: The Zone import is configured with the Columns A and B and the separator fields with a space “Column B”, as shown:<br />
: [[File:M2TIImage5.png]]<br />
<br><br><br />
: This means that the Zone name will be displayed as: Brazil Mobile<br />
<br />
: Example 1:<br />
: Provided Tariff/Rating Plan below has only one Destination/Zone column which is A.<br />
: [[File:M2TIImage7.png]]<br />
: Accordingly, Template’s Destination/Zone value must be set to A.<br />
: [[File:M2TIImage21.png]]<br />
<br><br><br />
<br />
: Example 2:<br />
: Provided Tariff/Rating Plan below has two Destination/Zone columns which are A and B.<br />
: [[File:M2TIImage34.png]]<br />
: Accordingly, Template’s Destination/Zone values must be set to A and B in exact order.<br />
: [[File:M2TIImage5.png]]<br />
<br><br><br />
<br />
Connection Fee<br />
: While uncommon in wholesale, some Rating Plans being imported may still include a fixed Connection Charge - a one off charge applied when the call is connected.<br />
: If required, the Connection Charge drop-down list box can be used to identify the Column containing such a charge in the Rate Plan being imported.<br />
<br />
Effective Date<br />
: The Effective Date options determine in which Column(s) the Date and Time information for the imported rates can be found. <br />
: Multiple options are provided to support different Spreadsheet formats.<br />
: Some Tariff/Rating Plan Providers split Effective Date data between two Worksheets, whereas in first Worksheet there are Destinations with Effective Date and in second Worksheet - Destination, Prefix, Rate data. Configuration of such cases is provided in Example 3.<br />
<br />
: Example 1:<br />
: Provided Tariff/Rating Plan below has an Effective Date column which is F.<br />
: [[File:M2TIImage29.png]]<br />
: Accordingly, Template’s Effective Date value can be set to F.<br />
: [[File:M2TIImage10.png]]<br />
<br><br><br />
<br />
: Example 2:<br />
: Provided Tariff/Rating Plan below has an Effective Date column which is F and Effective Time which is G.<br />
: [[File:M2TIImage17.png]]<br />
: Accordingly, Template’s Effective Date values can be set to F and G.<br />
: [[File:M2TIImage43.png]]<br />
<br><br><br />
<br />
: Example 3:<br />
: Provided Tariff/Rating Plan below in the first Worksheet shows Destination (Column A) and Effective Date (Column D).<br />
: In the second Worksheet, there are Destination (Column A), Prefix (Column B) and Rate/Price (Column C).<br />
: [[File:M2TIImage112.png]]<br />
: First dropdown configures from which Worksheet takes Effective Date data (which in this example’s case is Worksheet 1 (Rates)).<br />
: Second dropdown configures Effective Date column from secondary Worksheet.<br />
: Third dropdown configures by which secondary Worksheet column do the mapping with primary Worksheet (which in this example’s case is Destination from Worksheet 1 (Rates) Column A).<br />
: Fourth dropdown configures by which primary Worksheet column do the mapping with secondary Worksheet (which in this example’s case is Destination from Worksheet 2 (Numberplan) Column A).<br />
: Accordingly, Template’s Effective Date values can be set to 1, D, A = A.<br />
: [[File:M2TIImage100.png]]<br />
<br><br><br />
<br />
Effective Date Format<br />
: After selecting the Column, the Format field is used to specify the format the information is held in the Rate Plan.<br />
: Some suggested formats already exist in dropdown, which can be selected or used as an example to create a custom one if it is not present in dropdown.<br />
<br />
: Example:<br />
: Provided Tariff/Rating Plan below has an Effective Date column which is F.<br />
: [[File:M2TIImage29.png]]<br />
: Accordingly, Template’s Effective Date Format value can be selected from dropdown with suggested formats.<br />
: [[File:M2TIImage50.png]]<br />
<br><br><br />
<br />
Rate<br />
: Rate requires to be set to match the Tariff/Rating Plan Rate/Price column.<br />
<br />
: Example:<br />
: Provided Tariff/Rating Plan below has a Price column which is E.<br />
: [[File:M2TIImage60.png]]<br />
: Accordingly, Template’s Rate value must be set to E.<br />
: [[File:M2TIImage51.png]]<br />
<br><br><br />
<br />
Minimal Time<br />
: Minimal Time can be set to match Tariff/Rating Plan Minimal Time column.<br />
<br />
: Example 1:<br />
: Provided Tariff/Rating Plan below has a Minimal Time column which is E.<br />
: [[File:M2TIImage46.png]]<br />
: Accordingly, Template’s Minimal Time value can be set to E.<br />
: [[File:M2TIImage52.png]]<br />
<br><br><br />
<br />
: Example 2:<br />
: Provided Tariff/Rating Plan below has a Minimal Time column which is D and in the first place of “x/y/z/” fields.<br />
: [[File:M2TIImage49.png]]<br />
: Accordingly, Template’s Minimal Time value can be set to D and field 1.<br />
: [[File:M2TIImage26.png]]<br />
<br><br><br />
<br />
Increment<br />
: Increment can be set to match Tariff/Rating Plan Increment column.<br />
<br />
: Example 1:<br />
: Provided Tariff/Rating Plan below has an Increment column which is F.<br />
: [[File:M2TIImage63.png]]<br />
: Accordingly, Template’s Increment value can be set to F.<br />
: [[File:M2TIImage11.png]]<br />
<br><br><br />
<br />
: Example 2:<br />
: Provided Tariff/Rating Plan below has an Increment column which is D and in the second place of “x/y/z/” fields.<br />
: [[File:M2TIImage49.png]]<br />
: Accordingly, Template’s Increment value can be set to D and field 2.<br />
: [[File:M2TIImage103.png]]<br />
<br><br><br />
<br />
Exceptions<br />
: Exceptions allow additional data manipulation, when specific rules are defined separately in the provided Tariff/Rating Plan.<br />
<br />
: Example 1:<br />
: [[File:M2TIImage41.png]]<br />
: [[File:M2TIImage6.png]]<br />
<br><br><br />
<br />
: Example 2:<br />
: [[File:M2TIImage16.png]]<br />
: [[File:M2TIImage19.png]]<br />
<br><br><br />
<br />
= Creating and Configuring Rate Import Rules =<br />
<br />
Rate Import Rules are relevant to the importing of Provider Rates, and specify actions to be taken if the rule is broken.<br />
<br />
The actions available are:<br />
* None (ignore this rule)<br />
* Alert (notify the Administrator)<br />
* Reject Rate (automatically reject the rate which breaches this rule)<br />
<br />
Example:<br />
The first Rate Import Rule is the rate increase rule. The variable for this rule is a number of days, 7 days by default.<br />
What this means is that when a Provider Tariff/Rating Plan is uploaded and a rate increase is detected with an Effective Date less than 7 days into the future the action that has been configured will be triggered. The rate could be automatically rejected, or an alert about this rating entry was raised.<br />
<br />
<br><br><br />
[[File:M2TIImage70.png]]<br />
<br><br><br />
<br />
Available Rate Import Rules with explanation to each one of them:<br />
<br />
<br><br><br />
[[File:M2TIImage93.png]]<br />
<br><br><br />
<br />
Rate Increase<br />
: If updating existing Rate, whose Rate (Price) increases and takes into effect earlier (by days compared to importing effective from) than set in Rule, then according action will be taken.<br />
: Value can be set to any integer between 0 and 30 which represents day(s).<br />
<br />
Rate Decrease<br />
: If updating existing Rate, whose Rate (Price) decreased and takes into effect earlier (by days compared to importing effective from) than set in Rule, then according action will be taken.<br />
: Value can be set to any integer between 0 and 30 which represents day(s).<br />
<br />
New Rate<br />
: If creating a new non-existing Rate, which takes into effect earlier (by days compared to importing effective from) than set in Rule, then according action will be taken.<br />
: Value can be set to any integer between 0 and 30 which represents day(s).<br />
<br />
Oldest Effective Date<br />
: If updating existing or creating a new Rate, whose new Effective Date is earlier (by days) than set in Rule, then according action will be taken.<br />
: Value can be set to any integer between 0 and 365 which represents day(s).<br />
<br />
Maximum Effective Date<br />
: If updating existing or creating a new Rate, whose new Effective Date is later (by days) than set in Rule, then according action will be taken.<br />
: Value can be set to any integer between 0 and 365 which represents day(s).<br />
<br />
Max Increase<br />
: If updating existing Rate, whose Rate (Price) increased more by percentages than set in Rule, then according action will be taken.<br />
: Value can be set to any decimal between 0 and 500 which represents Rate’s (Price’s) percentages.<br />
<br />
Max Decrease<br />
: If updating existing Rate, whose Rate (Price) decreased more by percentages than set in Rule, then according action will be taken.<br />
: Value can be set to any decimal between 0 and 100 which represents Rate’s (Price’s) percentages.<br />
<br />
Max Rate<br />
: If updating existing or creating a new Rate, whose Rate (Price) is higher than set in Rule, then according action will be taken.<br />
: Value can be set to any decimal between 0 and 100 which represents Rate’s (Price’s) value.<br />
<br />
Zero Rate<br />
: If updating existing or creating a new Rate, whose Rate (Price) is zero, then according action will be taken.<br />
<br />
Min Times Not Equal<br />
: If updating existing or creating a new Rate, whose new Min Time value does not match any from set Rule, then according action will be taken.<br />
: Acceptable value format is: “x,y,z,w”<br />
:: Where x, y, z and w must be integer values between 0 and 7200.<br />
:: Must be separated by comma (,).<br />
:: Must not have any spaces.<br />
:: Must not have leading zeros, unless it is only a zero.<br />
: Examples:<br />
:: 0,100,60,7200<br />
:: 0,1,60<br />
:: 1,60<br />
:: 1<br />
<br />
Increment Not Equal<br />
: If updating existing or creating a new Rate, whose new Increment value does not match any from set Rule, then according action will be taken.<br />
: If updating existing or creating a new Rate, whose new Min Time value does not match any from set Rule, then according action will be taken.<br />
: Acceptable value format is: “x,y,z,w”<br />
:: Where x, y, z and w must be integer values between 0 and 7200.<br />
:: Must be separated by comma (,).<br />
:: Must not have any spaces.<br />
:: Must not have leading zeros, unless it is only a zero.<br />
: Examples:<br />
:: 0,100,60,7200<br />
:: 0,1,60<br />
:: 1,60<br />
:: 1<br />
<br />
= Tariff Import Rules =<br />
<br />
<br><br><br />
[[File:M2TIImage118.png]]<br />
<br><br><br />
<br />
The main Tariff Import Rules page shows all the Tariff Import specific rules in the system. Here you can add new rules by clicking the button at the upper-right corner. Also, you can Edit/Delete selected Rules with the relevant buttons. The first column '''ACTIVE?''' allows to activate or deactivate a specific Rule by clicking the YES/NO buttons. If you would like to change the order of the Rules, Drag&Drop functionality is available.<br />
<br />
Follow the steps below to create Tariff Import Rules:<br />
<br />
By clicking the '''ADD NEW TARIFF IMPORT RULES''' button, you are presented with the following settings screen:<br />
<br />
<br><br><br />
[[File:M2TIImage65.png]]<br />
<br><br><br />
<br />
* '''Name''' - Name of the Rules<br />
* '''Rate Import Rules''' - Select the Rate Import Rules you would like to use<br />
* '''Target Tariff''' - The Tariff for which the changes will be applied<br />
* '''Import Type''' - you can choose between 2 options: Add/Update and Replace All Rates<br />
** '''Add/Update''' - new rates will be added from file and existing ones will be updated<br />
** '''Replace All Rates''' - existing rates will be deleted and new ones imported from file<br />
* '''Import Template''' - Template to be used<br />
* '''Effective Date''' - Effective Date value to be used with Rates<br />
** '''Template''' - Inline - Use Effective Date from File set by Template setting (see: Template)<br />
** '''Subject''' - Use Effective Date from Email Subject<br />
** '''File Name''' - Use Effective Date from File (Attachment) Name<br />
* '''Manual Review''' - Import automatically or wait for manual confirmation<br />
* '''Reject Import if errors found''' - Tariff Import will be rejected if at least one error will be found * '''after analyzing<br />
* '''Stop processing more Rules''' - Matching with Email Details and Active Tariff Import Rules will be in specific order (from Tariff Import Rules List, from top to bottom). Email assigning will be stopped on this Rule if this option is enabled<br />
* '''Default Effective From''' - Effective From value in Rates, when invalid value supplied from file<br />
* '''Default Connection Fee''' - Set Connection Fee for Rates if it is not present or invalid in Import File<br />
* '''Default Increment''' - Set Increment for Rates if it is not present or invalid in Import File<br />
* '''Default Minimal Time''' - Set Minimal Time for Rates if it is not present or invalid in Import File<br />
<br />
== Email/Attachment Validation ==<br />
<br />
Email/Attachment Validation section is used for specifying which emails where will be used by Tariff Import Rules. There are five fields. First four are for email and fifth is for attachment.<br />
<br />
<br><br><br />
[[File:M2TIImage104.png]]<br />
<br><br><br />
<br />
* '''Mail From''' - Email Address(es). Multiple emails can be separated by ;.<br />
* '''Sender Name''' - Senders name.<br />
* '''Mail subject''' - Emails subject.<br />
* '''Mail text''' - Emails text.<br />
* '''File Name''' - Attachments file name.<br />
<br />
Wildcard % is allowed, which substitutes any character with any length. Example is shown in the image below<br />
<br><br><br />
[[File:M2TIImage110.png]]<br />
<br><br><br />
<br />
# Mail From has two values %@gmail.com and john@%.%.<br />
## %@gmail.com specifies it is any gmail email address.<br />
## john@%.% specifies it is john from any email client.<br />
# Sender Name J% any value That starts with uppercase J<br />
# Mail Subject %Rates Subject ends with word Rates<br />
# Mail Text Hello Mail Text Starts with word Hello<br />
# File Name %.csv filename ends with .csv<br />
<br />
== Notifications ==<br />
<br />
Email Notifications are used to generate email notifications to an internal or external list of recipients.<br />
<br />
<br><br><br />
[[File:M2TIImage106.png]]<br />
<br><br><br />
<br />
Follow the steps below to create and configure a notification Template.<br />
# Create Email Template. Manual how to create Email Templates can be found here: [[M2 Emails]]. Additional Email variables: tariff_job_id, tariff_job_analysis_url.<br />
# Select created Email Template from Email Template dropdown. Subject field will fill in automatically. <br> [[File:M2TIImage112.png]] <br />
# Enter Email Address(es) in the Recipients field. Multiple Email Addresses must be separated by ;. <br> [[File:M2TIImage116.png]] <br />
# Repeat the same process for desired Import Triggers. <br> [[File:M2TIImage36.png]] <br />
<br />
= Inbox =<br />
<br />
The Inbox is a type of email inbox available within the System that allows the Rating.<br />
Administrator to view and manage Provider Tariffs/Rate Notifications that have been sent to the System's Email Address.<br />
<br />
Caution:<br />
The Inbox functions in a similar way to the email inbox of your desktop or web based email client, with emails sent to the platform’s email address being displayed and stored in the inbox. The inbox also includes additional functionality to support Providers Rate Import procedures and processes.<br />
However, it is important to understand that the Rate Inbox is designed to manage received emails and not to be a “full email client”. This means that it is not possible to Reply To or Forward emails that are received into the Rate Inbox.<br />
<br />
Inbox Interface:<br />
<br />
<br><br><br />
[[File:M2TIImage82.png]]<br />
<br><br><br />
<br />
The Inbox consists of 3 views: Inbox, Completed and Junk.<br />
<br />
'''Inbox''' - is the primary working inbox. It is this view that will show emails that have been received that have an associated task that requires carrying out.<br />
That task might be to review and commit an update, assign Tariff Import settings, or a number of other actions.<br />
Emails will remain visible in the Action Required view until the associated rate update is committed, or they are manually completed or deleted.<br />
<br />
'''Completed''' - Fully processed emails are shown in the completed tab. Fully processed means that all of the emails attachments had been assigned to at least one of Tariff Import Rules and Tariff Job which is completed.<br />
<br />
'''Junk''' - Emails that are deleted from Junk will be removed permanently, not displayed in the deleted view.<br />
<br />
Tariff Inbox basics<br />
<br />
<br><br><br />
[[File:M2TIImage55.png]]<br />
<br><br><br />
<br />
# Email column - Sender name, email address and subject<br />
# Email details button - toggles email details<br />
# Attachments list<br />
# Attachments file type list<br />
# Import jobs associated with attachments<br />
# Import jobs button - toggles import jobs(if there are more than one tariff import job)<br />
# Attachment mapping status<br />
# Processing note<br />
# Inbox view tab<br />
# Completed view tab<br />
# Junk view tab<br />
# Select all emails check box<br />
# Select single email check box<br />
# Delete Selected emails<br />
# Refine Results - shows fields to filter emails<br />
<br />
== Email Details ==<br />
<br />
Email details are toggled by pressing the arrow button in the Email column. There are four sections: Email Details, Message, Attachments and function buttons.<br />
* Email Details section shows detailed email information such as ID, Received, From, Sender, Subject, To, Reply to and CC.<br />
* Message section contains emails message.<br />
* Attachments section shows attachments associated with email.<br />
* Last Section represents three function buttons.<br />
<br />
<br><br><br />
[[File:M2TIImage47.png]]<br />
<br><br><br />
<br />
== Filter Emails ==<br />
<br />
Email filtering is done by pressing the Refine Results button in the top right corner of Tariff Inbox.<br />
<br />
<br><br><br />
[[File:M2TIImage37.png]]<br />
<br><br><br />
<br />
There are four fields:<br />
* Period - period between emails were received.<br />
* From - email or sender name.<br />
* Subject - emails subject.<br />
* Message - emails message.<br />
<br />
<br><br><br />
[[File:M2TIImage71.png]]<br />
<br><br><br />
<br />
Press refine button to see results.<br />
<br />
<br><br><br />
[[File:M2TIImage120.png]]<br />
<br><br><br />
<br />
Press clear to clear fields.<br />
<br />
<br><br><br />
[[File:M2TIImage107.png]]<br />
<br><br><br />
<br />
== Delete Emails ==<br />
<br />
To delete emails, select emails by clicking their checkboxes.<br />
<br />
<br><br><br />
[[File:M2TIImage38.png]]<br />
<br><br><br />
<br />
Then press Delete Selected button on top right side of Tariff Inbox<br />
<br />
<br><br><br />
[[File:M2TIImage96.png]]<br />
<br><br><br />
<br />
After that, selected emails will be in junk view. To delete permanently, repeat the process in Junk view.<br />
<br />
To select all emails, click on the top checkbox near the Email column heading.<br />
<br />
<br><br><br />
[[File:M2TIImage88.png]]<br />
<br><br><br />
<br />
Also, email can be deleted by toggling Email Details and pressing Delete button<br />
<br />
<br><br><br />
[[File:M2TIImage72.png]]<br />
<br><br><br />
<br />
== Manually assign Tariff Import Settings ==<br />
<br />
It is possible to manually Assign Tariff Import Settings.<br />
# Toggle Email Details<br />
# Select Tariff Import Rules for specific attachment<br />
# Press Assign Import settings<br />
<br />
<br><br><br />
[[File:M2TIImage57.png]]<br />
<br><br><br />
<br />
== Retry Rules mapping ==<br />
<br />
If email with multiple attachments has attachments with no import rules it is possible to retry rules mapping. It's simple, press Retry Rules mapping.<br />
<br />
<br><br><br />
[[File:M2TIImage33.png]]<br />
<br><br><br />
<br />
Note: It’s not possible to Retry Rules mapping if all email attachments will have at least one import rule assigned to it.<br />
<br />
== Attachment mapping status ==<br />
<br />
Attachment mapping status(Status column in Emails list) indicates if Tariff Import Rules mapping was successful or not.<br />
<br />
<br><br><br />
[[File:M2TIImage90.png]]<br />
<br><br><br />
<br />
'''Import Rules Found''' - attachment was mapped successfully with at least one of the Tariff Import Rules.<br />
'''Import Rules Not Found''' - attachment was not mapped to any of the Tariff Import Rules or there were no Tariff Import Rules to map.<br />
'''Invalid Effective Date/Format for Tariff Import Rules''' - Invalid attachment date or it’s format compared to Tariff Import Rules settings. Numbers after status text represent Tariff Import Rules IDs.<br />
<br />
== Email Example ==<br />
<br />
Email can have one or multiple attachments. Every attachment will be processed individually. Attachment can have one or multiple Import Jobs which are dependent on the number of mapped Tariff Import Rules.<br />
<br />
<br><br><br />
[[File:M2TIImage61.png]]<br />
<br><br><br />
<br />
If there are multiple Tariff Jobs they will be shown as a toggle list. To toggle the list, simply press the arrow button next to Jobs list caption.<br />
<br />
<br><br><br />
[[File:M2TIImage87.png]]<br />
<br><br><br />
<br />
To see Job details click on any Import Job. Page will be redirected to the Tariff Jobs list.<br />
<br />
<br><br><br />
[[File:M2TIImage62.png]]<br />
<br><br><br />
<br />
= Examples =<br />
<br />
== Rate upload from TATA ==<br />
<br />
1. Analyze the tariff:<br />
<br><br><br />
[[File:M2TIImage105.png]]<br />
<br><br><br />
<br />
2. Create template for a tariff in BILLING → Tariff import → Import Rules → Templates<br />
<br><br><br />
[[File:M2TIImage81.png]]<br />
<br><br><br />
<br />
3. Select appropriate fields according to the tariff cells:<br />
<br><br><br />
[[File:M2TIImage22.png]]<br />
<br><br><br />
<br />
4. Create Rate Import Rules in BILLING → Tariff import → Import Rules → Rate Import Rules<br />
<br><br><br />
[[File:M2TIImage54.png]]<br />
<br><br><br />
<br />
5. Fill cells according your needs:<br />
<br><br><br />
[[File:M2TIImage80.png]]<br />
<br><br><br />
<br />
6. Create Tariff Import Rules in BILLING → Tariff import → Import Rules<br />
<br><br><br />
[[File:M2TIImage14.png]]<br />
<br><br><br />
<br />
7. Fill required cells:<br />
<br><br><br />
[[File:M2TIImage111.png]]<br />
<br><br><br />
<br />
8. Check the Inbox for a new email at Billing → Tariff Import → Inbox<br />
<br />
9. Enter the mail, select Tariff Import Rules and press Assign Import Settings to continue the import:<br />
<br><br><br />
[[File:M2TIImage18.png]]<br />
<br><br><br />
<br />
10. Tariff job is created now, you can see it in BILLING → Tariff Import → Jobs<br />
<br><br><br />
[[File:M2TIImage102.png]]<br />
<br><br><br />
<br />
11. Job is now waiting for confirmation. You can view analysis before confirming:<br />
<br><br><br />
[[File:M2TIImage45.png]]<br />
<br><br><br />
<br />
12. Point to the line you want to analyze to see more information:<br />
<br><br><br />
[[File:M2TIImage35.png]]<br />
<br><br><br />
<br />
13. If you are satisfied, press confirm to finish the import procedure, otherwise cancel it.<br />
<br><br><br />
[[File:M2TIImage1.png]]<br />
<br><br><br />
<br />
14. If you pressed confirm, you will see that job was successfully confirmed:<br />
<br><br><br />
[[File:M2TIImage77.png]]<br />
<br><br><br />
<br />
15. Go back to Jobs page in BILLING → Tariff Import → Jobs to see status of the Job:<br />
<br><br><br />
[[File:M2TIImage79.png]]<br />
<br><br><br />
<br />
16. Tariff import is finished. As a target tariff in this example was “SUPPLIER PREMIUM”, you can verify rates checking page BILLING → Tariffs.<br />
<br><br><br />
[[File:M2TIImage12.png]]<br />
<br><br><br />
<br />
== Speedflow Tariff Import configuration ==<br />
<br />
<br><br><br />
[[File:M2TIImage117.png]]<br />
<br><br><br />
<br />
1. Create import template.<br />
Go to BILLING > Tariff Import > Import Rules > Templates.<br />
Click "ADD NEW TEMPLATE" at the top-right corner of the page.<br />
<br />
Set "Name" to "speedflow". It can be any name, but "speedflow" will represent for which Provider tariffs this template is used.<br />
Set "Rate Sheet" to "1", as this tariff files contains only one worksheet.<br />
Set "Header Rows" to "22", as this tariff have 4 rows before actual rates data begins.<br />
Set "Refix/Code" to column "A";<br />
Set "Destination/Zone" to column "B";<br />
Set "Effective Date" to column "E";<br />
Set "Effective Date Format" to "%d.%m.%y";<br />
Set "Rate" to column "C";<br />
Set "Minimal Time" to column "E" and value "1";<br />
Set "Increment" to column "E" and value "2";<br />
<br />
<br><br><br />
[[File:M2TIImage76.png]]<br />
<br><br><br />
<br />
Click "Create" to save changes.<br />
<br />
2. Create Rate Import Rules<br />
Go to BILLING > Tariff Import > Import Rules > Rate Import Rules<br />
Click "ADD NEW RATE IMPORT RULES" at the top-right corner of the page.<br />
<br />
This example shows how to create Rate Import Rule which will inform admin about new rates above 1.0 in price and will reject rates where price is equal to 0.<br />
<br />
Set "Name" to "speedflow";<br />
Set "Max Rate" to value "1.0" and action "Alert";<br />
Set "Zero Rate" to action "Reject Rate".<br />
<br />
<br><br><br />
[[File:M2TIImage23.png]]<br />
<br><br><br />
<br />
Click "Create" to save changes.<br />
<br />
3. Create Tariff Import Rules<br />
Go to BILLING > Tariff Import > Import Rules<br />
Click "ADD NEW TARIFF IMPORT RULES" at the top-right corner of the page.<br />
<br />
Set fields like this:<br />
"Name":"speedflow";<br />
"Rate Import Rules":"speedflow";<br />
"Target Tariff":"speedflow (EUR)". This is tariff assigned to speedflow Termination Point;<br />
"Import Type":"Add/Update";<br />
"Import Template":"speedflow";<br />
"Effective Date":"Template - Inline"<br />
"Mail From":"rates@speedflow.com". This is not actual email from which speedflow sends rates. Set correct email address from which you get tariffs.<br />
"File Name":"%.xls"<br />
<br />
<br><br><br />
[[File:M2TIImage58.png]]<br />
<br><br><br />
<br />
Click "Create" to save changes<br />
<br />
At this point the system is ready to receive email from speedflow.<br />
<br />
5. Once email from speedflow is received you will see a new Tariff Job waiting for confirmation in Billing > Tariff Import > Jobs.<br />
<br />
<br><br><br />
[[File:M2TIImage108.png]]<br />
<br><br><br />
<br />
Click "ANALYSIS" to see rates to be imported. By default, the ANALYSIS page does not show new rates. Click "REFINE RESULTS", uncheck "Show Only Rejected" and click REFINE to see all received rates.<br />
<br />
Click "CONFIRM" at the top-right corner of the page to proceed with import of rates.<br />
<br />
<br><br><br />
[[File:M2TIImage89.png]]<br />
<br><br><br />
<br />
In BILLING > Tariffs List, Tariff Import is completed and new Rates are now visible.<br />
<br />
<br><br><br />
[[File:M2TIImage121.png]]<br />
<br><br><br />
<br />
== Step by step example for VoiceTrading Tariff ==<br />
<br />
1. Review VoiceTrading XLSX tariff structure<br />
<br />
<br><br><br />
[[File:M2TIImage95.png]]<br />
<br><br><br />
<br />
<br><br><br />
[[File:M2TIImage83.png]]<br />
<br><br><br />
<br />
We can see that XLSX document consists of two Worksheets: Worksheet 1 (Rates) and Worksheet 2 (Numberplan).<br />
2. Go to BILLING > Tariff Import > Import Rules > Templates to create a new Template<br />
<br />
<br><br><br />
[[File:M2TIImage85.png]]<br />
<br><br><br />
<br />
3. Configure Template for VoiceTrading XLSX structure<br />
<br />
<br><br><br />
[[File:M2TIImage92.png]]<br />
<br><br><br />
<br />
As you can see, there are two tabs in this page: Primary Data and Secondary Data. Do not confuse them with Worksheets, they are not related. Some Providers do not want to exceed a certain limit of rows in XLSX file, so data is placed in two regions on the same row(s). Let’s review screenshot below:<br />
<br />
<br><br><br />
[[File:M2TIImage66.png]]<br />
<br><br><br />
<br />
Green square corresponds to '''Primary Data''', while Blue square corresponds to '''Secondary Data'''. They both contain the same information: Destination name, Prefix and Rate.<br />
<br />
Lets go step by step and configure a Template for '''Primary Data''':<br />
<br />
<br><br><br />
[[File:M2TIImage4.png]]<br />
<br><br><br />
<br />
'''Rate Sheet - 2'''. VoiceTrading XLSX file has two sheets, so set to 2<br />
'''Header Rows - 0'''. VoiceTrading XLSX file has no header rows (data starts at 1st row)<br />
<br />
<br><br><br />
[[File:M2TIImage3.png]]<br />
<br><br><br />
<br />
'''Prefix/Code - B'''. Prefix is in Cell B for Primary Data.<br />
'''Destination/Zone - A'''. Destination is in Cell A for Primary Data.<br />
'''Connection Fee - Empty'''. There is no Connection Fee cell in VoiceTrading XLSX.<br />
<br />
<br><br><br />
[[File:M2TIImage115.png]]<br />
<br><br><br />
<br />
To better understand Effective Date mapping, let’s review both Worksheets again:<br />
<br />
<br><br><br />
[[File:M2TIImage27.png]]<br />
<br><br><br />
<br />
<br><br><br />
[[File:M2TIImage48.png]]<br />
<br><br><br />
<br />
<br><br><br />
[[File:M2TIImage8.png]]<br />
<br><br><br />
<br />
<br />
Effective Date is on Worksheet 1 (Rates) and on Column D. So we select '''1''' and '''D''' on the first and second dropdown accordingly.<br />
<br />
<br><br><br />
[[File:M2TIImage86.png]]<br />
<br><br><br />
<br />
Now we need to map Worksheet 1 (Rates) where Effective Date is defined with Worksheet 2 (Numberplan), where Rates and Prefixes are defined. We can do this by Destination Column, which is A in Worksheet 1 (Rates) and also A on Worksheet 2 (Numberplan). So we select '''A''' on 3rd and 4th Dropdown accordingly.<br />
<br />
<br><br><br />
[[File:M2TIImage39.png]]<br />
<br><br><br />
<br />
Effective Date Format for VoiceTrading is in YYY.MM.DD, so we select accordingly.<br />
<br />
<br><br><br />
[[File:M2TIImage125.png]]<br />
<br><br><br />
<br />
'''Rate - C'''. Prefix is in Cell C for Primary Data.<br />
There are no '''Minimal Time''' and '''Increment''' cells in VoiceTrading XLSX.<br />
<br />
Let’s configure '''Secondary Data''' now:<br />
<br />
<br><br><br />
[[File:M2TIImage24.png]]<br />
<br><br><br />
<br />
'''Rate Sheet''', '''Header Rows''' and '''Effective date''' will be the same as on Primary data.<br />
<br />
<br><br><br />
[[File:M2TIImage25.png]]<br />
<br><br><br />
<br />
'''Prefix/Code - F'''. Prefix is in Cell F for Secondary Data.<br />
'''Destination/Zone - E'''. Destination is in Cell E for Secondary Data.<br />
'''Connection Fee - Empty'''. There is no Connection Fee Cell in VoiceTrading XLSX.<br />
<br />
<br><br><br />
[[File:M2TIImage30.png]]<br />
<br><br><br />
<br />
To better understand Effective Date mapping, let’s review both Worksheets again:<br />
<br />
<br><br><br />
[[File:M2TIImage27.png]]<br />
<br><br><br />
<br />
<br><br><br />
[[File:M2TIImage53.png]]<br />
<br><br><br />
<br />
<br><br><br />
[[File:M2TIImage119.png]]<br />
<br><br><br />
<br />
Effective Date is on Worksheet 1 (Rates) and on Column D. So we select '''1''' and '''D''' on the first and second dropdown accordingly.<br />
<br />
<br><br><br />
[[File:M2TIImage98.png]]<br />
<br><br><br />
<br />
Now we need to map Worksheet 1 (Rates) where Effective Date is defined with Worksheet 2 (Numberplan), where Rates and Prefixes are defined. We can do this by Destination Column, which is A in Worksheet 1 (Rates) and E on Worksheet 2 (Numberplan). So we select '''A''' on 3rd dropdown and '''E''' on 4th dropdown accordingly.<br />
<br />
<br><br><br />
[[File:M2TIImage109.png]]<br />
<br><br><br />
<br />
Once configuration is complete, press CREATE button to create a new Template.<br />
<br />
4. Go to BILLING > Tariff Import > Import Rules > Rate Import Rules to create Rate Import Rules<br />
<br />
<br><br><br />
[[File:M2TIImage91.png]]<br />
<br><br><br />
<br />
5. Configure Rate Import Rules according to your specifications<br />
<br />
<br><br><br />
[[File:M2TIImage2.png]]<br />
<br><br><br />
<br />
In this example we changed these values:<br />
'''Max Increase''': 50%. If rate increase is higher than 50%, such rate will be automatically rejected.<br />
'''Max Decrease''': 50%. If rate increase is higher than 50%, such rate will be automatically rejected.<br />
'''Max Rate''': 1.99. If rate is higher than 1.99, such rate will be automatically rejected.<br />
<br />
6. Go to BILLING > Tariff Import > Import Rules to create Tariff Import Rules<br />
<br />
<br><br><br />
[[File:M2TIImage84.png]]<br />
<br><br><br />
<br />
7. Configure Tariff Import Rules according to your specifications<br />
<br />
<br><br><br />
[[File:M2TIImage99.png]]<br />
<br><br><br />
<br />
The minimum what you should change from default:<br />
'''Rate Import Rules''': set to Import Rules created in step 5.<br />
'''Target Tariff''': set to Tariff you want to import rates to.<br />
'''Import Template''': set to Template created and configured in step 3.<br />
'''Email/Attachment Validation''': set to valid date for your Provider. Data in the screenshot is only an example and does not represent real values for VoiceTrading Provider.<br />
<br />
8. Once email(s) will be received, you will see them in BILLING > Tariff Import > Inbox<br />
If Tariff Import Rules have been correctly entered in the previous step, Import Job will be created automatically.<br />
<br />
<br><br><br />
[[File:M2TIImage13.png]]<br />
<br><br><br />
<br />
9. Click on the Import Job link. This will redirect you to the Tariff Jobs page.<br />
<br />
<br><br><br />
[[File:M2TIImage123.png]]<br />
<br><br><br />
<br />
Here we can see that Tariff Job is waiting for confirmation and that there are 1178 rates to be updated and 0 rejected rates.<br />
<br />
10. Click on ANALYSIS link to view detailed analysis<br />
<br />
<br><br><br />
[[File:M2TIImage74.png]]<br />
<br><br><br />
<br />
By default, Tariff Job Analysis page shows only rejected Rates. There are no rejected rates in this case, so we can press CONFIRM button.<br />
<br />
11. Go to BILLING > Tariff Import > Jobs to check Tariff Jobs status again. We can see that status is '''Imported'''.<br />
<br />
12. Process is completed. Let’s go to Billing > Tariffs to confirm this<br />
<br />
<br><br><br />
[[File:M2TIImage75.png]]<br />
<br><br><br />
<br />
We can see that 1178 rates have been imported to Tariff '''Supplier VoiceTrading'''.</div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:M2TIImage94.png&diff=25455File:M2TIImage94.png2020-03-30T13:09:27Z<p>Ervinas: uploaded a new version of "File:M2TIImage94.png"</p>
<hr />
<div></div>Ervinashttps://wiki.kolmisoft.com/index.php?title=File:M2TIImage89.png&diff=25454File:M2TIImage89.png2020-03-30T13:04:48Z<p>Ervinas: uploaded a new version of "File:M2TIImage89.png":&#32;Reverted to version as of 13:03, 30 March 2020</p>
<hr />
<div></div>Ervinas