Skip to main content
Version: 2.2.3

newProFinances

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/NewProFinancesRequestType.java
Returnweb/wwwroot/ws/java/project/NewProFinancesResponseType.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.
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:newProFinances>
<!--You may enter the following 14 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:Amount>?</urn:Amount>
<urn:UnitValue>?</urn:UnitValue>
<urn:DocumentNumber>?</urn:DocumentNumber>
<urn:CostClassification>?</urn:CostClassification>
<urn:Description>?</urn:Description>
</urn:newProFinances
</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.