Table idempiere9.adempiere.cm_ad
An Advertisement is something like a banner

Generated by
Quality Systems & Solutions
Legend:
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
 
Column Type Size Nulls Auto Default Children Parents Comments
cm_ad_id numeric 10 An Advertisement is something like a banner
ad_client_id numeric 10 Client/Tenant for this installation.
ad_org_id numeric 10 Organizational entity within client
isactive bpchar 1 'Y'::bpchar The record is active in the system
created timestamp 29,6 now() Date this record was created
createdby numeric 10 User who created this records
updated timestamp 29,6 now() Date this record was updated
updatedby numeric 10 User who updated this records
name varchar 60 Alphanumeric identifier of the entity
description varchar 255  √  null Optional short description of the record
help varchar 2000  √  null Comment or Hint
cm_ad_cat_id numeric 10
cm_ad_cat.cm_ad_cat_id cmadcat_cmad R
Advertisement Category like Banner Homepage
cm_media_id numeric 10
cm_media.cm_media_id cmmedia_cmad R
Contains media content like images, flash movies etc.
targeturl varchar 120  √  null URL for the Target
target_frame varchar 20 Which target should be used if user clicks?
actualclick numeric 10 0 How many clicks have been counted
maxclick numeric 10 0 Maximum Click Count until banner is deactivated
actualimpression numeric 10 0 How many impressions have been counted
maximpression numeric 10 0 Maximum Impression Count until banner is deactivated
startimpression numeric 10 0 For rotation we need a start count
startdate timestamp 29,6 First effective day (inclusive)
enddate timestamp 29,6  √  null Last effective date (inclusive)
contenthtml varchar 2000  √  null Contains the content itself
isadflag bpchar 1 'Y'::bpchar Do we need to specially mention this ad?
islogged bpchar 1 'Y'::bpchar Do we need to log the banner impressions and clicks? (needs much performance)
cm_ad_uu varchar 36  √  NULL::character varying CM_Ad_UU

Table contained 0 rows at 2021-12-25 14:43 +0100

Indexes:
Column(s) Type Sort Constraint Name
cm_ad_id Primary key Asc cm_ad_pkey
cm_ad_uu Must be unique Asc cm_ad_uu_idx


SchemaSpy was unable to generate a diagram of table relationships.
SchemaSpy requires Graphviz version 2.2.1 or versions greater than 2.4 from www.graphviz.org.