Calling convention: SCM_Calc_Roll_Umsatz("Buchungsperiode": String, ProductID: Integer, DataID: Integer, "Geschaeftsart": String): Float
Description: Calculates rolling average gross revenue across a derived booking-period range for a product and its business subset, then updates the specified record.
Parameters:
Buchungsperiode: booking period from which the rolling interval is derived.
ProductID: product identifier.
DataID: current-object record to update.
Geschaeftsart: business type used for the subset calculation.
Returns: Product rolling revenue when positive; otherwise NULL. The function also updates product and subset fields.
Availability: Default; SCM-specific and dependent on the current object's virtual SQL and the COPA schema.
Example:
RollingRevenue := SCM_Calc_Roll_Umsatz("2026-08", ProductID, DataID, "Retail");