---
title: "SQL-017: clsPaymentAuthorizationSessionTransfer insert"
summary: Inserts a payment authorization session transfer link into PAYMENT_AUTH_SESSION_TRANSFER.
status: draft
owner: SAIF
last_reviewed: 2026-07-24
library: SAIF.Business.Payment.EFT
reference_type: package
---

# SQL-017: clsPaymentAuthorizationSessionTransfer insert

Inserts a payment authorization session transfer link into PAYMENT_AUTH_SESSION_TRANSFER.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-017 |
| **Operation type** | Create |
| **Execution method** | Inline SQL |
| **Database** | Oracle* |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsPaymentAuthorizationSessionTransfer` |
| **Criteria property** | `InsertSQL` |
| **Lifecycle method** | `BeforeInsert / AfterInsert` |


## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| :PaymentAuthorizationId | Input | Decimal | — | Binds `MyCriteria.PaymentAuthorizationId`* |
| :SessionTransferId | Input | Decimal | — | Binds `MyCriteria.SessionTransferId`* |
| :DueDate | Input | Date | — | Binds `MyCriteria.DueDate`* |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [PAYMENT_AUTH_SESSION_TRANSFER](../database-tables.md#payment_auth_session_transfer) | — | — |

## Sample SQL

```sql
Insert into PAYMENT_AUTH_SESSION_TRANSFER ( DUE_DATE, PAYMENT_AUTHORIZATION_SEQ_NUM, SESSION_TRANSFER_SEQ_NUM )
Values ( :DueDate, :PaymentAuthorizationId, :SessionTransferId)
```

## Operations and processes
- [Payment detail and allocation](../operations/payment-detail-and-allocation.md)*

> **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.

## Business rules
- [BR-EFT-05: Insert/update operations require exactly one affected row](../business-rules.md#br-eft-05-insertupdate-operations-require-exactly-one-affected-row)*

## Sources
- `Business\SAIF.Business.Payment.EFT\clsPaymentAuthorizationSessionTransfer.vb`
