ecl-logo Documentation

ClearSampleStorageSchedule

ClearSampleStorageSchedule[sample]updatedSamples

Erase any entries in sample's StorageSchedule (if possible), and set StorageCondition to the condition reflected by where the sample is currently located.

Details

  • Handles non-self-standing samples, their containers and the container's all contents simultaneously.
  • Clears any entries of StorageSchedule except the StorageUpdate protocol that is currently running.
  • Sets StorageCondition to the ProvidedStorageCondition of the sample's current location by default.
  • If any StorageSchedule cannot be completely cleared, set the StorageCondition to one indicated in first entry of the StorageSchedule.
  • Sets AwaitingStorageUpdate to False if no StorageSchedule is empty and there is no scheduled disposal.
  • Sets AwaitingStorageUpdate to True if StorageSchedule is not empty or StorageSchedule is empty but disposal is scheduled in DisposalLog (also sets AwaitingDisposal to True).
  • Throw an warning if the sample's status is not Available or Stocked.
  • Input
    Output

Examples

Basic Examples  (2)

Clear all StorageSchedule of a non-self-standing sample and its container with all the container's contents:

Clear StorageSchedule for multiple inputs:

Additional Examples  (1)

Cancels Object[Maintenance,StorageUpdate] only if its ScheduledMoves contain solely the inputs of ClearSampleStorageSchedule:

Messages  (1)

TooLateToCancelMaintenanceStorageUpdate  (1)

Throw a warning when the StorageUpdate protocol is already running: