Click or drag to resize
Infosoft Logo

IDailyNewspaperNumberServiceGetActiveDailyNewspaperNumberSum Method

Gets the sum for all given editions of the currently active daily newspaper numbers of a retailer, for some given title/date.

Namespace: Infosoft.Common.Contracts.ServiceContracts.Retail
Assembly: Infosoft.Common.Contracts (in Infosoft.Common.Contracts.dll) Version: 4.00.0.0
Syntax

Parameters

request  GetActiveDailyNewspaperNumberSumRequest
A request object, containing a retailer number, a title code, a list of edition codes, and a date.

Return Value

GetActiveDailyNewspaperNumberSumResponse
A response object, containing an amount for each day of the week.
Remarks

The active daily newspaper number is the number with the latest start date, provided that its start date is on or before the given start date, and its end date is either null (i.e. the number is permanent) or after (not on) the given end date.

If more than one edition is provided in the list in the request, the numbers for each day of the week will be summed together. For instance, if a retailer has the following numbers for each day of the week (and edition 1 and 2 are specified in the request): - Edition 1: 1, 2, 3, 4, 5, 6, 7 - Edition 2: 0, 0, 5, 1, 5, 0, 0 The result will be as follows: 1, 2, 8, 5, 10, 6, 7.

See Also