PrxMetaSheetRecalc

Syntax

bool PrxMetaSheetRecalc(string mon)

Parameters

mon. Regular report sheet moniker.

Description

The PrxMetaSheetRecalc operation calculates regular report sheet.

Comments

To execute the operation, determine moniker in the mon field in the following format: Moniker of regular report instance!Sheets!Sheet key. Moniker of regular report instance 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 sheet. The request contains moniker of regular report sheet. 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">
<PrxMetaSheetRecalc xmlns="http://www.fsight.ru/PP.SOM.Som">
  <mon xmlns="">S1!M!S!P1!Sheets!1</mon>
  </PrxMetaSheetRecalc>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
  <PrxMetaSheetRecalcResult 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</PrxMetaSheetRecalcResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"PrxMetaSheetRecalc" :
{
"mon" : "S1!M!S!P1!Sheets!1"
}
}

JSON response:

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

See also:

Working with Regular Reports