Oracle ATG Web Commerce uses the following table to store claimable information:
dcspp_claimable
Column | Data Type | Constraint | Description |
---|---|---|---|
| varchar(40) | not null | The repository id of the claimable repository item. |
| integer | not null | Used by the repository to detect “out of date” updates. This information is managed internally by the Oracle ATG Web Commerce repositories. |
| integer | not null | Indicates whether a particular instance of a repository item is a coupon or a gift certificate. |
| integer | null | Indicates if a particular item has been claimed or not. |
| date | null | If there is an expiration date, then an item cannot be claimed after this date. |
| datetime | null | Indicates when the repository item was last changed. |
dcspp_giftcert
Column | Data Type | Constraint | Description |
---|---|---|---|
| varchar (40) | not null | The unique identifier associated with the gift certificate. References |
| double precision | not null | The amount of the gift certificate. |
| double precision | not null | The amount of the gift certificate authorized to be used at the time a purchase is made. |
| double precision | not null | The amount of the gift certificate remaining after it has been used. Before the gift certificate has been claimed, this amount is equal to the amount property. |
| varchar (40) | null | The profile ID of the person who purchased the gift certificate. |
| date | null | The date on which the gift certificate is purchased. |
| date | null | The date on which the gift certificate was last used. |
dcs_storecred_clm
This table includes information on store credit.
Column | Data Type | Constraint | Description |
---|---|---|---|
| varchar (40) | not null | References |
| double precision | not null | Contains the original amount of the store credit. |
| double precision | not null | Contains the amount of the store credit authorized. |
| double precision | not null | The amount of the store credit which has not been consumed yet. |
| varchar (40) | null | The profile id of the owner of this store credit. |
| datetime | null | The date the store credit was issued. |
| datetime | null | The date the store credit expires. Can be NULL. |
| datetime | null | The date the store credit was last used. |
dcspp_coupon
This table relates coupons to one or more promotions.
Column | Data Type | Constraint | Description |
---|---|---|---|
| varchar (40) | not null | The unique identifier associated with the coupon. References |
| varchar (40) | not null | The unique identifier associated with the promotion. |
dcspp_coupon_info
This table is used for coupon validation.
Column | Data Type | Constraint | Description |
---|---|---|---|
| varchar (40) | not null | The unique identifier associated with the coupon. References |
| varchar (254) | null | The name a user sees when viewing this coupon. |
| integer | null | Boolean indicating whether or not the coupon validation process should check for site or site group associations. |
| varchar (40) | null | Parent folder for the coupon. References |
| integer | null | Number of times the coupon has been claimed. |
dcspp_coupon_batch
Column | Data Type | Constraint | Description |
---|---|---|---|
| varchar (40) | not null | The unique identifier associated with the coupon batch. |
| varchar (254) | not null | |
| integer | null | |
| long varchar | null |
dcspp_batch_claimable
Column | Data Type | Constraint | Description |
---|---|---|---|
| varchar (40) | not null | The unique identifier associated with the batch claimable. |
| varchar (254) | null |
dcspp_cp_folder
This table holds information about coupon folders.
Column | Data Type | Constraint | Description |
---|---|---|---|
| varchar (40) | not null | The unique identifier associated with the folder. |
| varchar (254) | not null | The name a user sees when viewing this coupon. |
| varchar (40) | null | Parent folder for the coupon, if one is present. References |