Sequence

AD_Sequence

Document Sequence

Overview

Table NameAD_Sequence
Access LevelSystem + Client
Entity TypeD
Is DocumentNo
Is ViewNo
Has UUIDYes
Parent TableAD_Client
WikiView on iDempiere Wiki

Columns (30)

Column Type Required Default Description
DateColumn String(60) No - Fully qualified date column
DecimalPattern String(40) No - Java Decimal Pattern
DocSeqColumn String(12) No - This Column indicates column where generated sequence will be stored.
isDocSeqColumn Yes-No(1) No N The Custom Sequence Column checkbox indicates that the generated sequence will be stored in specified column
IsOrgLevelSequence Yes-No(1) Yes N This sequence can be defined for each organization
OrgColumn String(60) No - Fully qualified Organization column (AD_Org_ID)
StartNewDay Yes-No(1) No N -
StartNewMonth Yes-No(1) Yes N -
Name String(60) Yes - Alphanumeric identifier of the entity
AD_Client_ID Table Direct(22) Yes @#AD_Client_ID@ Tenant for this installation.
AD_Org_ID Table Direct(22) Yes @#AD_Org_ID@ Organizational entity within tenant
AD_Sequence_ID ID(22) Yes - Document Sequence
AD_Sequence_UU String(36) No - -
Created Date+Time(7) Yes SYSDATE Date this record was created
CreatedBy Search(22) Yes - User who created this records
CurrentNext Integer(22) Yes 1000000 The next number to be used
CurrentNextSys Integer(22) Yes 100 Next sequence for system use
Description String(255) No - Optional short description of the record
IncrementNo Integer(22) Yes 1 The number to increment the last document number by
IsActive Yes-No(1) No Y The record is active in the system
IsAudited Yes-No(1) No - Activate Audit Trail of what numbers are generated
IsAutoSequence Yes-No(1) Yes - Automatically assign the next number
IsTableID Yes-No(1) No - The document number will be used as the record key
Prefix String(255) No - Prefix before the sequence number
StartNewYear Yes-No(1) No - Restart the sequence with Start on every 1/1
StartNo Integer(22) Yes 1000000 Starting number/position
Suffix String(255) No - Suffix after the number
Updated Date+Time(7) Yes SYSDATE Date this record was updated
UpdatedBy Search(22) Yes - User who updated this records
VFormat String(40) No - Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09"

Foreign Keys

Column References Description
AD_Client_ID AD_Client.AD_Client_ID Tenant for this installation.
AD_Org_ID AD_Org.AD_Org_ID Organizational entity within tenant

Generated on 2026-05-03T17:59:45.266917860Z