Loading

Import checks

Before importing a job or Definition the import service performs a number of checks to ensure the integrity of the system. Of course all XML files must comply with the XML format.

Jobs/Orders

First of all, a Job or Order must comply with the XML schema.

Secondly, ItemValues must comply with the defining type. These checks are additional to the checks described in § 7.2.19.

  • Number: The integer value must lie between the minimum and maximum.

  • Text (String): The string must contain no more characters than the Maximum length. If the Multi line attributes is set to “0”, the string cannot contain carrige returns or line feeds.

  • Yes/No (Boolean): valid Boolean according to § 7.2.19.

  • Choice (Enum): An option must exist with this value. Checked against the Option name. In the XML this is called the EnumKey.

  • Date: properly formatted date.

  • Group: empty string (“”).

Definitions

Changing Definitions When changing the Definition outside the Product & order editor it is important to change the DefinitionID too. Otherwise the system will assume it is the same Definition, causing all kinds of strange problems.

Language The language of the PRISMAdirect installation must be available in the Definition.

Views The following Views must be present for the OrderDefinition and each ProductDefinition in the Definition:

  • - WebShop

  • - PrintShop

  • - WebShopPrintTicket

  • - PrintShopPrintTicket

Each View’s ViewKey must be of the form <PRODUCT_GUID>.<VIEW_NAME>

OrderItemDefinitions If importing the Definition, there are no strict requirements as the system has a ‘self-healing’ mechanism which will automatically add mandatory ItemDefinitions (R&D, Locked) to a Definition if they don’t exist.

However, if manually editing the Current definition, the following items must exist in order to avoid corruption:

  • EmailWhenBudgetApprovedOrRejected

  • OrderHasBeenAccounted

  • PaymentDate

  • LastName

  • WebShopId

  • NumberOfJobsInside

  • CommunicationState

  • ProcessingTokenID

  • FinalCost

  • UserId

  • PaymentTransactionInternalSettings

  • ContactAddress

  • SubmittersDescription

  • IsOrderCostApproved

  • FirstName

  • PaymentTransactionId

  • Account

  • WsFriendlyCommunicationState

  • IsJobCostPossiblyOutdated

  • EmailWhenOrderRejected

  • PaymentProvider

  • EmailWhenOrderAccepted

  • ManualLabor

  • WebShopName

  • ProcessingUserName

  • OcFriendlyCommunicationState

  • CreationDate

  • IsOrderPaid

  • OrderName

  • BillingAddress

  • EmailWhenOrderReady

  • BudgetApproversRemarks

  • OrderJobQEntryIDs

  • EmailAddress

  • IsOrderLocked

  • RequestCostQuotation

  • EmailMessage

  • EstimatedCost

  • Company

  • Date

  • OrderNumber

  • JobType

  • FinalizedDate

ProductItemDefinitions If importing the Definition, there are no strict requirements as the system has a ‘self-healing’ mechanism which will automatically add mandatory ItemDefinitions (R&D, Locked) to a Definition if they don’t exist.

However, if manually editing the Current definition, the following items must exist in order to avoid corruption:

  • EmailWhenBudgetApprovedOrRejected

  • ProofPrint

  • CoverMediaWeight

  • CaseName

  • OrderQEntryID

  • Pages

  • CopyrightAdministration

  • Punching

  • CoverMediaColor

  • WebShopId

  • PublishingDepartment

  • Role

  • NumberOfJobsInside

  • DocumentMediaWeight

  • BindingMethod

  • JobName

  • ChargeBackID1

  • Author

  • CommunicationState

  • OperatorNotes

  • IsStationeryJob

  • NrOfSourcePages

  • JobSizeEstimation

  • HasStaticAttachment

  • ProcessingTokenID

  • FinalCost

  • JobInfo

  • FinishingTime

  • Plexity

  • JobHasBeenPrinted

  • EstimatedColorPages

  • StationeryHeader

  • Title

  • OrientationAndBindingEdge

  • PrepareTime

  • CoverMediaSize

  • JobSource

  • ProductName

  • CaseType

  • DocumentProgrammed

  • IntentRemarks

  • MergeRequired

  • ProcessingServiceUserNameOnBehalfOf

  • CoverPlace

  • IsJobCostPossiblyOutdated

  • EstimatedBWPages

  • IsJobPaid

  • JobNumber

  • JobReady

  • PrintInColor

  • ProcessingServiceTokenIDOnBehalfOf

  • IpAddress

  • PDFAvailable

  • Copies

  • AssignedTo

  • ManualLabor

  • DocumentMediaColor

  • Folding

  • DocumentMediaType

  • WebShopName

  • IsVDPJob

  • ProcessingUserName

  • NumberOfCopiesPerSet

  • StationeryDescription

  • CreationDate

  • Media

  • JmfEndpointName

  • JobHasConflicts

  • Quantity

  • ReadyDate

  • PrinterName

  • InternalJobState

  • NewCoverMedia

  • JobContainsPreparedAttachment

  • RequestSoftProof

  • DocumentMediaSize

  • Category

  • EstimatedCost

  • EmailMessage

  • NumberOfBussinessCardsPerSet

  • IgnoreAutomationDocumentPreparationErrors

  • IsJobCostApproved

  • PrintingDuration

  • Date

  • CoverMediaType

  • PreviousEstimatedCost

  • DocumentType

  • OrderNumber

Removed items The following Item Definitions were removed from the internal definition of previous PRISMAdirect versions.The system does not use them anymore internally but they are still supported for backwards-compatibility reasons:

  • CoverMedia
  • DocumentMedia
  • FinishingType
  • PrintOnBothSides
  • CoverAt
  • Orientation
  • PrintOnColor
  • Drilling

The values of these items are mapped automatically (using a mapping table) to the values of corresponding new Item Definitions:

Old Item Definition

New Item Definition

CoverMedia

NewCoverMedia

DocumentMedia

Media

FinishingType

BindingMethod

PrintOnBothSides

Plexity

CoverAt

CoverPlace

Orientation

OrientationAndBindingEdge

PrintOnColor

PrintInColor

Drilling

Punching