SlideShare a Scribd company logo
1 of 5
SELECT * FROM XXFIN_COUNTRY
SELECT * FROM XXFIN_STATE;
SELECT * FROM XXFIN_CITY;
UPDATE XXFIN_CITY SET STATE_CODE='AP' WHERE STATE_CODE='TPT';
COMMIT;
/
HOW TO REGISTER TABLES IN APPS?
P_APPL_SHORT_NAMEIN VARCHAR2,
P_TAB_NAME IN VARCHAR2,
P_TAB_TYPE IN VARCHAR2,
P_NEXT_EXTENT IN NUMBER DEFAULT 512,
P_PCT_FREE IN NUMBER DEFAULT 10,
P_PCT_USED IN NUMBER DEFAULT 70);
XXFIN_COUTRY :
=============
EXEC AD_DD.REGISTER_TABLE('PO','XXFIN_COUNTRY','T');
COMMIT;
DESC XXFIN_COUNTRY;
BEGIN
EXEC
AD_DD.REGISTER_COLUMN('PO','XXFIN_COUNTRY','COUNTRY_NAME',1,'VARCHAR2',30,'N','
Y');
EXEC
AD_DD.REGISTER_COLUMN('PO','XXFIN_COUNTRY','COUNTRY_CODE',2,'VARCHAR2',10,'N','Y'
);
END;
/
EXEC AD_DD.REGISTER_TABLE('PO','XXFIN_COUNTRY','T');
COMMIT;
DESC XXFIN_COUNTRY;
HOW REGISTER TABLE ALL COLUMNS AT TIME:
BEGIN
AD_DD.REGISTER_COLUMN('PO','XXFIN_COUNTRY','COUNTRY_NAME',1,'VARCHAR2',30,'N','
Y');
AD_DD.REGISTER_COLUMN('PO','XXFIN_COUNTRY','COUNTRY_CODE',2,'VARCHAR2',10,'N','Y'
);
END;
/
COMMIT;
XXFIN_STATE:
============
EXEC AD_DD.REGISTER_TABLE('PO','XXFIN_STATE','T');
COMMIT;
DESC XXFIN_COUNTRY;
BEGIN
AD_DD.REGISTER_COLUMN('PO','XXFIN_STATE','STATE_NAME',1,'VARCHAR2',30,'N','Y');
AD_DD.REGISTER_COLUMN('PO','XXFIN_STATE','STATE_CODE',2,'VARCHAR2',10,'N','Y');
AD_DD.REGISTER_COLUMN('PO','XXFIN_STATE','COUNTRY_CODE',3,'VARCHAR2',10,'N','Y');
END;
/
COMMIT;
XXFIN_CITY:
===========
EXEC AD_DD.REGISTER_TABLE('PO','XXFIN_CITY','T');
COMMIT;
DESC XXFIN_CITY;
BEGIN
AD_DD.REGISTER_COLUMN('PO','XXFIN_CITY','CITY_NAME',1,'VARCHAR2',30,'N','Y');
AD_DD.REGISTER_COLUMN('PO','XXFIN_CITY','STATE_CODE',2,'VARCHAR2',10,'N','Y');
EXEC AD_DD.REGISTER_COLUMN('PO','XXFIN_CITY','STD_CODE',3,'NUMBER',10,'N','Y');
(HOW REGISTER TABLE SINGLE COLUMN REGISTER)
END;
/
COMMIT;
PO_REQUISITION_LINES_V;
PO_REQUISITION_HEADERS_V
INTIALIZING ORGANIZATION IN BACKEND
BEGIN
MO_GLOBAL.SET_POLICY_CONTEXT('S',204);
END;
/
PROCURE TO PAY FLOW QUERIES
REQUISTION BASE TABLES:
======================
SELECT * FROM PO_REQUISITION_HEADERS;
SELECT * FROM PO_REQUISITION_HEADERS_ALL;
SELECT * FROM PO_REQ_DISTRIBUTIONS_ALL;
RFQ TABLE QUERIES:
SELECT * FROM PO_HEADERS_ALL WHERE SEGMENT1='100' AND TYPE_LOOKUP_CODE='RFQ';
SELECT * FROM PO_LINES_ALL WHERE PO_HEADER_ID=110346
SELECT * FROM PO_LINE_LOCATIONS_ALL WHERE PO_LINE_ID=173275;
SELECT * FROM PO_DISTRIBUTIONS_ALL WHERE LINE_LOCATION_ID=264421
'QUOTATION' TABLE QUERIES:
SELECT * FROM PO_HEADERS_ALL WHERE SEGMENT1='200' AND
TYPE_LOOKUP_CODE='QUOTATION';
SELECT * FROM PO_LINES_ALL WHERE PO_HEADER_ID=110347
SELECT * FROM PO_LINE_LOCATIONS_ALL WHERE PO_LINE_ID=173276;
SELECT * FROM PO_DISTRIBUTIONS_ALL WHERE LINE_LOCATION_ID=264422;
'PO' TABLE QUERIES:
SELECT * FROM PO_HEADERS_ALL WHERE SEGMENT1='305' AND
TYPE_LOOKUP_CODE='STANDARD' AND VENDOR_ID=34169;
SELECT * FROM PO_LINES_ALL WHERE PO_HEADER_ID=110348
SELECT * FROM PO_LINE_LOCATIONS_ALL WHERE PO_LINE_ID=173277;
SELECT * FROM PO_DISTRIBUTIONS_ALL WHERE LINE_LOCATION_ID=264423;
305
SELECT * FROM AP_SUPPLIERS WHERE VENDOR_NAME LIKE 'SK%'; --34169
'RCV' TABLE QUERIES:
SELECT * FROM TAB WHERE TNAME LIKE 'RCV%SHI%';(FIND RCV TABLES)
--------------------------------------------------------------- ---------------------------
SELECT * FROM RCV_SHIPMENT_HEADERS WHERE RECEIPT_NUM='4' AND
VENDOR_ID=34169;
SELECT * FROM RCV_SHIPMENT_LINES WHERE SHIPMENT_HEADER_ID=4813907
SELECT * FROM RCV_TRANSACTIONS WHERE REQUEST_ID=5849747--
SHIPMENT_HEADER_ID=4813907;
'AP INVOICE' TABLE QUERIES:
SELECT * FROM AP_INVOICES_ALL WHERE INVOICE_NUM='555' AND VENDOR_ID=3
SELECT * FROM AP_INVOICE_LINES_ALL WHERE INVOICE_ID=23298
SELECT * FROM AP_INVOICE_DISTRIBUTIONS_ALL WHERE INVOICE_ID=23298
'AP INVOICE PAYMENT' TABLE QUERIES:
SELECT * FROM TAB WHERE TNAME LIKE 'AP%PAY%'; (FIND AP PAYMENT TABLES)
-------------------------------------------------------------------------------------------------------
SELECT * FROM AP_INVOICE_PAYMENTS_ALL WHERE INVOICE_ID=23298;
SELECT * FROM AP_PAYMENT_SCHEDULES_ALL WHERE INVOICE_ID=23298;
SELECT * FROM AP_PAYMENT_HISTORY_ALL;
'GL CREATING ACCOUNTING' TABLE QUERIES:
SELECT * FROM XLA_EVENTS WHERE EVENT_ID=123469;
SELECT * FROM GL_INTERFACE;
SELECT * FROM GL_JE_HEADERS;
SELECT * FROM GL_JE_LINES;
SELECT * FROM GL_JE_BATCHES;
'GL POSTING' TABLE QUERIES:
SELECT * FROM GL_BALANCES;
PROCURE TO PAY (P2P)
====================
REQUISTION TABLES
PO_REQUISITION_HEADERS
PO_REQUISITION_HEADERS_ALL
PO_REQUISITION_LINES_ALL
PO_REQ_DISTRIBUTIONS_ALL
RFQ TABLES
PO_HEADERS_ALL
PO_LINES_ALL
PO_LINE_LOCATIONS_ALL
QUOTATION
PO_HEADERS_ALL
PO_LINES_ALL
PO_LINE_LOCATIONS_ALL
PO TABLES
PO_HEADERS_ALL
PO_LINES_ALL
PO_LINE_LOCATIONS_ALL
PO_DISTRIBUTIONS_ALL
RECEIPT TABLES
RCV_SHIPMENT_HEADERS
RCV_SHIPMENT_LINES
RCV_TRANSACTIONS
AP INVOICETABLES
AP_INVOICES_ALL
AP_INVOICE_LINES_ALL
AP_INVOICE_DISTRIBUTIONS_ALL
AP INVOICEPAYMENTS TABLES
AP_INVOICE_PAYMENTS_ALL
AP_PAYMENT_SCHEDULES_ALL
AP_PAYMENT_HISTORY_ALL
CREATING GLACCOUNTS TABLES
XLA_EVENTS (XLA -- SUB LEDGER ACCOUNT)
GL_INTERFACE
GL_JE_HEADERS
GL_JE_LINES
GL_JE_BATCHES
POSTING GL DATA TABLES
GL_BALANCES

More Related Content

Similar to Procure to pay base tables flow

Call session Method of BDC
Call session Method of BDCCall session Method of BDC
Call session Method of BDCRavi Kanudawala
 
PL/SQL Code for Sample Projects
PL/SQL Code for Sample ProjectsPL/SQL Code for Sample Projects
PL/SQL Code for Sample Projectsjwjablonski
 
POS410 Team Final
POS410 Team FinalPOS410 Team Final
POS410 Team Finalonelooking
 
Please follow the cod eand comments for description CODE #incl.pdf
Please follow the cod eand comments for description CODE #incl.pdfPlease follow the cod eand comments for description CODE #incl.pdf
Please follow the cod eand comments for description CODE #incl.pdfannaielectronicsvill
 
SQLチューニング総合診療Oracle CloudWorld出張所
SQLチューニング総合診療Oracle CloudWorld出張所SQLチューニング総合診療Oracle CloudWorld出張所
SQLチューニング総合診療Oracle CloudWorld出張所Hiroshi Sekiguchi
 
The Story About The Migration
 The Story About The Migration The Story About The Migration
The Story About The MigrationEDB
 
Examples of-tca-apis
Examples of-tca-apisExamples of-tca-apis
Examples of-tca-apisMihai Fildan
 
Statistical computing project
Statistical computing projectStatistical computing project
Statistical computing projectRashmiSubrahmanya
 
the following SPOOL command will capture the results of .docx
 the following SPOOL command will capture the results of    .docx the following SPOOL command will capture the results of    .docx
the following SPOOL command will capture the results of .docxMARRY7
 
The MySQL Query Optimizer Explained Through Optimizer Trace
The MySQL Query Optimizer Explained Through Optimizer TraceThe MySQL Query Optimizer Explained Through Optimizer Trace
The MySQL Query Optimizer Explained Through Optimizer Traceoysteing
 
Open SQL & Internal Table
Open SQL & Internal TableOpen SQL & Internal Table
Open SQL & Internal Tablesapdocs. info
 
03 abap3-090715081232-phpapp01
03 abap3-090715081232-phpapp0103 abap3-090715081232-phpapp01
03 abap3-090715081232-phpapp01wingsrai
 
03 abap3-090715081232-phpapp01-100511101016-phpapp02
03 abap3-090715081232-phpapp01-100511101016-phpapp0203 abap3-090715081232-phpapp01-100511101016-phpapp02
03 abap3-090715081232-phpapp01-100511101016-phpapp02tabish
 
zen and the art of SQL optimization
zen and the art of SQL optimizationzen and the art of SQL optimization
zen and the art of SQL optimizationKaren Morton
 

Similar to Procure to pay base tables flow (20)

Program For Parsing2
Program For Parsing2Program For Parsing2
Program For Parsing2
 
Call session Method of BDC
Call session Method of BDCCall session Method of BDC
Call session Method of BDC
 
PL/SQL Code for Sample Projects
PL/SQL Code for Sample ProjectsPL/SQL Code for Sample Projects
PL/SQL Code for Sample Projects
 
Airline Database Design
Airline Database DesignAirline Database Design
Airline Database Design
 
POS410 Team Final
POS410 Team FinalPOS410 Team Final
POS410 Team Final
 
Please follow the cod eand comments for description CODE #incl.pdf
Please follow the cod eand comments for description CODE #incl.pdfPlease follow the cod eand comments for description CODE #incl.pdf
Please follow the cod eand comments for description CODE #incl.pdf
 
SQLチューニング総合診療Oracle CloudWorld出張所
SQLチューニング総合診療Oracle CloudWorld出張所SQLチューニング総合診療Oracle CloudWorld出張所
SQLチューニング総合診療Oracle CloudWorld出張所
 
The Story About The Migration
 The Story About The Migration The Story About The Migration
The Story About The Migration
 
Order to cash cycle
Order to cash cycleOrder to cash cycle
Order to cash cycle
 
Examples of-tca-apis
Examples of-tca-apisExamples of-tca-apis
Examples of-tca-apis
 
Statistical computing project
Statistical computing projectStatistical computing project
Statistical computing project
 
the following SPOOL command will capture the results of .docx
 the following SPOOL command will capture the results of    .docx the following SPOOL command will capture the results of    .docx
the following SPOOL command will capture the results of .docx
 
Sap scripts
Sap scriptsSap scripts
Sap scripts
 
The MySQL Query Optimizer Explained Through Optimizer Trace
The MySQL Query Optimizer Explained Through Optimizer TraceThe MySQL Query Optimizer Explained Through Optimizer Trace
The MySQL Query Optimizer Explained Through Optimizer Trace
 
Sql queries
Sql queriesSql queries
Sql queries
 
sas aeroplan sample
sas aeroplan samplesas aeroplan sample
sas aeroplan sample
 
Open SQL & Internal Table
Open SQL & Internal TableOpen SQL & Internal Table
Open SQL & Internal Table
 
03 abap3-090715081232-phpapp01
03 abap3-090715081232-phpapp0103 abap3-090715081232-phpapp01
03 abap3-090715081232-phpapp01
 
03 abap3-090715081232-phpapp01-100511101016-phpapp02
03 abap3-090715081232-phpapp01-100511101016-phpapp0203 abap3-090715081232-phpapp01-100511101016-phpapp02
03 abap3-090715081232-phpapp01-100511101016-phpapp02
 
zen and the art of SQL optimization
zen and the art of SQL optimizationzen and the art of SQL optimization
zen and the art of SQL optimization
 

Recently uploaded

Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsAndrey Dotsenko
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 

Recently uploaded (20)

Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 

Procure to pay base tables flow

  • 1. SELECT * FROM XXFIN_COUNTRY SELECT * FROM XXFIN_STATE; SELECT * FROM XXFIN_CITY; UPDATE XXFIN_CITY SET STATE_CODE='AP' WHERE STATE_CODE='TPT'; COMMIT; / HOW TO REGISTER TABLES IN APPS? P_APPL_SHORT_NAMEIN VARCHAR2, P_TAB_NAME IN VARCHAR2, P_TAB_TYPE IN VARCHAR2, P_NEXT_EXTENT IN NUMBER DEFAULT 512, P_PCT_FREE IN NUMBER DEFAULT 10, P_PCT_USED IN NUMBER DEFAULT 70); XXFIN_COUTRY : ============= EXEC AD_DD.REGISTER_TABLE('PO','XXFIN_COUNTRY','T'); COMMIT; DESC XXFIN_COUNTRY; BEGIN EXEC AD_DD.REGISTER_COLUMN('PO','XXFIN_COUNTRY','COUNTRY_NAME',1,'VARCHAR2',30,'N',' Y'); EXEC AD_DD.REGISTER_COLUMN('PO','XXFIN_COUNTRY','COUNTRY_CODE',2,'VARCHAR2',10,'N','Y' ); END; / EXEC AD_DD.REGISTER_TABLE('PO','XXFIN_COUNTRY','T'); COMMIT; DESC XXFIN_COUNTRY; HOW REGISTER TABLE ALL COLUMNS AT TIME: BEGIN AD_DD.REGISTER_COLUMN('PO','XXFIN_COUNTRY','COUNTRY_NAME',1,'VARCHAR2',30,'N',' Y'); AD_DD.REGISTER_COLUMN('PO','XXFIN_COUNTRY','COUNTRY_CODE',2,'VARCHAR2',10,'N','Y' ); END;
  • 2. / COMMIT; XXFIN_STATE: ============ EXEC AD_DD.REGISTER_TABLE('PO','XXFIN_STATE','T'); COMMIT; DESC XXFIN_COUNTRY; BEGIN AD_DD.REGISTER_COLUMN('PO','XXFIN_STATE','STATE_NAME',1,'VARCHAR2',30,'N','Y'); AD_DD.REGISTER_COLUMN('PO','XXFIN_STATE','STATE_CODE',2,'VARCHAR2',10,'N','Y'); AD_DD.REGISTER_COLUMN('PO','XXFIN_STATE','COUNTRY_CODE',3,'VARCHAR2',10,'N','Y'); END; / COMMIT; XXFIN_CITY: =========== EXEC AD_DD.REGISTER_TABLE('PO','XXFIN_CITY','T'); COMMIT; DESC XXFIN_CITY; BEGIN AD_DD.REGISTER_COLUMN('PO','XXFIN_CITY','CITY_NAME',1,'VARCHAR2',30,'N','Y'); AD_DD.REGISTER_COLUMN('PO','XXFIN_CITY','STATE_CODE',2,'VARCHAR2',10,'N','Y'); EXEC AD_DD.REGISTER_COLUMN('PO','XXFIN_CITY','STD_CODE',3,'NUMBER',10,'N','Y'); (HOW REGISTER TABLE SINGLE COLUMN REGISTER) END; / COMMIT; PO_REQUISITION_LINES_V; PO_REQUISITION_HEADERS_V INTIALIZING ORGANIZATION IN BACKEND BEGIN MO_GLOBAL.SET_POLICY_CONTEXT('S',204); END; / PROCURE TO PAY FLOW QUERIES REQUISTION BASE TABLES: ====================== SELECT * FROM PO_REQUISITION_HEADERS; SELECT * FROM PO_REQUISITION_HEADERS_ALL;
  • 3. SELECT * FROM PO_REQ_DISTRIBUTIONS_ALL; RFQ TABLE QUERIES: SELECT * FROM PO_HEADERS_ALL WHERE SEGMENT1='100' AND TYPE_LOOKUP_CODE='RFQ'; SELECT * FROM PO_LINES_ALL WHERE PO_HEADER_ID=110346 SELECT * FROM PO_LINE_LOCATIONS_ALL WHERE PO_LINE_ID=173275; SELECT * FROM PO_DISTRIBUTIONS_ALL WHERE LINE_LOCATION_ID=264421 'QUOTATION' TABLE QUERIES: SELECT * FROM PO_HEADERS_ALL WHERE SEGMENT1='200' AND TYPE_LOOKUP_CODE='QUOTATION'; SELECT * FROM PO_LINES_ALL WHERE PO_HEADER_ID=110347 SELECT * FROM PO_LINE_LOCATIONS_ALL WHERE PO_LINE_ID=173276; SELECT * FROM PO_DISTRIBUTIONS_ALL WHERE LINE_LOCATION_ID=264422; 'PO' TABLE QUERIES: SELECT * FROM PO_HEADERS_ALL WHERE SEGMENT1='305' AND TYPE_LOOKUP_CODE='STANDARD' AND VENDOR_ID=34169; SELECT * FROM PO_LINES_ALL WHERE PO_HEADER_ID=110348 SELECT * FROM PO_LINE_LOCATIONS_ALL WHERE PO_LINE_ID=173277; SELECT * FROM PO_DISTRIBUTIONS_ALL WHERE LINE_LOCATION_ID=264423; 305 SELECT * FROM AP_SUPPLIERS WHERE VENDOR_NAME LIKE 'SK%'; --34169 'RCV' TABLE QUERIES: SELECT * FROM TAB WHERE TNAME LIKE 'RCV%SHI%';(FIND RCV TABLES) --------------------------------------------------------------- --------------------------- SELECT * FROM RCV_SHIPMENT_HEADERS WHERE RECEIPT_NUM='4' AND VENDOR_ID=34169; SELECT * FROM RCV_SHIPMENT_LINES WHERE SHIPMENT_HEADER_ID=4813907 SELECT * FROM RCV_TRANSACTIONS WHERE REQUEST_ID=5849747-- SHIPMENT_HEADER_ID=4813907; 'AP INVOICE' TABLE QUERIES: SELECT * FROM AP_INVOICES_ALL WHERE INVOICE_NUM='555' AND VENDOR_ID=3 SELECT * FROM AP_INVOICE_LINES_ALL WHERE INVOICE_ID=23298 SELECT * FROM AP_INVOICE_DISTRIBUTIONS_ALL WHERE INVOICE_ID=23298 'AP INVOICE PAYMENT' TABLE QUERIES:
  • 4. SELECT * FROM TAB WHERE TNAME LIKE 'AP%PAY%'; (FIND AP PAYMENT TABLES) ------------------------------------------------------------------------------------------------------- SELECT * FROM AP_INVOICE_PAYMENTS_ALL WHERE INVOICE_ID=23298; SELECT * FROM AP_PAYMENT_SCHEDULES_ALL WHERE INVOICE_ID=23298; SELECT * FROM AP_PAYMENT_HISTORY_ALL; 'GL CREATING ACCOUNTING' TABLE QUERIES: SELECT * FROM XLA_EVENTS WHERE EVENT_ID=123469; SELECT * FROM GL_INTERFACE; SELECT * FROM GL_JE_HEADERS; SELECT * FROM GL_JE_LINES; SELECT * FROM GL_JE_BATCHES; 'GL POSTING' TABLE QUERIES: SELECT * FROM GL_BALANCES; PROCURE TO PAY (P2P) ==================== REQUISTION TABLES PO_REQUISITION_HEADERS PO_REQUISITION_HEADERS_ALL PO_REQUISITION_LINES_ALL PO_REQ_DISTRIBUTIONS_ALL RFQ TABLES PO_HEADERS_ALL PO_LINES_ALL PO_LINE_LOCATIONS_ALL QUOTATION PO_HEADERS_ALL PO_LINES_ALL PO_LINE_LOCATIONS_ALL
  • 5. PO TABLES PO_HEADERS_ALL PO_LINES_ALL PO_LINE_LOCATIONS_ALL PO_DISTRIBUTIONS_ALL RECEIPT TABLES RCV_SHIPMENT_HEADERS RCV_SHIPMENT_LINES RCV_TRANSACTIONS AP INVOICETABLES AP_INVOICES_ALL AP_INVOICE_LINES_ALL AP_INVOICE_DISTRIBUTIONS_ALL AP INVOICEPAYMENTS TABLES AP_INVOICE_PAYMENTS_ALL AP_PAYMENT_SCHEDULES_ALL AP_PAYMENT_HISTORY_ALL CREATING GLACCOUNTS TABLES XLA_EVENTS (XLA -- SUB LEDGER ACCOUNT) GL_INTERFACE GL_JE_HEADERS GL_JE_LINES GL_JE_BATCHES POSTING GL DATA TABLES GL_BALANCES