Skip to content

SAIF.Services.Printing.Remote database tables

This page catalogs database tables accessed by this library.

Table catalog

Table Database Schema/Link CRUD Purpose Primary business object
XPRINT_CONTROL Oracle [unqualified] C/R/U/D Print-control batch header clsXPrintControl
XDOCUMENT Oracle [unqualified] C/R/D Individual print job document clsXDocument
XDEFERRED_PRINT Oracle [unqualified] C/R/U/D Deferred/queued print item clsXDeferredPrint
XPRINTER_BIN Oracle [unqualified] R (join only) Printer bin routing lookup clsXDocumentCollection
XPRINTER Oracle [unqualified] R (join only) Physical printer lookup clsXDocumentCollection
DUAL Oracle (system) N/A R (scalar) Oracle system pseudo-table; referenced only by dead/unwired sequence-select SQL clsXDeferredPrint, clsXDeferredPrintCollection, clsXPrintControlCollection

XPRINT_CONTROL

Field Value
Database Oracle
Schema/Link [unqualified]**
Purpose Stores print-control batch headers: directory, duplex mode, processed date, IDM path, XML file name, and MD5 hash for a set of documents queued for print processing.
Access pattern Direct SQL via IBusinessCriteria
CRUD operations Create (Insert), Read (Select), Update, Delete
Key columns used XPRINT_CONTROL_SEQ_NUM (PK), DIRECTORY_NAME, DUPLEX_CODE, PROCESSED_DATE, IDM_PATH_NAME, XML_FILE_NAME, MD5_HASH_VALUE, CREATE_DATE
Sequence None live in this library — XPrintControlSeqNum must be supplied by the caller; DIRECTORY_NAME_NEXTVAL in dead CreateSQL (SQL-003) is a CodeGen2 template artifact, not a real Oracle sequence.*
Related tables XDOCUMENT (one-to-many via XPRINT_CONTROL_SEQ_NUM)
Business objects clsXPrintControl, clsXPrintControlCollection

Operations referencing this table

Business rules referencing this table

SQL referencing this table


XDOCUMENT

Field Value
Database Oracle
Schema/Link [unqualified]**
Purpose Stores individual print job documents linked to a print-control batch. Contains routing metadata (bin type, sort values), document type, email/fax routing, and print group text for sequencing and grouping.
Access pattern Direct SQL via IBusinessCriteria
CRUD operations Create (Insert), Read (Select), Delete — no live Update
Key columns used XDOCUMENT_SEQ_NUM (PK), XPRINT_CONTROL_SEQ_NUM (FK), XBIN_TYPE_CODE, COPIES_COUNT, FILE_NAME, DOCUMENT_TYPE_CODE, EMAIL_ADDRESS, FAX_NUM, IDX_CONTENTS_TEXT, SORT0_VALUE–SORT9_VALUE, START_VALUE, PRINT_GROUP_TEXT, DUPLEX_CODE
Sequence XDOCUMENT_SEQ — generated procedurally via IDataPortalInfo.GetNextSeqNum("XDOCUMENT_SEQ") in clsXDocument.Create()
Related tables XPRINT_CONTROL (many-to-one via XPRINT_CONTROL_SEQ_NUM), XPRINTER_BIN (routing join via XBIN_TYPE_CODE)
Business objects clsXDocument, clsXDocumentCollection

Operations referencing this table

Business rules referencing this table

SQL referencing this table


XDEFERRED_PRINT

Field Value
Database Oracle
Schema/Link [unqualified]**
Purpose Stores deferred (queued) print requests awaiting later batch processing. Captures copies count, document description, duplex code, file name, printed date, sort values, and an XML payload blob.
Access pattern Direct SQL via IBusinessCriteria
CRUD operations Create (Insert), Read (Select), Update, Delete
Key columns used XDEFERRED_SEQ_NUM (PK), COPIES_COUNT, CREATE_DATE, CREATE_USER, DOCUMENT_DESCR, DUPLEX_CODE, FILE_NAME, PRINTED_DATE, SORT0_VALUE–SORT9_VALUE, XML_VALUE_TEXT
Sequence XDeferred_SEQ — generated procedurally via IDataPortalInfo.GetNextSeqNum("XDeferred_SEQ") in clsXDeferredPrint.Create(). COPIES_COUNT_NEXTVAL in dead CreateSQL properties (SQL-001, SQL-002) is a CodeGen2 template artifact.*
Related tables None directly joined in live SQL
Business objects clsXDeferredPrint, clsXDeferredPrintCollection

