Copyright © 2024, Oracle and/or its affiliates.
Field Index SQL Mapping

Class /cmt_balances

This class stores the balances data temporarily for aligning the balance data during deploy stage of CMT migration.

Notes

  • This object can be read by the owner or any billing group leader within the brand who is an ancestor of the owner.
  • This object can be modified by the owner or any billing group leader within the brand who is an ancestor of the owner.
  • This object can be created by anyone.

Links



Field Index

Type Field Name
poid PIN_FLD_POID
timestamp PIN_FLD_CREATED_T
timestamp PIN_FLD_MOD_T
string PIN_FLD_READ_ACCESS
string PIN_FLD_WRITE_ACCESS
string PIN_FLD_CREATE_ACCESS
poid PIN_FLD_ACCOUNT_OBJ
poid PIN_FLD_BAL_GRP_OBJ
decimal PIN_FLD_CURRENT_BAL
poid PIN_FLD_DISCOUNT_OBJ
poid PIN_FLD_GRANTOR_OBJ
poid PIN_FLD_PRODUCT_OBJ
int PIN_FLD_RESOURCE_ID
timestamp PIN_FLD_VALID_FROM
timestamp PIN_FLD_VALID_TO
poid PIN_FLD_SERVICE_OBJ
int PIN_FLD_ROLLOVER_DATA
decimal PIN_FLD_NET_QUANTITY


Field Details

poid PIN_FLD_POID

Object Identifier for an instance of this class. Portal object ids have four pieces of information: database number, class type, sequence id, revision.

Notes

  • System defined on object creation
  • Can be modified only by System

Links


timestamp PIN_FLD_CREATED_T

Time the object was created.

Notes

  • System defined on object creation
  • Can be modified only by System

Links


timestamp PIN_FLD_MOD_T

Time the object was last modified.

Notes

  • System defined on object creation
  • Can be modified only by System

Links


string PIN_FLD_READ_ACCESS

Read Access level for object. Valid values are S(Self), G(Global), L(BrandLineage), B(BrandGroup), A(Ancestral).

Notes

  • System defined on object creation
  • Can be modified only by System
  • Maximum length is 255 bytes

Links


string PIN_FLD_WRITE_ACCESS

Write Access level for object. Valid values are S(Self), G(Global), L(BrandLineage), B(BrandGroup), A(Ancestral).

Notes

  • System defined on object creation
  • Can be modified only by System
  • Maximum length is 255 bytes

Links


string PIN_FLD_CREATE_ACCESS

Create Access level for object. Valid values are O(BrandOwner), R(Root), N(Any).

Notes

  • System defined on object creation
  • Can be modified only by System
  • Maximum length is 255 bytes

Links


poid PIN_FLD_ACCOUNT_OBJ

Account object under which the balance has to be updated.

Notes

  • Required on object creation
  • Can be modified

Links


poid PIN_FLD_BAL_GRP_OBJ

Balance group object that balance belongs to.

Notes

  • Can be specified on object creation
  • Can be modified

Links


decimal PIN_FLD_CURRENT_BAL

This field represents the current sub balance.

Notes

  • Can be specified on object creation
  • Can be modified

Links


poid PIN_FLD_DISCOUNT_OBJ

Any discount object which is associated to the balance.

Notes

  • Can be specified on object creation
  • Can be modified

Links


poid PIN_FLD_GRANTOR_OBJ

Poid of /purchase_product or /purchase_discount or /product that granted the resource.

Notes

  • Can be specified on object creation
  • Can be modified

Links


poid PIN_FLD_PRODUCT_OBJ

Any product object which is associated to the balance.

Notes

  • Can be specified on object creation
  • Can be modified

Links


int PIN_FLD_RESOURCE_ID

Numeric value of the resource that is impacted.

Notes

  • Required on object creation
  • Can be modified

Links


timestamp PIN_FLD_VALID_FROM

The start date of this validity based balance, 0 indicate infinity.

Notes

  • Can be specified on object creation
  • Can be modified

Links


timestamp PIN_FLD_VALID_TO

The end date of this validity based balance, 0 indicate infinity.

Notes

  • Can be specified on object creation
  • Can be modified

Links


poid PIN_FLD_SERVICE_OBJ

Link to the service object that this contact element represents.

Notes

  • Can be specified on object creation
  • Can be modified

Links


int PIN_FLD_ROLLOVER_DATA

have rollover information stored, rollover type and rollover date

Notes

  • Can be specified on object creation
  • Can be modified

Links


decimal PIN_FLD_NET_QUANTITY

Net quantity calculated after performing therounding.

Notes

  • Can be specified on object creation
  • Can be modified

Links




SQL Mapping


Type Field Name Table Column Name
base-class /cmt_balances cmt_balances_t
poid PIN_FLD_POID poid*
timestamp PIN_FLD_CREATED_T created_t
timestamp PIN_FLD_MOD_T mod_t
string PIN_FLD_READ_ACCESS read_access
string PIN_FLD_WRITE_ACCESS wrtie_access
string PIN_FLD_CREATE_ACCESS create_access
poid PIN_FLD_ACCOUNT_OBJ account_obj*
poid PIN_FLD_BAL_GRP_OBJ bal_grp_obj*
decimal PIN_FLD_CURRENT_BAL current_bal
poid PIN_FLD_DISCOUNT_OBJ discount_obj*
poid PIN_FLD_GRANTOR_OBJ grantor_obj*
poid PIN_FLD_PRODUCT_OBJ product_obj*
int PIN_FLD_RESOURCE_ID resource_id
timestamp PIN_FLD_VALID_FROM valid_from
timestamp PIN_FLD_VALID_TO valid_to
poid PIN_FLD_SERVICE_OBJ service_obj*
int PIN_FLD_ROLLOVER_DATA rollover_data
decimal PIN_FLD_NET_QUANTITY net_quantity
Column names marked with * are actually column prefixes. For poid type fields, the column prefix is used to create the columns poid_id0, poid_db and poid_type if the prefix is "poid". For PIN_FLD_POID in the base table, an additional column named poid_rev is created to hold the poid revision. For buffer fields, two columns are created - one in the containing table and one in the buffer table. For example if the prefix is "buf", then the column name in the buffer table is buffer_buf and the column name in the containing table is buffer_size.


Field Index This Class