ad_sequence

2028 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
ad_sequence_id numeric 10 null
ad_sequence_audit.ad_sequence_id ad_sequence_sequenceaudit C
ad_sequence_no.ad_sequence_id ad_sequence_sequenceno C
c_bp_edi.ad_sequence_id adsequence_cbpedi R
c_doctype.definitesequence_id definitesequence_cdoctype R
c_doctype.docnosequence_id ad_sequence_doctypedoc R
c_paymentprocessor.ad_sequence_id adsequence_cpaymentprocessor R
cof_c_bankintegration.cof_documentsequence_id cofdocumentsequence_cofcbankin R
cof_c_bankintegration.cof_filesequence_id coffilesequence_cofcbankintegr R
cof_labelfield.ad_sequence_id adsequence_coflabelfield R
ad_client_id numeric 10 null
ad_client.ad_client_id sequenceclient R
ad_org_id numeric 10 null
ad_org.ad_org_id sequenceorg R
isactive bpchar 1 'Y'::bpchar
created timestamp 29,6 now()
createdby numeric 10 null
updated timestamp 29,6 now()
updatedby numeric 10 null
name varchar 60 null
description varchar 255 null
vformat varchar 40 null
isautosequence bpchar 1 'Y'::bpchar
incrementno numeric 10 null
startno numeric 10 null
currentnext numeric 10 null
currentnextsys numeric 10 null
isaudited bpchar 1 'N'::bpchar
istableid bpchar 1 'N'::bpchar
prefix varchar 255 null
suffix varchar 255 null
startnewyear bpchar 1 'N'::bpchar
datecolumn varchar 60 null
decimalpattern varchar 40 null
ad_sequence_uu varchar 36 NULL::character varying
startnewmonth bpchar 1 'N'::bpchar
isorglevelsequence bpchar 1 'N'::bpchar
orgcolumn varchar 60 NULL::character varying
isrange bpchar 1 'N'::bpchar
valuemin numeric 10 null
valuemax numeric 10 null
cof_isboletocnab bpchar 1 'N'::bpchar

Indexes

Constraint Name Type Sort Column(s)
ad_sequence_pkey Primary key Asc ad_sequence_id
ad_sequence_name Must be unique Asc/Asc ad_client_id + name
ad_sequence_name_ad_client_id Performance Asc ad_client_id
ad_sequence_uu_idx Must be unique Asc ad_sequence_uu

Check Constraints

Constraint Name Constraint
ad_sequence_isrange_check ((isrange = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])))
ad_sequence_isautosequence_check ((isautosequence = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])))
ad_sequence_cof_isboletocnab_check ((cof_isboletocnab = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])))
ad_sequence_startnewmonth_check ((startnewmonth = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])))
ad_sequence_isorglevelsequence_check ((isorglevelsequence = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])))
ad_sequence_isactive_check ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])))
ad_sequence_isaudited_check ((isaudited = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])))
ad_sequence_istableid_check ((istableid = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])))
ad_sequence_startnewyear_check ((startnewyear = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])))

Relationships