Andres, thank you so much for your response.
I used an xml like yours to extract the information from a resource and then modify that to create a new resrouce and chek if the financial values work ok and it did.
This is the information I used:
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_resource.xsd">
<Header action="write" externalSource="NIKU" objectType="resource" version="15.7.0.212"/>
<Resources>
<Resource employmentType="EMPLOYEE" entityCode="Telecom" externalId=" " includeInDatamart="true" isActive="true" isExternal="false"
resourceId="jxog" resourceType="LABOR" username="jxog">
<PersonalInformation emailAddress="juan.xog@gmail.com" firstName="JUAN" lastName="XOG"/>
<ManagementInformation availability="8" openForTimeEntry="true" trackMode="PPM"/>
<CustomInformation>
<ColumnValue name="partition_code">NIKU.ROOT</ColumnValue>
</CustomInformation>
<FinancialInformation>
<SupplementalInformation active="1" department="Telecom" location="Argentina" resourceClass="LABOR" transactionClass="EXTLABOR"/>
</FinancialInformation>
</Resource>
</Resources>
</NikuDataBus>
My question is how can I now use that to update all the resources at once? The settings I need to use in all my resources are.
department="Telecom" location="Argentina" resourceClass="LABOR" transactionClass="EXTLABOR"
entityCode="Telecom" includeInDatamart="true"
openForTimeEntry="true" trackMode="PPM"
Thanks,
Juan
------------------------------
JUAN A. SEGOVIA
[BUENOS AIRES]
------------------------------
Original Message:
Sent: 03-30-2020 08:13 AM
From: Andres Anon
Subject: Mass Update Resource Financial Settings?
Personal Information is a required Tag for the Resource XOG. Below is an example with the minimum required to set a resource's financial information via XOG. Resource Class is validated as being valid for the provided Resource Type.
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_resource.xsd">
<Header action="write" externalSource="NIKU" objectType="resource" version="15.7.1.270"/>
<Resources>
<Resource externalId=" " isActive="true" employmentType="Employee"
resourceType="LABOR" resourceId="andres.anon" >
<PersonalInformation firstName="Andres" lastName="Anon"
emailAddress="andres.anon@regoconsulting.com" />
<CustomInformation>
<ColumnValue name="partition_code">NIKU.ROOT</ColumnValue>
</CustomInformation>
<FinancialInformation>
<SupplementalInformation active="1" department="Development"
location="FL" resourceClass="RECL2" transactionClass="Internal"/>
</FinancialInformation>
</Resource>
</Resources>
</NikuDataBus>
Original Message:
Sent: 03-29-2020 12:14 PM
From: Juan A. Segovia
Subject: Mass Update Resource Financial Settings?
Hi, I'm facing the same issue and technical limitation regarding GEL SCRIPTING.
Have you been able to resolve this? If so, can you please share?
Regrds,
------------------------------
JUAN A. SEGOVIA
[BUENOS AIRES]
Original Message:
Sent: 03-21-2019 09:47 AM
From: VALERIE LEVITTE
Subject: Mass Update Resource Financial Settings?
I am trying to do a mass update of financial information for resources. I have completed the default for one of the resource. However, when I do a XOG read of this resource, no financial information is included.
I have also tried to do a XOG write using a modified version of rsm_resources_write in c:\XOG\xml but I get the following error:
tag name "FinancialInformation" is not allowed. Possible tag names are: <PersonalInformation>".
Please see attached XOG output files.
I would be grateful for any assistance.
Am I missing something? Is there perhaps an easier way to set financial defaults for all resources?