View source | Discuss this page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Add page
Show collection (0 pages)
Collections help

Search

ERP/2.50/Developers Guide/Database Model/org.openbravo.model.ad.utility/AD Sequence

Contents

AD_Sequence

The Sequence Tab defines the numeric sequencing to use for documents. These can also include an alpha suffix and / or prefix.

This table contains the following columns:

Name Nullable Data Type Description
AD_Sequence_ID NVARCHAR2(32)The order of records in a specified document.
AD_Client_ID NVARCHAR2(32)Client for this installation.
AD_Org_ID NVARCHAR2(32)Organizational entity within client
IsActive YCHAR(1)A flag indicating whether this record is available for use or de-activated.
Created NDATEThe date that this record is completed.
CreatedBy NVARCHAR2(32)User who created this records
Updated NDATEx not implemented
UpdatedBy NVARCHAR2(32)User who updated this records
Name NVARCHAR2(60)A non-unique identifier for a record/document often used as a search tool.
Description YNVARCHAR2(255)A space to write additional related information.
VFormat YNVARCHAR2(40)x not implemented
IsAutoSequence NCHAR(1)Automatically assign the next number
IncrementNo NNUMBER(10, 0)An addition to a starting number by a specified value.
StartNo NNUMBER(10, 0)The first number that will be used in a standard or control sequence.
CurrentNext NNUMBER(10, 0)The next number that will be assigned to an item.
CurrentNextSys NNUMBER(10, 0)Next sequence for system use
IsTableID YCHAR(1)The document number will be used as the record key
Prefix YNVARCHAR2(10)Characters which are added at the beginning of a statement or number.
Suffix YNVARCHAR2(10)One or many characters which are added at the end of a statement or number.
StartNewYear YCHAR(1)Restart the sequence with Start on every 1/1

Other Info

Check constraints

These are the check constraints for this table:

top

Indexes

These are the indexes for this table (for each index there is a list of all the columns included within it):

Unique

top

Columns

Sequence

The Sequence defines the numbering sequence to be used for documents.

top

Client

Foreign key column to AD_Client table, (column: AD_Client_ID)


Validation Rule AD_Client Security validation: Clients with user access rights. With the following code:

 
AD_Client.AD_Client_ID IN (@#User_Client@)

top

Organization

Foreign key column to AD_Org table, (column: AD_Org_ID)

top

Active

There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reporting. There are two reasons for de-activating and not deleting records:
(1) The system requires the record for auditing purposes.
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions.

top

Creation Date

The Created field indicates the date that this record was created.

top

Created By

Foreign key column to AD_User table, (column: AD_User_ID)

top

Updated

The Updated field indicates the date that this record was updated.

top

Updated By

Foreign key column to AD_User table, (column: AD_User_ID)

top

Name

A more descriptive identifier (that does need to be unique) of a record/document that is used as a default search option along with the search key (that is unique and mostly shorter). It is up to 60 characters in length.

top

Description

A description is limited to 255 characters.

top

Value Format

Value Format is the format the value will be displayed with.

top

Auto Numbering

The Auto Numbering checkbox indicates if the system will assign the next number automatically.

top

Increment By

The Increment indicates the number to increment the last document number by to arrive at the next sequence number

top

Starting No.

The Start Number indicates the starting position in the line or field number in the line

top

Next Assigned Number

The Current Next indicates the next number to use for this document

top

Current Next (System)

This field is for system use only and should not be modified.

top

Used for Record ID

The Used for Record ID checkbox indicates if the document id will be used as the key to the record

top

Prefix

The Prefix indicates the characters to print in front of the document number.

top

Suffix

The Suffix indicates the characters to append to the document number.

top

Restart sequence every Year

The Restart Sequence Every Year checkbox indicates that the documents sequencing should return to the starting number on the first day of the year.

top

Related tables

Tables that link this table:

top

Retrieved from "http://wiki.openbravo.com/wiki/ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.ad.utility/AD_Sequence"

This page has been accessed 4,996 times. This page was last modified on 2 July 2011, at 20:40. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.