473,386 Members | 2,078 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

REG Conversions

151 100+
Hi all


I am new to conversions, I have to transfer data from flat file to 3 interface tables, po_lines_interface, po_headers_interface and po_distributions_interface.

I used SQL LOADER Script and its working fine. now i need to transfer to base tables. How to do that. Is there any Concurrent program in Apps, that transfers all the three interface table data into base tables or do i need to do individually

thanks in advance
Mar 13 '08 #1
5 1708
amitpatel66
2,367 Expert 2GB
Hi all


I am new to conversions, I have to transfer data from flat file to 3 interface tables, po_lines_interface, po_headers_interface and po_distributions_interface.

I used SQL LOADER Script and its working fine. now i need to transfer to base tables. How to do that. Is there any Concurrent program in Apps, that transfers all the three interface table data into base tables or do i need to do individually

thanks in advance
You have the standard Concurrent program that you need to use to load the data from po_interfaces to the base tables. It something named as "Purchasing ......" Use that standard program and check for errors if any while loading data in to base table.
Mar 13 '08 #2
vamsioracle
151 100+
Thank u
I got it , Its Purchasing Documents Open Interface (PDOI. But i don't to where to find the concurrent program. I searched in all the Purchasing responsibilities. But i could not find.

Please help me

thanku
Mar 14 '08 #3
amitpatel66
2,367 Expert 2GB
Try This:

Expand|Select|Wrap|Line Numbers
  1.  
  2. -- this query will give you concurrent program id for your program 
  3.  
  4. select concurrent_program_id from fnd_concurrent_programs fcp where UPPER(fcp.user_concurrent_program_name) LIKE '%PURCHASING%' 
  5.  
  6. -- this query will give you responsibility_id for the program that was submitted from which responsibility
  7.  
  8. select responsibility_id from fnd_concurrent_requests where concurrent_program_id = <submit here from above query>
  9.  
  10. -- this query will give you responsibility name
  11.  
  12. select responsibility_name from fnd_responsibility where responsibility_id = <submit here from above query>
  13.  
  14.  
Mar 14 '08 #4
vamsioracle
151 100+
Thank u very much


I have a doubt regarding sql loader. I had written the following code with validations, are these validations correct, where can i find all the oracle stnadard validations

Expand|Select|Wrap|Line Numbers
  1.  
  2. LOAD DATA
  3. INFILE 'XXBIO_PO_HEADERS_INTERFACE.csv'
  4. APPEND
  5. INTO TABLE PO_HEADERS_INTERFACE FIELDS TERMINATED BY ','
  6. OPTIONALLY ENCLOSED BY '"' 
  7. TRAILING NULL values
  8. (
  9.     INTERFACE_HEADER_ID NUMBER NOT NULL ,---------
  10.     PO_HEADER_ID NUMBER NOT NULL, ------
  11.     AGENT_NAME CHAR,
  12.     VENDOR_NAME,
  13.     VENDOR_SITE_CODE,
  14.     VENDOR_CONTACT,
  15.     SHIP_TO_LOCATION,
  16.     BILL_TO_LOCATION,
  17.     PAYMENT_TERMS,
  18.     FREIGHT_CARRIER,
  19.     FOB,
  20.     FREIGHT_TERMS,
  21.     APPROVAL_STATUS,
  22.     REVISION_NUM NUMBER UNIQUE , ----is this correct
  23.     COMMENTS,
  24.     CREATION_DATE        DATE     "DD-MON-YYYY HH24:MI:SS"
  25.  
  26.  
  27.  
and what is that position(x,y), why to take two parameters.

Thanks in advance
Mar 14 '08 #5
amitpatel66
2,367 Expert 2GB
This is not the right way to perform interfacing task.

You need to do the following:

1. Create a staging table (similar to po_headers_interface,lines,distributions)
2. Use SQL Loader and LOAD that data in to your staging table
3. Write a package (to validate the data in the staging table. Check if Item exists in inventory, whether vendor is valid vendor, etc)
4. Once validated using step 3, move the data into interface tables.
5. Run the standard program to move data from interface to base tables
6. Repeat step 3 - 5 if required

SQL LOADER validation is just to validate the data in flat file before insert. If it does not satisfy your consitions in CTL file then the record will be rejected and placed in BAD file

Position(x,y) is used for fixed length column values.
x - starting position of the column value in the flat file
y - ending position of the column value
Mar 14 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Reneé | last post by:
I wanted to know the order of implicit conversions and which sort of values allow them. From searching around in books and the archive of this mailing list, it seems to be that only numbers are...
15
by: buda | last post by:
Let me see if I got this :) 1. I know the rules for type conversions in arithmetic expressions 2. I know that an implicit type conversion is done at assignment, so float x = 1.23; int t = (int)...
10
by: vb | last post by:
Hi all, I am a newbie in C and i want to know what all pointer conversions are "legal" according to ANSI C standard. For Example, int* to char*, some_struct* to char* and so on .. According to...
4
by: O. Zimmermann | last post by:
Hi all, A variable with an enumerated type can be set with a value from any other generic "enum" type in the program, or with an integer value, without notice to the user, neither at compilation...
31
by: Michael C | last post by:
If a class inherits from another class, say Form inherits from control, then I can assign the Form to a variable of type Control without needing an explicit conversion, eg Form1 f = new Form1();...
2
by: Brian Henry | last post by:
is there info about data type conversions between access to ado.net? I have tried a lot of the ones that say oledb data types should work for and get a lot of "data type mismatch" errors using...
36
by: Chad Z. Hower aka Kudzu | last post by:
I have an implicit conversion set up in an assembly from a Stream to something else. In C#, it works. In VB it does not. Does VB support implicit conversions? And if so any idea why it would work...
5
by: Daz | last post by:
Hi everyone! I am very new to casting and converting, so much in fact then when I think I have it figured out, something proves me wrong. I was wondering if there is any logic in 'what types can...
2
by: adsci | last post by:
Hello! Im posting this to c.l.c++ AND win32 because i dont know if this is a MS Compiler Issue or not. here we go: <code> class MyCString
3
by: Wayne | last post by:
Are user-defined conversions chosen at compile time, or are there ways to make sure that they are chosen at run-time, based on the actual type of the object? Here is a simplified example of what...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.