PREPROD
ReaderAuthor

piper

Sample Bottle Tenant ID

`SampleBottle.tenantId` scopes the bottle record to the owning organization, maintaining data isolation for the containers documented on a CoC.

1 min read · 2 depth levelsstratum-piper · vdevMatches production
Everyday

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.
View as developer →
Was this helpful?