Magidoc

ServiceProfitability
Object

Fields

#

serviceId

ID !
Non-null

serviceName

Non-null

billedLineCount

Non-null

How many customer invoice lines in range name this service through line.serviceId — the one join this report's revenue and cost are built from. Zero means no line named this service; whether that is a measured nothing or an unreadable one is what billedLinesAttributable answers.

billedLinesAttributable

Non-null

Whether every customer invoice line in range names a service, over a range that holds at least one. False means the report has no in-range billing it can file under a service — either because a line carries no serviceId, or because the filters left no line at all — so a row with billedLineCount 0 cannot be read as a service that billed nothing, and its money reads absent rather than zero. Report-wide, so every row carries the same answer.

inScopeBilledLineCount

Non-null

How many customer invoice lines the filters left, named service or not — the rows this report was read from, before its own join reaches any of them. Report-wide, and the census a source-row count states: the service spine above is master data, so counting it would report the workspace's service catalogue under a heading the sibling reports use for documents in range. Zero is why billedLinesAttributable is false on a range that holds no billing.

billedTotal

Non-null

costTotal

Non-null

profit

Non-null

Usages

#

References

#

  • Field getServiceProfitability from Query