Skip to main content
Version: 2.2.3

editProFinances

This method allows editing finances in a project, program, project task, and nonproject task. For this action, it is necessary to follow the standard documented below.

Java class
Requestweb/wwwroot/ws/java/project/editProFinancesRequestType.java
Returnweb/wwwroot/ws/java/project/editProFinancesResponseType.java

Request:

IDRequiredDescription
ObjectIdXObject ID #.
SonObjectIdXChild object ID # (required for child object).
FgObjectXIdentifies the financial record object:
1 - Project task;
2 - Project;
3 - Nonproject task;
4 - Program.
FinanceTypeXIdentifies the financial entry type:
1 - Cost;
2 - Revenue.
NameXFinancial entry name.
TypeIdXFinancial entry type ID # .
PhaseXStep to add:
1 - Planned;
2 - Rescheduled;
3 - Actual.
DateXDate (format: DD/MM/YYYY or YYYY-MM-DD).
CurrencyXFinancial entry currency.
FgChangeCurrencyIdentifies how the currency should be updated (mandatory for cases in which the currency is changed):
1 - Keep the value and change the object currency only;
2 - Change the object currency and convert the value from the previous currency to the new currency.
AmountXQuantity.
UnitValueXUnit value.
DocumentNumberDocument number.
DescriptionDescription.
CostClassificationCost classification:
1 - No classification;
2 - Capital;
3 - Operational.

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:project">
<soapenv:Header/>
<soapenv:Body>
<urn:editProFinances>
<!--You may enter the following 15 items in any order-->
<urn:ObjectId>?</urn:ObjectId>
<urn:SonObjectId>?</urn:SonObjectId>
<urn:FgObject>?</urn:FgObject>
<urn:FinanceType>?</urn:FinanceType>
<urn:Phase>?</urn:Phase>
<urn:Name>?</urn:Name>
<urn:TypeId>?</urn:TypeId>
<urn:Date>?</urn:Date>
<urn:Currency>?</urn:Currency>
<urn:FgChangeCurrency>?</urn:FgChangeCurrency>
<urn:Amount>?</urn:Amount>
<urn:UnitValue>?</urn:UnitValue>
<urn:DocumentNumber>?</urn:DocumentNumber>
<urn:CostClassification>?</urn:CostClassification>
<urn:Description>?</urn:Description>
</urn:editProFinances>

</soapenv:Body>
</soapenv:Envelope>

Return:

IDDescription
StatusMethod execution status. Its value may be:
SUCCESS: Method executed successfully.
FAILURE: An error occurred during the method execution.
CodeRecord code.
DetailMethod return detail.