PrxMetaReportRecalc

Syntax

bool PrxMetaReportRecalc(string mon)

Parameters

mon. Moniker of opened regular report instance.

Description

The PrxMetaReportRecalc operation calculates regular report instance.

Comments

The operation calculates all sheets of regular report. To execute the operation, in the mon field specify regular report instance moniker.

The moniker can be obtained on executing the OpenPrxMeta operation.

The operation results in the logical True if the calculation was completed successfully.

Example

Below is the example of recalculating regular report. The request contains moniker of opened regular report instance. The response contains whether regular report is recalculated successfully.

SOAP request:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<PrxMetaReportRecalc xmlns="http://www.fsight.ru/PP.SOM.Som">
  <mon xmlns="">S1!M!S!P1</mon>
  </PrxMetaReportRecalc>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
  <PrxMetaReportRecalcResult xmlns="http://www.fsight.ru/PP.SOM.Som" xmlns:q1="http://www.fsight.ru/PP.SOM.Som" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">1</PrxMetaReportRecalcResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"PrxMetaReportRecalc" :
{
"mon" : "S1!M!S!P1"
}
}

JSON response:

{
"PrxMetaReportRecalcResult" : "1"
}
public static bool PrxRecalc(string moniker)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tRec = new PrxMetaReportRecalc()
{
mon = moniker
};
//Recalculate report
var result = somClient.PrxMetaReportRecalc(tRec);
return result;
}

See also:

Working with Regular Reports