Compare commits

...

1 Commits

Author SHA1 Message Date
Vincent Dumas
3711e8a5a1 N°9666 & N°9658 - Localize sample data (User and Delivery Model) (#999) 2026-08-13 10:57:33 +02:00
11 changed files with 187 additions and 3 deletions

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<Set>
<lnkContactToContract alias="lnkContactToContract" id="2">
<contract_id>1</contract_id>
<contact_id>5</contact_id>
</lnkContactToContract>
<lnkContactToContract alias="lnkContactToContract" id="3">
<contract_id>3</contract_id>
<contact_id>45</contact_id>
</lnkContactToContract>
<lnkContactToContract alias="lnkContactToContract" id="4">
<contract_id>3</contract_id>
<contact_id>4</contact_id>
</lnkContactToContract>
<lnkContactToContract alias="lnkContactToContract" id="1">
<contract_id>1</contract_id>
<contact_id>4</contact_id>
</lnkContactToContract>
</Set>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<Set>
<DeliveryModel alias="DeliveryModel" id="2">
<name>Support externe</name>
<org_id>2</org_id>
<description>Ce modèle de support s'applique aux clients externes. Il permet d'affecter les tickets aux équipes &quot;Helpdesk&quot;, &quot;Network Support&quot; et &quot;Systems and application support&quot;</description>
</DeliveryModel>
<DeliveryModel alias="DeliveryModel" id="1">
<name>Support interne</name>
<org_id>2</org_id>
<description>Ce modèle de support s'applique aux clients internes. Il permet d'affecter les tickets aux équipes &quot;Helpdesk&quot;, &quot;Network Support&quot;, &quot;Hardware Support&quot; et &quot;Systems and application support&quot;</description>
</DeliveryModel>
</Set>

View File

@@ -32,12 +32,13 @@ SetupWebPage::AddModule(
'data/data.sample.services.en_us.xml',
'data/data.sample.serviceelements.en_us.xml',
'data/data.sample.contactservice.xml',
'data/data.sample.contactcontract.xml',
'data/data.sample.sla.en_us.xml',
'data/data.sample.slt.en_us.xml',
'data/data.sample.sltsla.xml',
'data/data.sample.customercontractsservice.xml',
// 'data/data.sample.providercontractservice.xml', => Not available in this installation mode
'data/data.sample.deliverymodel.xml',
'data/data.sample.deliverymodel.en_us.xml',
'data/data.sample.deliverymodelcontact.xml',
'data/data.sample.organizations.xml',
],

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<Set>
<lnkContactToContract alias="lnkContactToContract" id="2">
<contract_id>1</contract_id>
<contact_id>5</contact_id>
</lnkContactToContract>
<lnkContactToContract alias="lnkContactToContract" id="3">
<contract_id>3</contract_id>
<contact_id>45</contact_id>
</lnkContactToContract>
<lnkContactToContract alias="lnkContactToContract" id="4">
<contract_id>3</contract_id>
<contact_id>4</contact_id>
</lnkContactToContract>
<lnkContactToContract alias="lnkContactToContract" id="1">
<contract_id>1</contract_id>
<contact_id>4</contact_id>
</lnkContactToContract>
</Set>

View File

@@ -3,11 +3,13 @@
<DeliveryModel alias="DeliveryModel" id="2">
<name>External support</name>
<org_id>2</org_id>
<org_id_obsolescence_flag>no</org_id_obsolescence_flag>
<description>This support model applies to external customers. It allows tickets to be assigned to&quot;Helpdesk&quot;, &quot;Network Support&quot; and &quot;Systems and application support&quot; teams</description>
</DeliveryModel>
<DeliveryModel alias="DeliveryModel" id="1">
<name>Internal support</name>
<org_id>2</org_id>
<org_id_obsolescence_flag>no</org_id_obsolescence_flag>
<description>This support model applies to internal customers. It allows tickets to be assigned to&quot;Helpdesk&quot;, &quot;Network Support&quot; , &quot;Hardware Support&quot; and &quot;Systems and application support&quot; teams</description>
</DeliveryModel>
</Set>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<Set>
<DeliveryModel alias="DeliveryModel" id="2">
<name>Support externe</name>
<org_id>2</org_id>
<description>Ce modèle de support s'applique aux clients externes. Il permet d'affecter les tickets aux équipes &quot;Helpdesk&quot;, &quot;Network Support&quot; et &quot;Systems and application support&quot;</description>
</DeliveryModel>
<DeliveryModel alias="DeliveryModel" id="1">
<name>Support interne</name>
<org_id>2</org_id>
<description>Ce modèle de support s'applique aux clients internes. Il permet d'affecter les tickets aux équipes &quot;Helpdesk&quot;, &quot;Network Support&quot;, &quot;Hardware Support&quot; et &quot;Systems and application support&quot;</description>
</DeliveryModel>
</Set>

View File

@@ -32,12 +32,13 @@ SetupWebPage::AddModule(
'data/data.sample.services.en_us.xml',
'data/data.sample.serviceelements.en_us.xml',
'data/data.sample.contactservice.xml',
'data/data.sample.contactcontract.xml',
'data/data.sample.sla.en_us.xml',
'data/data.sample.slt.en_us.xml',
'data/data.sample.sltsla.xml',
'data/data.sample.customercontractsservice.xml',
'data/data.sample.providercontractsservice.xml',
'data/data.sample.deliverymodel.xml',
'data/data.sample.deliverymodel.en_us.xml',
'data/data.sample.deliverymodelcontact.xml',
'data/data.sample.organizations.xml',
],

View File

@@ -0,0 +1,116 @@
<?xml version="1.0" encoding="UTF-8"?>
<Set>
<UserLocal alias="UserLocal" id="4">
<contactid>9</contactid>
<email>jules.vernes@it.com</email>
<org_id_friendlyname>IT Department</org_id_friendlyname>
<login>SupportAgent</login>
<language>FR FR</language>
<status>disabled</status>
<password><![CDATA[SupportAgent]]></password>
<expiration>force_expire</expiration>
<password_renewed_date>2026-06-04</password_renewed_date>
</UserLocal>
<URP_UserProfile id="5">
<userid>4</userid>
<userlogin>SupportAgent</userlogin>
<profileid>SELECT URP_Profiles WHERE id='5'</profileid>
<profile>Support Agent</profile>
<reason></reason>
</URP_UserProfile>
<UserLocal alias="UserLocal" id="5">
<contactid>26</contactid>
<contactid_friendlyname>Jean Ferrat</contactid_friendlyname>
<org_id_friendlyname>IT Department</org_id_friendlyname>
<login>ConfigManager</login>
<language>FR FR</language>
<status>disabled</status>
<password><![CDATA[ConfigManager]]></password>
<expiration>force_expire</expiration>
<password_renewed_date>2026-06-04</password_renewed_date>
</UserLocal>
<URP_UserProfile id="6">
<userid>5</userid>
<userlogin>ConfigManager</userlogin>
<profileid>SELECT URP_Profiles WHERE id='3'</profileid>
<profile>Configuration Manager</profile>
<reason></reason>
</URP_UserProfile>
<UserLocal alias="UserLocal" id="2">
<contactid>15</contactid>
<email>agatha.christie@demo.com</email>
<org_id_friendlyname>Sales Department</org_id_friendlyname>
<login>PortalUser</login>
<language>FR FR</language>
<status>disabled</status>
<password><![CDATA[PortalUser]]></password>
<expiration>force_expire</expiration>
<password_renewed_date>2026-04-17</password_renewed_date>
</UserLocal>
<URP_UserProfile id="2">
<userid>2</userid>
<userlogin>PortalUser</userlogin>
<profileid>SELECT URP_Profiles WHERE id='2'</profileid>
<profile>Portal user</profile>
<reason></reason>
</URP_UserProfile>
<URP_UserOrg id="2">
<userid>2</userid>
<userlogin>PortalUser</userlogin>
<allowed_org_id>6</allowed_org_id>
<allowed_org_name>Sales Department</allowed_org_name>
<reason></reason>
<allowed_org_id_obsolescence_flag>no</allowed_org_id_obsolescence_flag>
</URP_UserOrg>
<UserLocal alias="UserLocal" id="3">
<contactid>6</contactid>
<email>claude.monet@demo.com</email>
<org_id_friendlyname>Sales Department</org_id_friendlyname>
<login>SalesManager</login>
<language>FR FR</language>
<status>disabled</status>
<password><![CDATA[SalesManager]]></password>
<expiration>force_expire</expiration>
<password_renewed_date>2026-06-04</password_renewed_date>
</UserLocal>
<URP_UserProfile id="4">
<userid>3</userid>
<userlogin>SalesManager</userlogin>
<profileid>SELECT URP_Profiles WHERE id='12'</profileid>
<profile>Portal power user</profile>
<reason></reason>
</URP_UserProfile>
<URP_UserProfile id="3">
<userid>3</userid>
<userlogin>SalesManager</userlogin>
<profileid>SELECT URP_Profiles WHERE id='2'</profileid>
<profile>Portal user</profile>
<reason></reason>
</URP_UserProfile>
<URP_UserOrg id="1">
<userid>3</userid>
<userlogin>SalesManager</userlogin>
<allowed_org_id>6</allowed_org_id>
<allowed_org_name>Sales Department</allowed_org_name>
<reason></reason>
<allowed_org_id_obsolescence_flag>no</allowed_org_id_obsolescence_flag>
</URP_UserOrg>
<UserLocal alias="UserLocal" id="6">
<contactid>18</contactid>
<email>rene.descartes@demo.com</email>
<org_id_friendlyname>Demo</org_id_friendlyname>
<login>SuperUser</login>
<language>FR FR</language>
<status>disabled</status>
<password><![CDATA[SuperUser]]></password>
<expiration>force_expire</expiration>
<password_renewed_date>2026-04-17</password_renewed_date>
</UserLocal>
<URP_UserProfile id="7">
<userid>6</userid>
<userlogin>SuperUser</userlogin>
<profileid>SELECT URP_Profiles WHERE id='117'</profileid>
<profile>Super User</profile>
<reason></reason>
</URP_UserProfile>
</Set>

View File

@@ -36,7 +36,7 @@ SetupWebPage::AddModule(
'data/data.sample.auditcategory.xml',
'data/data.sample.auditcategory-auditdomain.xml',
'data/data.sample.auditrule.xml',
'data/data.sample.users.xml',
'data/data.sample.users.en_us.xml',
],
// Documentation