Skip to main content
Object

PublicationDocument

One published document, such as a day's call sheet or a screenplay's script, with its current version and its revision history. The current version is what people should use; earlier revisions are kept for the record.

Fields

  • currentPublication!

    The current version: the newest revision released to you.

  • dayDateLocalDate

    Call sheets and sides: the shooting day's date (YYYY-MM-DD), as recorded on the day's call sheet.

  • dayIndexInt

    Call sheets and sides: the shooting day's number.

  • dayTitleString

    Call sheets and sides: the shooting day's title, if it has one.

  • The kind of document.

  • idID!

    ID of the current revision. Every revision's ID leads to this document: publicationDocument resolves any of them to its current version.

  • revisionCountInt!

    How many released revisions the document has, the current one included.

  • revisions[Publication!]!

    Every released revision, newest first; the first is current, every other one is out of date. Automatic backups and unreleased screenplay drafts are never revisions.

  • scopeKeyString!

    The part of the project the document covers, shared by all its revisions (see Publication.scopeKey).

  • screenplayTitleString

    Scripts and sides: the screenplay's title.

  • unitNameString

    Call sheets and sides: the shooting unit, if the day belongs to one.

Returned by