SQL-080: Retrieve salesplan
Retrieve salesplan in the context of clsSalesPlan.
Classification
Field
Value
SQL ID
SQL-080
Operation type
Read
Execution method
Reader/Scalar
Database
Oracle
Command type
Text
Schema
[unqualified]
Business object
clsSalesPlan
Criteria property
RetrieveSQL
Lifecycle method
BeforeRetrieve / AfterRetrieve
Parameters
Parameter
Direction
Type
Max length
Description
:Code
Input
String*
inferred/unknown
Bind variable in clsSalesPlan.RetrieveSQL.
Tables
Table
Access
Columns used
PLAN_CODE
SELECT
See sample SQL
Sample SQL
SELECT
PLAN_CODE . CODE as Code ,
PLAN_CODE . CODE_DESCR as Description ,
PLAN_CODE . TPA_FLAG as TPAFlag ,
PLAN_CODE . RETRO_FLAG as RetroFlag ,
PLAN_CODE . DWC_BLOCK_NUM as DWCBlockNumber
FROM PLAN_CODE
WHERE
PLAN_CODE . CODE = : Code
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
Business/SAIF.Business.Policy.Premium/Billing/clsSalesPlan.vb