Like all Piper records, the tenantId on a SampleBottle is automatically assigned from your authenticated session when the record is created. It prevents one organization's sample container records from appearing in another organization's chain-of-custody documentation. You never need to set this manually. It is inherited from the parent CoCRecord and ChainOfCustody, ensuring the entire chain of container tracking records belongs to the correct tenant.
Technical section
Data model, API, and internals — visible to developers.
