PO_GA_ORG_ASSIGN_DRAFT
PO_GA_ORG_ASSIGN_DRAFT stores draft changes to PO organization assignments that have not been accepted by buyer. A record in this table contains the proposed values for the corresponding record in the transaction table PO_GA_ORG_ASSIGNMENTS. When the draft changes are accepted, the record is moved to PO_GA_ORG_ASSIGNMENTS. Changes from buyer are automatically accepted. PO_GA_ORG_ASSIGN_DRAFT contains all columns from PO_GA_ORG_ASSIGNMENTS, as well as the following additional columns: DRAFT_ID: primary key of the table; foreign key to PO_DRAFTS; CHANGE_ACCEPTED_FLAG: acceptance status of the draft record; DELETE_FLAG: flag indicating whether the corresponding record in transaction table should be deleted when the draft change is accepted.
Details
-
Schema: FUSION
-
Object owner: PO
-
Object type: TABLE
-
Tablespace: APPS_TS_TX_DATA
Primary Key
Name | Columns |
---|---|
PO_GA_ORG_ASSIGN_DRAFT_PK |
ORG_ASSIGNMENT_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
PO_HEADER_ID | NUMBER | 18 | Yes | Global Agreement unique identifier. | |
BILLTO_BU_ID | NUMBER | 18 | Bill-to Business Unit unique identifier. Indicates the business unit which vouches the supplier invoices received for this purchase order. | ||
ORDERED_LOCALLY_FLAG | VARCHAR2 | 1 | Ordered locally Check box | ||
PRC_BU_ID | NUMBER | 18 | Yes | Procurement Business Unit | |
REQ_BU_ID | NUMBER | 18 | Requisitioning Business Unit | ||
SHIP_TO_LOCATION_ID | NUMBER | 18 | Ship To Location ID | ||
BILL_TO_LOCATION_ID | NUMBER | 18 | Bill To Location ID | ||
ENTITY_CHANGE_TYPE_CODE | VARCHAR2 | 1 | ENTITY_CHANGE_TYPE_CODE | ||
EXTERNAL_CHANGE_FLAG | VARCHAR2 | 1 | indicates if the change is external(supplier facing or not | ||
ENABLED_FLAG | VARCHAR2 | 1 | Yes | Enabled status for the current org assignment of the Global Agreement. | |
VENDOR_SITE_ID | NUMBER | 18 | Vendor Site ID of the Purchasing operating unit. | ||
LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
CHANGE_ACCEPTED_FLAG | VARCHAR2 | 1 | Acceptance status of the draft record | ||
ORG_ASSIGNMENT_ID | NUMBER | 18 | Yes | Global Agreements org assignment unique identifier | |
OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
PO_GA_ORG_ASSIGN_DRAFT | po_headers_draft_all | PO_HEADER_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
PO_GA_ORG_ASSIGN_DRAFT_U1 | Unique | Default | ORG_ASSIGNMENT_ID |
PO_GA_ORG_ASSIGN_DRAFT_U2 | Unique | Default | PO_HEADER_ID, REQ_BU_ID |