Share this page

# updateFinancialData

## Purpose

This operation updates financial data.

## Related Information

Operation: readFinancialData

## Input

This operation requires the following input:

- financialData: FinancialDataInfo

## Return

If the operation is successful, nothing will be returned to the client.

## Java Examples

See webservice_toolkit:

`java\client\src\examples\fm\``FinancialDataClient.java`

updateFinancialData ()

    // Modify the financial summary name and description.
    fd.setName("Toolkit Financial Data");
    fd.setDescription(makeUnique("Last Modified: "));

    // Set the local currency.
    fd.setLocalCurrencyCode("USD");

    // Create or update benefits.
    BenefitInfo benefit = null;
    BenefitInfo.Lines benefitLines = fd.getBenefit().getLines();
    if (isEmpty(benefitLines)) {
        benefit = createBenefit(fd.getBenefit());
    }
    else {
        benefit = updateBenefit(fd.getBenefit());
    }
    fd.setBenefit(benefit);

    UpdateFinancialDataDocument requestDoc =
    UpdateFinancialDataDocument.Factory.newInstance();
    requestDoc.addNewUpdateFinancialData().setFinancialData(fd);

    FinanceServiceStub stub = new FinanceServiceStub(context,
    serviceURL);
    stub.updateFinancialData(requestDoc);

https://admhelp.microfocus.com PPM 8942
Tips to improve your search results... OpenText™ Project and Portfolio Management Help Center PPM Help 26.2-26.3 All View Local Help Center View Online Help Center Version: