ParcelOffice removes the recipient details it holds for a booking a set time after the booking closes. That time is the address window in your organisation's retention policy in SmartFACT Accounts: between 1 and 720 hours, and 720 hours (30 days) unless your organisation sets another. ParcelOffice never sets it itself. The shipment's record stays; only the details that can identify the recipient go.
Read the window
Owner or Reviewer opens Site settings and reads Recipient addresses, for example "Removed 1 hour after a booking closes", with when a booking counts as closed. The note under it says where the window came from: "Set by your organisation in SmartFACT Accounts", with the policy's revision and when ParcelOffice last read it, or "ParcelOffice has not read your retention policy from SmartFACT Accounts yet, so it uses its default." It also says how many bookings had their addresses removed in the last day.
Owner or Supervisor reads the same window under Retention on Health, with the number of bookings whose addresses were removed.
Change the window
The site owner sets it on the retention page in SmartFACT Accounts, which Site settings links to. Read the retention policy. ParcelOffice reads the policy when it has bookings that may be due. When SmartFACT Accounts cannot be reached, it uses the last value it read, so an outage never stops the removal; until it has read one, it uses the default.
When a booking closes
A booking closes when:
- PrintStation took its labels, whether they went straight to the station's printer or through the PrintStation panel;
- the carrier refused it, or it was never sent;
- it was booked where nothing prints: printing is not set up at the site, or in the sample workspace;
- the carrier confirmed its cancellation, or a Supervisor recorded the carrier's confirmation of a cancellation and none of its labels can have printed (see cancel a booked shipment with the carrier).
Work still open or held keeps its details however old it is: a booking whose outcome is unknown, labels that need recovering, printing that is unknown, unfinished or left for a supervisor, a cancellation still with the carrier or with no clear answer, and anything while ParcelOffice is not recording changes during a restore.
A work order looked up at a station that was never booked loses its details one window after the lookup. A label fetched again from the carrier later is removed one window after it was fetched.
What is removed and what stays
ParcelOffice checks every minute. For each booking closed longer ago than the window it removes:
- the order as the order source gave it, which holds the recipient's name, company and address and the parcel details;
- the carrier's answer to the booking, and the carrier's own messages about it (their codes and the fields they name stay);
- the label files (each label's record stays, with its fingerprint, marked expired).
The shipment, its despatch reference, carrier shipment ID, tracking numbers, states and history stay. Its History gains an addresses purged line. That record keeps the counts and the policy used, which the complete export shows, and never an address. The complete export lists the removed records as they now are, with their removal time and no content.
Health warns "Bookings still holding a recipient address after their window: the address purge is not running" when a booking is more than ten minutes past its window, and "Your retention policy has not been read from SmartFACT Accounts yet: addresses are kept for the default 720 hours" while no policy has been read.
After the details are removed
A Supervisor opening the shipment sees under Delivery: "The recipient details were removed on" the date, "as your organisation's retention policy asks. ParcelOffice keeps no copy." A Viewer never sees recipient details, before or after.
Read the address from the order source asks the order source for that work order now, and shows the answer with "As the order source has it now", noting the source's revision if it changed since the booking, and "Not stored." It is what the source says today, not what was booked, and nothing is kept once the page closes. If it cannot be shown, the page says "The address is no longer available:" and why: the source no longer knows the order, now answers the reference with another despatch, says the despatch is not ready now, or did not answer, or another reason the source gave. If no answer comes back to your own device, for example because it has lost its connection, the page says instead "No answer came back from ParcelOffice, so the address was not read. Check the connection, then try again." If ParcelOffice answers without the address, it says "ParcelOffice did not read the address this time. Reload this page, then try again." Neither is the source's answer.
The labels line reads "removed with the recipient details; a reprint fetches them again from the carrier". A reprint first fetches the label again from the carrier, as a new version, then prints it. A cancellation with a carrier that needs the recipient's postcode reads it again from the order source for that request and keeps nothing.