Skip to content

SQL-033: Saif output-address retrieval

This document describes SQL-033, the saif output-address retrieval statement or call used by SAIF.Business.

Classification

Field Value
SQL ID SQL-033
Operation type Read
Execution method Inline
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsSAIFOutputAddress
Criteria property RetrieveSQL
Lifecycle method BeforeRetrieve

Parameters

This SQL statement has no explicit parameters in the provided findings.

Tables

Table Access Columns used
LOCATION SELECT See sample SQL and source implementation.

Sample SQL

SELECT LOCATION.CREATE_DATE AS CreateDate, LOCATION.CREATE_USER AS CreateUser, LOCATION.LOCATION_CODE AS LocationCode,
       LOCATION.LOCATION_NAME AS AddressDescription, LOCATION.LOC_ADDR1 AS AddressLine1, LOCATION.LOC_ADDR2 AS AddressLine2,
       LOCATION.LOC_ADDR3 AS AddressLine3, LOCATION.LOC_CITY AS City, LOCATION.LOC_COUNTRY AS Country, LOCATION.LOC_COUNTY AS County,
       LOCATION.LOC_FAX AS Fax, LOCATION.LOC_PHONE AS Phone, LOCATION.LOC_SEQ_NUM AS LocSeqNum, LOCATION.LOC_STATE AS State,
       LOCATION.LOC_ZIP AS ZipCode, LOCATION.UPDATE_DATE AS UpdateDate, LOCATION.UPDATE_USER AS UpdateUser
  FROM LOCATION
 WHERE LOCATION.LOCATION_CODE = :LocationCode

Operations and processes

Business rules

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

Sources

  • Business\SAIF.Business\clsSAIFOutputAddress.vb