Operations referencing this table

Business rules referencing this table

SQL referencing this table


XPRINTER_BIN

Field Value
Database Oracle
Schema/Link [unqualified]**
Purpose Lookup table mapping printer IDs and bin type codes to physical bin numbers. Joined at read time to resolve print routing for a given printer.
Access pattern Direct SQL via IBusinessCriteria (read/join only)
CRUD operations Read (SELECT — join only)
Key columns used PRINTER_ID, XBIN_TYPE_CODE, BIN_NUM
Sequence N/A
Related tables XPRINTER (many-to-one via PRINTER_ID), XDOCUMENT (routing join via XBIN_TYPE_CODE)
Business objects clsXDocumentCollection

Operations referencing this table

SQL referencing this table


XPRINTER

Field Value
Database Oracle
Schema/Link [unqualified]**
Purpose Lookup table providing the network name of a physical printer. Joined at read time to resolve the printer network name for document routing.
Access pattern Direct SQL via IBusinessCriteria (read/join only)
CRUD operations Read (SELECT — join only)
Key columns used PRINTER_ID, NETWORK_NAME
Sequence N/A
Related tables XPRINTER_BIN (one-to-many via PRINTER_ID)
Business objects clsXDocumentCollection

Operations referencing this table

SQL referencing this table


DUAL

Field Value
Database Oracle (system pseudo-table)
Schema/Link N/A — Oracle built-in system object
Purpose Oracle's single-row pseudo-table, referenced by the three dead CreateSQL sequence-select properties (SQL-001, SQL-002, SQL-003) as CodeGen2 template artifacts. Not used by any live code path in this library.
Access pattern Referenced in dead/unwired Criteria.CreateSQL properties only
CRUD operations R (scalar select — dead code only)
Key columns used None (scalar select of a literal token)
Sequence N/A
Related tables None
Business objects clsXDeferredPrint, clsXDeferredPrintCollection, clsXPrintControlCollection

SQL referencing this table


Table relationship diagram

The following diagram shows verifiable relationships between the primary tables used by this library.

erDiagram
    XPRINT_CONTROL ||--o{ XDOCUMENT : "XPRINT_CONTROL_SEQ_NUM (one-to-many)*"
    XPRINTER ||--o{ XPRINTER_BIN : "PRINTER_ID (one-to-many)"
    XPRINTER_BIN }o--o{ XDOCUMENT : "XBIN_TYPE_CODE + PRINTER_ID (routing join)"
    XPRINT_CONTROL {
        NUMBER XPRINT_CONTROL_SEQ_NUM PK
        VARCHAR2 DIRECTORY_NAME
        VARCHAR2 DUPLEX_CODE
        DATE PROCESSED_DATE
        DATE CREATE_DATE
        VARCHAR2 IDM_PATH_NAME
        VARCHAR2 XML_FILE_NAME
        VARCHAR2 MD5_HASH_VALUE
    }
    XDOCUMENT {
        NUMBER XDOCUMENT_SEQ_NUM PK
        NUMBER XPRINT_CONTROL_SEQ_NUM FK
        VARCHAR2 XBIN_TYPE_CODE
        NUMBER COPIES_COUNT
        VARCHAR2 FILE_NAME
        VARCHAR2 PRINT_GROUP_TEXT
        VARCHAR2 DUPLEX_CODE
    }
    XPRINTER {
        VARCHAR2 PRINTER_ID PK
        VARCHAR2 NETWORK_NAME
    }
    XPRINTER_BIN {
        VARCHAR2 PRINTER_ID FK
        VARCHAR2 XBIN_TYPE_CODE
        NUMBER BIN_NUM
    }
    XDEFERRED_PRINT {
        NUMBER XDEFERRED_SEQ_NUM PK
        VARCHAR2 DOCUMENT_DESCR
        VARCHAR2 DUPLEX_CODE
        DATE PRINTED_DATE
        DATE CREATE_DATE
        NUMBER COPIES_COUNT
        NCLOB XML_VALUE_TEXT
    }

Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • Services\SAIF.Services.Printing.Remote\clsXPrintControl.vb
  • Services\SAIF.Services.Printing.Remote\clsXPrintControlCollection.vb
  • Services\SAIF.Services.Printing.Remote\clsXDocument.vb
  • Services\SAIF.Services.Printing.Remote\clsXDocumentCollection.vb
  • Services\SAIF.Services.Printing.Remote\clsXDeferredPrint.vb
  • Services\SAIF.Services.Printing.Remote\clsXDeferredPrintCollection.vb