Calling convention: GetDataFromPIMS_PeKa("PIMSConnection": String, "CurrDestObject": String, "PIMSType": String, "PpimsTagsTable": String)
Description: Imports configured PIMS tag values from the latest timestamp already stored for the destination object up to the current period, then updates the fixed tempPIMSData staging object.
Parameters:
PIMSConnection: configured database-connection name.
CurrDestObject: destination object name used for tag selection and the latest timestamp.
PIMSType: source type; the implementation handles WW and IP21.
PpimsTagsTable: object containing the PIMS tag mappings. The registered parameter name retains the original double P spelling.
Returns: NULL. The function imports data but does not return a success value.
Availability: Default; requires the site-specific PIMS connection, mapping object, destination object and tempPIMSData schema.
Example:
GetDataFromPIMS_PeKa("IP21Connection", "ProductionEvents", "IP21", "pimsTagsTable");