Item or PBS item is a domain of functionality group related to abstract most root entity of SimDM population.
item_insure_actual checks if the client representation of an item is actual
To call the query logged in user shall be associated with a person granted with reader privileges over whole pbs (READER_TYPE, EDITOR_TYPE, ADMIN_TYPE for the person or group where the person is registered).
QUERY_FUNCTION item_insure_actual( id : INTEGER; client_timestamp : STRING): BOOLEANParameters:
id | edm db id of requited pbs item (PBS, node, baseline, file, etc.) |
client_timestamp | time stamp of the item last update known for client (see TIMESTAMP_FORMAT) |
Returns | TRUE - item was not updated and could be represented on client without update FALSE - item was updated after the client_timestamp and shall be updated (downloaded from server) |
item_get_timestamp returns time stamp (date/time of the last update) of the specified item
To call the query logged in user shall be associated with a person granted with reader privileges over whole pbs (READER_TYPE, EDITOR_TYPE, ADMIN_TYPE for the person or group where the person is registered).
QUERY_FUNCTION item_get_timestamp(id: INTEGER): STRINGParameters:
id | edm db id of requited pbs item (PBS, node, baseline, file, etc.) |
Returns date/time of the last update (see TIMESTAMP_FORMAT)