Calling convention: FA_CalcFeedKPI("EntryName": String, "EntryName": String, "CalcType": String, "EntryName": String, "Indicator": String): Float
Description: Calculates raw-material and transport environmental-impact values for a selected feed and writes the results to the FA CO2-Cockpit feed and comparison tables.
Parameters:
First EntryName: FEED_ID entry name.
Second EntryName: FEEDVENUE_ID entry name.
CalcType: accepted by the registration but read and not used by the current implementation.
Third EntryName: FeedComparison DATA_ID entry name.
Indicator: Feed1 selects comparison fields ending in 1; every other value selects fields ending in 2.
Returns: The registration declares Float, but the current implementation initializes and leaves the result as NULL.
Availability: Default; only for the FA CO2-Cockpit schema and current DBForm.
Example:
FA_CalcFeedKPI("FEED_ID", "FEEDVENUE_ID", "", "FeedComparison_Data_id", "Feed1");