Skip to content

SQL-023: clsXPrintControlCollection.DeleteSQL

Deletes a single row from XPRINT_CONTROL by its primary key (XPRINT_CONTROL_SEQ_NUM). This is the collection-level delete path for clsXPrintControlCollection.BeforeDelete. The SQL text is identical to SQL-022 but is defined in the collection class. Post-delete contention is detected by AfterDelete per BR-001.

Classification

Field Value
SQL ID SQL-023
Operation type Delete
Execution method Inline
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsXPrintControlCollection
Criteria property DeleteSQL
Lifecycle method BeforeDelete

Parameters

Parameter Direction Type Max length Description
:XprintControlSeqNum Input Decimal — Primary key of the batch header row to delete

Tables

Table Access Columns used
XPRINT_CONTROL DELETE XPRINT_CONTROL_SEQ_NUM

Sample SQL

Delete XPRINT_CONTROL
Where
    XPRINT_CONTROL.XPRINT_CONTROL_SEQ_NUM = :XprintControlSeqNum

Business rules

Note: Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • Services\SAIF.Services.Printing.Remote\clsXPrintControlCollection.vb