InformationRegisterManager.<Information register name>.GetFirst
Syntax:
Parameters:
<BeginOfPeriod> (optional)
Determines a point in time beginning from which you need to get resource values. May be set by values of Date, PointInTime or Boundary type. If this parameter is not set, resource values of the first register record will be returned.
<Filter> (optional)
Structure containing the register dimensions filter. Structure key name must be the same as the register dimension name specified in the designer, and value of an element of structure - sets value selected on given dimension.
The structure may additionally have the items that correspond to separators of register with the IndependentlyAndSimultaneously level of separation, which include the register. If such a structure item is specified for use in a session separator, then value for this item must match the separator value, otherwise it will throw an exception.
If the parameter is not specified filter is not used.
Returned value:
Returns the structure containing resource values.
Description:
Availability:
Note:
Example:
PricesMarketing = InformationRegisters.PricesMarketing; Cost = PricesMarketing.GetFirst(SelDate, SelClient, Selection).Cost; |