index

Package tb_customer_profile_rules

Support subprograms for CUSTOMER_PROFILE.


Program units
p_register_entity   Register the attribute/value pairs to the message cache.
p_register_entity   Register the attribute/value pairs to the message cache.
p_validate   Validates all the data in the record.


p_register_entity

Procedure p_register_entity(p_operation_type     NUMBER,
                            p_internal_record_id VARCHAR2)

Register the attribute/value pairs to the message cache.
This signature uses the rowid only, for the delete operations

Parameters
p_internal_record_id   Database rowid VARCHAR2(18)


p_register_entity

Procedure p_register_entity(p_operation_type     NUMBER,
                            p_pidm               tbbcprf.tbbcprf_pidm%TYPE,
                            p_credit_limit       tbbcprf.tbbcprf_credit_limit%TYPE,
                            p_ecat_code          tbbcprf.tbbcprf_ecat_code%TYPE,
                            p_atyp_code_default  tbbcprf.tbbcprf_atyp_code_default%TYPE,
                            p_atyp_seqno_default tbbcprf.tbbcprf_atyp_seqno_default%TYPE,
                            p_user_id            tbbcprf.tbbcprf_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_data_origin        tbbcprf.tbbcprf_data_origin%TYPE,
                            p_internal_record_id VARCHAR2)

Register the attribute/value pairs to the message cache.
This signature registers all parameters.

Parameters
p_pidm   Internal identification number for the entity. NUMBER(8) Required Key
p_credit_limit   Maximum balance which may be incurred on the account. NUMBER(12,2)
p_ecat_code   Category of the entity, valid in TTVECAT. VARCHAR2(2)
p_atyp_code_default   In combination with ATYP_SEQNO_DEFAULT, the default address (in Accounts Receivable) to which a bill will be sent for non-student transactions. Valid in STVATYP. VARCHAR2(2)
p_atyp_seqno_default   In combination with ATYP_CODE_DEFAULT, the default address (in Accounts Receivable) to which a bill will be sent for non-student transactions. Combination valid and active in SPRADDR. NUMBER(2)
p_user_id   ID of the user who last created or updated the record. VARCHAR2(30)
p_data_origin   Source system that last created or updated the data. VARCHAR2(30)
p_internal_record_id   Database rowid VARCHAR2(18)


p_validate

Procedure p_validate(p_pidm               tbbcprf.tbbcprf_pidm%TYPE,
                     p_credit_limit       tbbcprf.tbbcprf_credit_limit%TYPE DEFAULT NULL,
                     p_ecat_code          tbbcprf.tbbcprf_ecat_code%TYPE DEFAULT NULL,
                     p_atyp_code_default  tbbcprf.tbbcprf_atyp_code_default%TYPE DEFAULT NULL,
                     p_atyp_seqno_default tbbcprf.tbbcprf_atyp_seqno_default%TYPE DEFAULT NULL,
                     p_user_id            tbbcprf.tbbcprf_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_data_origin        tbbcprf.tbbcprf_data_origin%TYPE DEFAULT NULL)

Validates all the data in the record.

Parameters
p_pidm   Internal identification number for the entity. NUMBER(8) Required Key
p_credit_limit   Maximum balance which may be incurred on the account. NUMBER(12,2)
p_ecat_code   Category of the entity, valid in TTVECAT. VARCHAR2(2)
p_atyp_code_default   In combination with ATYP_SEQNO_DEFAULT, the default address (in Accounts Receivable) to which a bill will be sent for non-student transactions. Valid in STVATYP. VARCHAR2(2)
p_atyp_seqno_default   In combination with ATYP_CODE_DEFAULT, the default address (in Accounts Receivable) to which a bill will be sent for non-student transactions. Combination valid and active in SPRADDR. NUMBER(2)
p_user_id   ID of the user who last created or updated the record. VARCHAR2(30)
p_data_origin   Source system that last created or updated the data. VARCHAR2(30)