Calling convention: SCM_Calc_Sales_Turnover("Buchungsperiode": String, ProductID: Integer, DataID: Integer, "Geschaeftsart": String): Float
Description: Calculates gross sales turnover for a product and its business subset, then writes both values to the specified current-object record.
Parameters:
Buchungsperiode: booking period used to filter COPA data.
ProductID: product identifier.
DataID: current-object record to update.
Geschaeftsart: business type used for the subset calculation.
Returns: Product gross turnover 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:
Turnover := SCM_Calc_Sales_Turnover("2026-08", ProductID, DataID, "Retail");