0% found this document useful (0 votes)
740 views13 pages

Import Standard Purchase Orders Guide

The document provides answers to frequently asked questions about the Purchase Document Open Interface (PDOI) process in Oracle Applications. Some key points addressed include: 1) How to troubleshoot and resolve errors that occur during the PDOI process such as by checking the error logs and correcting data issues. 2) How to view the log files and error reports to debug PDOI runs that fail or do not import any purchase orders. 3) The limitations of the PDOI including that it cannot update header information or load complex milestone-based purchase orders. Line level updates and validations are supported. 4) Best practices like ensuring the org_id field is null for single org implementations and

Uploaded by

ashibek
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
740 views13 pages

Import Standard Purchase Orders Guide

The document provides answers to frequently asked questions about the Purchase Document Open Interface (PDOI) process in Oracle Applications. Some key points addressed include: 1) How to troubleshoot and resolve errors that occur during the PDOI process such as by checking the error logs and correcting data issues. 2) How to view the log files and error reports to debug PDOI runs that fail or do not import any purchase orders. 3) The limitations of the PDOI including that it cannot update header information or load complex milestone-based purchase orders. Line level updates and validations are supported. 4) Best practices like ensuring the org_id field is null for single org implementations and

Uploaded by

ashibek
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

05/08/2015

ImportStandardPurchaseOrders

ImportStandardPurchaseOrders

Program:ImportStandardPurchaseOrders

Description:ImportingStandardPurchaseOrders

InternalName:POXPOPDOIType:CONCURRENTPROGRAM

Table

Direction

PO_HEADERS_INTERFACE

INBOUND

PO_LINES_INTERFACE

INBOUND

PO_DISTRIBUTIONS_INTERFACE INBOUND

PO_PRICE_DIFF_INTERFACE

INBOUND

QUESTIONSANDANSWERS
WhatshouldIdoifthePurchaseDocumentOpenInterface(PDOI)
processfails?
Thefirstthingistocheckfortheerrormessageandexaminedescriptionfromthe
po_interface_errorstableforthegiveninterface_header_id.Thedescriptionwouldbeself
http://www.oracleappsquery.com/?q=book/export/html/716

1/13

05/08/2015

ImportStandardPurchaseOrders

explanatory.Accordinglycheckforthedatainthepo_headers_interface,po_lines_interface
tablesandcorrectthemandrunthePDOIagainwiththecorrecteddata.

HowdoItogetthelogfileforthePDOIrun?
TogetthelogfileforthePDOIsetthefollowingprofileoptiontoYes:PO:Writeserver
outputtofile.

Howtoview/purgeandcorrecttheerrorstables?
ToviewtheerrorsrunthefollowingReport:
Purchasinginterfaceerrorreport.
ToPurgetheerrorandinterfacetablesrunthefollowingReports:
Purgepurchasingopeninterfaceprocesseddatareport.Purchasinginterfaceerrorreport.

WhatdoIdowhenPOsarenotbeingpickedupbyPDOIandthese
recordsremaininpendingstatus?
Checkiftheclientisasingleorginstance.Ifyouareusingsingleorginstancethenyou
arenotsupposedtopopulatetheorg_idintheinterfacetables.Org_idshouldbenullfora
singleorgimplementation.

HowshouldIpopulatetheprojectandtaskinformationinPDOI?
Thepointtobenotedhereisthatalwayspopulateprojectnameandtasknameintothe
projectandtaskcolumnofpo_headers_interfacetableinsteadofprojectnumberandtask
number.BasedonprojectnameandtasknamePDOIderivestheproject_idandtask_idand
insertsinthepo_distributionstable.

WhatshouldIdoifPDOIerrorsoutwith"po_pdoi_invalid_dest_type
destinationtype(value=expense)isnotvalid"forexpenseitems?
ThisErrorcanariseoutoffollowingsituation:
1.Validationofdestinationorganizationidfails.
2.Validationofdestinationtypecodefails.
3.Item_idisNULLanddestination_type_codeisINVENTORY.
4.Validationofdestinationsubinventoryfails.
5.Destination_type_codein('SHOPFLOOR','EXPENSE')anddestination_subinventoryis
notnull.
6.Validationofdestinationorganizationidfails.

HowandwhenaretheBlanketeffectivedatesupdatedthoughPDOI?
IfyouareusingtheUPDATEactioncodethenPDOIonlyVALIDATESthelinelevelinfo.If
youwanttoupdateheadersthenuseREPLACEinsteadofUPDATE.ByusingUPDATE
youcanonlyupdatesomecolumnsatthePOlineslevelasmentionedintheusersguide.

WhatshouldIdoifPDOIerrorsoutwith"shiptoorganizationid
http://www.oracleappsquery.com/?q=book/export/html/716

2/13

05/08/2015

ImportStandardPurchaseOrders

(value=769)specifiedisinactiveorinvalid"whencreatingnewitemson
thefly?
Thishasbeentakenuponasanenhancement.Previouslywewerenotcreatinganitemfor
thedestination/ship_to_orginthePDOIrun.Butaspartoftheenhancement2064961now
wecreateitemsfortheship_to_orgalso.

Whyaresupplyrecordsarenotcreatedforstandardpurchaseorders?
Supplyrecordsarecreatedinmtl_supplywhileapprovingthePOandsincepriorto
ProcurementfamilypackG,wewerenotsupportingapprovedstandardpurchaseorderswe
werenotcreatingthesupplyrecords.

CanyouupdatedocumentsviaPDOIwhichwerecreatedmanually?
PleaseseeNote746040.1.

WhenusingencumbranceaccountingIwantthefundstobereservedand
encumbranceentriescreatedingl_bc_packets?
ThefunctionalityispartofProcurementFamilyPackGorRelease11.5.7.
Thoughthisissuemayoccurrarelybutitcananditsexplainedbelow:
ThedocumentnumberisgeneratedattheendofthePDOIprocessbeforecommitand
updatedinthepo_headerstable.WhenthePDOIprocessstarts,po_headerstableis
updatedwithpoi_temp_po_b679535valueinsegment1andthenlaterafterheadersand
linesareprocesseddocument_numberisgeneratedandthepo_headersisupdatedwith
that.Assumeforanyreasononaccountofanincompletetransactionthereisarecordin
po_headerstablewithpoi_temp_po_b679535valueinsegment1thenPDOIwouldfailwith
theaboveerrormessage.Sojustcheckforarecordinpo_headerstablewith
poi_temp_po_b679535valueofthesegment1forthiserror.

WhydoesPDOIerroroutwith"ora00001uniqueconstraintviolationin
po_headers_u2"?
Thoughthisissuemayoccurrarelybutitcananditsexplainedbelow:
ThedocumentnumberisgeneratedattheendofthePDOIprocessbeforecommitand
updatedinthepo_headerstable.WhenthePDOIprocessstarts,po_headerstableis
updatedwithpoi_temp_po_b679535valueinsegment1andthenlaterafterheadersand
linesareprocesseddocument_numberisgeneratedandthepo_headersisupdatedwith
that.Assumeforanyreasononaccountofanincompletetransactionthereisarecordin
po_headerstablewithpoi_temp_po_b679535valueinsegment1thenPDOIwouldfailwith
theaboveerrormessage.Sojustcheckforarecordinpo_headerstablewith
poi_temp_po_b679535valueofthesegment1forthiserror.

WhatshouldIdowhenPDOIcreatesapprovedstandardpurchaseorders
butnochargeaccountisbeinggenerated?
Wedonotsupportimportingapprovedstandardpurchaseorders.ButintheProcurement
http://www.oracleappsquery.com/?q=book/export/html/716

3/13

05/08/2015

ImportStandardPurchaseOrders

FamilyPackGonwardsthisfeaturehasbeenadded.

HowdowedebugwhenPDOIdoesnotcreateanyPOs?
Twomethodscanbeemployed:
1.BeforerunningthePDOIprogram,settheprofileoptionPO:Writeserveroutputtofileto
'Yes'andthenyoucanviewthelogfilethusgeneratedwhilerunningthePDOI.
2.AfterthePDOIisrun,runthereport'Purchasinginterfaceerrorreport'todebugwhatisthe
exacterror.

IhadsubmittedthePDOIconc.requestforupdatingtheunit_priceofa
blanketpurchaseagreementlinewithanactionof"UPDATE".PDOI
insteadofupdatingtheline,hascreatedanewlinewithnewprice.Every
updatedlineisbeingcreatedmultipletimes.Howcanthisbeavoided?
Thismightbebecausethelineyouaretryingtoupdateisalreadyexpired.PDOIcreates
anotherlinewiththeupdatedinformationifthelinewhichisgettingupdatedisalready
expired.

Howisdatadeletedfromtheinterfacetablesafterithasbeenloaded?
AftersuccessfulcreationofdatathroughPDOI,theprocess_codeintheinterfacetableswill
besetto'Accepted'.IftheCustomerwantstodeletethisinterfacedatawhichisusedno
morethentheyneedtoruntheconcurrentrequest'Purgepurchasinginterface
processeddata'.

Isthereanexamplescripttoloadnewblanket,newitemandnew
sourcingrule?
Yes.Pleaseseethescriptbelow:
insertintopo_headers_interface
(interface_header_id,
action,
org_id,
document_type_code,
vendor_id,
vendor_site_code,
vendor_site_id,
effective_date,
expiration_date,
Vendor_doc_num,
load_sourcing_rules_flag)
values
(po_headers_interface_s.nextval,
'ORIGINAL',
204,
'BLANKET',
http://www.oracleappsquery.com/?q=book/export/html/716

4/13

05/08/2015

ImportStandardPurchaseOrders

21,
'SANTACLARA',
41,
'01JAN2001',
'01JAN2002',
'VENDOR02',
'Y')
insertintopo_lines_interface
(interface_line_id,
interface_header_id,
action,
item,
item_description,
unit_price,
unit_of_measure,
effective_date,
expiration_date,
template_name,
sourcing_rule_name)
values
(po_lines_interface_s.nextval,
po_headers_interface_s.currval,
'ORIGINAL',
'BB54888',
'BB54888Description',
10,
'Each',
'01JAN2001',
'01JAN2002',
'PurchasedItem',
'SourcingRuleBB54888')

Ihadloadedallthedataintotheinterfacetablesandwithprocess_code
as'PENDING'.IrunthePDOIprogram,butdataisnotgettingpickedup
byPDOI.Therecordsremaininstatus'PENDING'intheinterfacetables.
WhatdoIdo?
Checkwhetherclientissingleorg.Iftheyaresingleorg,thentheyshouldnotpopulate
org_idintotheinterfacetables.maketheorg_idnullintheinterfacetablesandrerunPDOI.

Iwanttoupdateheaderofadocument.IsitpossibleviaPDOI?
No.Itisnotpossibletoupdateheaderinformationbutonlylineinformationcanbeupdated
fromPDOI.youcanuse'Replace'optiontoreplacetheentiredocumentinthiscase.

IamtryingtoupdateitemdescriptionthroughPDOI.Theprogramis
updatingtheitemdescriptionatthelinelevelbutisnotupdatingthe
http://www.oracleappsquery.com/?q=book/export/html/716

5/13

05/08/2015

ImportStandardPurchaseOrders

sameatitemmaster.
ThisisdesiredfunctionalityofPDOI.PDOIwillonlyupdatetheitemdescriptionattheline
levelandnotatitemmaster.
Thefirstthingistocheckfortheerrormessageandexaminedescriptionfromthe
po_interface_errorstableforthegiveninterface_header_id.Thedescriptionwouldbeself
explanatory.Accordinglycheckforthedatainthepo_headers_interface,po_lines_interface
tablesandcorrectthemandrunthePDOIagainwiththecorrecteddata.

CanweusePurchasingDocumentOpenInterface(PDOI)toloadcomplex
milestonebasedpurchaseorder(PO)fromexternalsource?
PDOIdoesnotsupportcomplexPOsyet.Thereasonis:
Thefollowingcolumnsaddedtothetablepo_lines_interfaceandareintendedforinternaluse
only:
processing_id
line_loc_populated_flag
file_line_number
retainage_rate
max_retainage_amount
progress_payment_rate
recoupment_rate
advance_amount
withoutusingthesecolumns,thereisnowaytoimportcomplexworkPOs.
However,thereareplanstosupportthisinthenearfuture.
Thereisnodirectwaytodoit.However,workaroundcouldbeusingthespreadsheettouploadin
SourcingtocreateanRFQ,createaquoteoutofit,thenawardittocreatethePO.
Anotherworkaroundsuggestionthatmighthelpistouseanexternalprogramthatmimicskeystrokes
likeDataloadertoenterdocumentsinbulk.
Thisisnotasupportedsolutionbutcouldbehelpfultothecustomeriftheyarelookingtoenter
complexPOsinbulk.
Thedataloadersheettakesalittletimetoprepareandtest(dependingonthecomplexityoftheform)
butitdoesworkandsavesagreatamountoftime
enteringdatainbulk.It'snotsomethingwesupportbutitmaygivecustomerapossibleapproachfor
theinitialdataentryofcomplexPOs.

Whatdocumentstypesaresupported?
Currently,thePurchasingDocumentOpenInterfacecanimportthefollowing:
Blanket
Quotation
Item
SourcingRules
**StandardPurchaseOrderscanbeimportedthroughPOXPDOIinRelease11i
onlywithoneoffPatch1550991.Thisoneoffpatchwillalsobe
includedin11i.PO.D.
**StandardPurchaseOrderscannotbeimportedinrelease11.0.X
http://www.oracleappsquery.com/?q=book/export/html/716

6/13

05/08/2015

ImportStandardPurchaseOrders

**BlanketReleasescannotbeimportedinanyrelease

WhatActionsaresupported?
ORIGINALcreateanewdocument
ADDaddnewlinesontoanexistingdocument
UPDATEupdateexistinglineinformationforadocument
REPLACEReplacetheexistingdocument
Whichinterfacetablesareinvolved?
PO_HEADERS_INTERFACE
PO_LINES_INTERFACE
PO_DISTRIBUTIONS_INTERFACE(UsedforStandardPOonly)

Tocreatenewsourcingrules,populatethefollowingcolumnsinthe
po_lines_interface:
Sourcing_rule_name
Effective_date
Expiration_date
andsetthefollowingparameterwhenrunningthePurchasingDocumentOpen
Interface:
CreateSourcingRules=Yes
ReleaseGenerationMethod=AutomaticRelease
AutomaticRelease/Review
ReleaseUsingAutoCreate

WhichdocumenttypescanbeupdatedbyusingPurchasingDocument
Openinterface?
BlanketsandquotationscreatedbyPurchasingDocumentOpenInterface.
BlanketsandquotationscreatedmanuallyviaOracleApplicationsstandard
formscannotbeupdatedbyusingPurchasingDocumentOpenInterfacesince
thereisnovalueforvendor_order_numforblanketor
quote_vendor_quote_numberforquotation.
Inrelease11.5.10,newlinesandassociatedshipmentscanbeaddedto
anexistingstandardpurchaseordercreatedbyPDOI.ExistinglinesintheStandard
POcannotbeupdatedusingthisprocess.

Whatdocumentcanbeviewedafterrunningpurchasingdocumentopen
interfacewithrecordsrejected?
Checktheprocess_codeinthepo_headers_interfaceandpo_lines_interface,ifitis
'REJECTED',
selectprocess_codefrompo_headers_interface
selectprocess_codefrompo_lines_interface
pleasedothefollowing:
http://www.oracleappsquery.com/?q=book/export/html/716

7/13

05/08/2015

ImportStandardPurchaseOrders

RuntheprogramPurchasingInterfaceErrorsReport
chooseparameter:PO_DOCS_OPEN_INTERFACE
Thereportwilllistalltheerrorsyouhaveduringimporting.Youcanfixthedata,thenreset
process_code=Nullinbothinterfacetables,rerunthePurchasingDocumentOpenInterface.
updatepo_headers_interfacesetprocess_code=null
whereprocess_code='REJECTED'
updatepo_lines_interfacesetprocess_code=null
whereprocess_code='REJECTED'

Howarenewblankets/quotations,newitemsandnewsourcingrules
addedatthesametime?
MakesuretosetthefollowingparameterswhenrunningPurchasing
DocumentsOpenInterface:
CreateorUpdateItem=Yes
CreateSourcingRules=Yes
ReleaseGenerationMethod=AutomaticRelease
AutomaticRelease/Review
ReleaseUsingAutoCreate
Youneedtopopulatethefollowingminimuminformationintheinterface
tables:
PO_HEADERS_INTERFACE
INTERFACE_HEADER_ID=po_headers_interface_s.nextval
ACTION='ORIGINAL'
ORG_IDOperatingunitorganization_id
DOCUMENT_TYPE_CODE='BLANKET'or'QUOTAITON'
VENDOR_ID
VENDOR_SITE_CODE
VENDOR_SITE_ID
EFFECTIVE_DATE
EXPIRATION_DATE
VENDOR_DOC_NUM
LOAD_SOURCING_RULES_FLAG
PO_LINES_INTERFACE
INTERFACE_LINE_IDpo_lines_interface_s.nextval
INTERFACE_HEADER_IDsamevalueasinthepo_headers_interface.
ACTION='ORIGINAL'
ITEM
ITEM_DESCRIPTION
UNIT_PRICE
UNIT_OF_MEASURE
EFFECTIVE_DATE
EXPIRATION_DATE
TEMPLATE_IDorTEMPLATE_NAME
SOURCING_RULE_NAMEifnotpopulate,thesystemdefaultsthe
http://www.oracleappsquery.com/?q=book/export/html/716

8/13

05/08/2015

ImportStandardPurchaseOrders

followingvalue:
'PURCH_OPEN_INTERFACE'||to_char(sourcing_rule_id))

Howisexistinglineinformationupdatedinthepo_lines_alltablefor
BlanketorQuotation.
Hereistheexampleforchangingunit_priceandexpiration_datefortheexistingblanketline.
needtopopulatethefollowingminimuminformationintheinterface
tables:
PO_HEADERS_INTERFACE
INTERFACE_HEADER_ID=po_headers_interface_s.nextval
ACTION='UPDATE'
ORG_ID
DOCUMENT_TYPE_CODE='BLANKET'or'QUOTAITON'
VENDOR_ID
VENDOR_SITE_CODE
VENDOR_SITE_ID
PO_HEADER_IDorDOCUMENT_NUM
EFFECTIVE_DATE
EXPIRATION_DATE
VENDOR_DOC_NUMforblanket,itshouldbeVENDOR_ORDER_NUM
inpo_headers_alltable
forquotation,itshouldbeQUOTE_VENDOR_QUOTE_NUMBER
inthepo_headers_alltable
VENDOR_DOC_NUMisnotarequiredfieldtocreateanew
documentortoupdateanexistingdocument.
But,ifpopulateditwillbevalidatedandwillbeusedtoidentifyanexistingdocument.
PO_LINES_INTERFACE
INTERFACE_LINE_ID=po_lines_interface_s.nextval
INTERFACE_HEADER_IDsamevalueasinthepo_headers_interface.
ACTION='UPDATE'
ORG_ID
PO_LINE_IDorLINE_NUM
PO_HEADER_IDorDOCUMENT_NUM
ITEM
ITEM_DESCRIPTIONmakesuretheitemdescriptionispopulatedright.
UNIT_PRICEifyouwanttochange
UNIT_OF_MEASURE
EXPIRATION_DATEifyouwanttochangehastobe<=EXPIRATION_DATE
intheheader.

Howarenewlinesaddedtoanexistingblanketandquotation?
Needtopopulatethefollowingminimuminformationintheinterfacetables:
PO_HEADERS_INTERFACE
INTERFACE_HEADER_ID=po_headers_interface_s.nextval
ACTION='UPDATE'
ORG_ID
http://www.oracleappsquery.com/?q=book/export/html/716

9/13

05/08/2015

ImportStandardPurchaseOrders

DOCUMENT_TYPE_CODE='BLANKET'or'QUOTAITON'
VENDOR_ID
VENDOR_SITE_CODE
VENDOR_SITE_ID
PO_HEADER_IDorDOCUMENT_NUMtheexistingblanket/quotationnumber
EFFECTIVE_DATEtheexistingblanketstart_date
EXPIRATION_DATEtheexistingblanketend_date
VENDOR_DOC_NUM=ifitisblanket,itshouldbeVENDOR_ORDER_NUM
oftheexistingblanket
ifitisquotation,itshouldbeQUOTE_VENDOR_QUOTE_NUMBER
oftheexistingquotation.
VENDOR_DOC_NUMisnotarequiredfieldtocreateanew
documentortoupdateanexistingdocument.
But,ifpopulateditwillbevalidatedandwillbeused
toidentifyanexistingdocument.
PO_LINES_INTERFACE
INTERFACE_LINE_IDpo_lines_interface_s.nextval
INTERFACE_HEADER_IDsamevalueasinthepo_headers_interface.
ACTION='ADD'
PO_HEADER_IDorDOCUMENT_NUMtheexistingblanket/quotationnumber
ITEM_IDorITEM
UNIT_PRICE
UNIT_OF_MEASURE
EFFECTIVE_DATE
EXPIRATION_DATE

Howisquantitypopulatedinpo_lines_interface?
Ifshipment_numpopulatedinthepo_lines_interface,thenthequantityneedstobe
populated.Thesystemconsidersthelineaspricebreak.
Ifitdoesnotpopulateshipment_numinthepo_lines_interface,thenquantityshouldbenull(sinceitis
blanketorquotation).Otherwisewillgetthefollowingerror:
PO_INTERFACE_ERRORS
Someerrorsaddressedinreportare:
UNIQUE_IDDETAILIDERROR_MESSAGEERROR_TEXT
61614623724PO_PDOI_COLUMN_NOT_NULLColumnQUANTITYshouldnotbe
NULL.

Howisanexistingblanketorquotationreplaced?
1)Itlooksforthedocumentsthathavethesamevendordocumentnumberandvendor_id
(vendor_order_numforblanket,quote_vendor_quote_numberforquotation)
asthereplacementdocuments(olddocuments).
2)Amongthosedocumentswithmatchingvendordocumentnumbersandvendor_id,
itlooksfortheolddocumentwitheffectivedateandexpirationdate
thatarethesameas,oroutsidetheeffectivitydatesofnewdocument
(effectivitydatesindicatedintheheaderinterface).
3)Itinvalidatestheolddocumentsbysettingtheirexpirationdates
http://www.oracleappsquery.com/?q=book/export/html/716

10/13

05/08/2015

ImportStandardPurchaseOrders

(end_date)toeffective_date1
(theeffectivedateindicatedintheheaderinterface,minusone)
andcreatesnewdocumentwiththenewinformation(newponumber,po_header_id)
andtheeffectivitydatesindicatedintheheaderinterface.
needtopopulatethefollowingminimuminformationintheinterfacetables:
PO_HEADERS_INTERFACE
INTERFACE_HEADER_ID=po_headers_interface_s.nextval
ACTION='REPLACE'
ORG_ID
DOCUMENT_TYPE_CODE='BLANKET'or'QUOTAITON'
VENDOR_ID
VENDOR_SITE_CODE
VENDOR_SITE_ID
EFFECTIVE_DATEstart_datefortheblanket/quotationyouwantto
replace
EXPIRATION_DATEend_datefortheblanket/quotationyouwanttoreplace
VENDOR_DOC_NUMforblanket,itshouldbeVENDOR_ORDER_NUMoftheblanketyouwant
toreplace
forquotation,itshouldbeQUOTE_VENDOR_QUOTE_NUMBER
ofthequotationyouwanttoreplace
VENDOR_DOC_NUMisnotarequiredfieldtocreateanew
documentortoupdateanexistingdocument.
But,ifpopulateditwillbevalidatedandwillbeused
toidentifyanexistingdocument.
PO_LINES_INTERFACE
INTERFACE_LINE_IDpo_lines_interface_s.nextval
INTERFACE_HEADER_IDsamevalueasinthepo_headers_interface.
ACTION='REPLACE'
ITEM_IDorITEM
UNIT_PRICE
UNIT_OF_MEASURE
EFFECTIVE_DATEitshouldbe>=start_dateoftheblanket/quotationyouwanttoreplace
EXPIRATION_DATEitshouldbe<=end_dateoftheblanket/quotationyouwanttoreplace

Howarethedefaultrulesapplied?
Defaultsdonotoverridevaluesthatyoupopulateintheinterfacetables.
Defaultvaluesthatarenolongeractiveorvalidarenotused.

Isthereanexamplescripttoloadnewblanket,newitem,newsourcing
rule?
insertintopo_headers_interface
(interface_header_id,
action,
org_id,
document_type_code,
vendor_id,
vendor_site_code,
http://www.oracleappsquery.com/?q=book/export/html/716

11/13

05/08/2015

ImportStandardPurchaseOrders

vendor_site_id,
effective_date,
expiration_date,
Vendor_doc_num,
load_sourcing_rules_flag)
values
(po_headers_interface_s.nextval,
'ORIGINAL',
204,
'BLANKET',
21,
'SANTACLARA',
41,
'01JAN2001',
'01JAN2002',
'VENDOR02',
'Y')
insertintopo_lines_interface
(interface_line_id,
interface_header_id,
action,
item,
item_description,
unit_price,
unit_of_measure,
effective_date,
expiration_date,
template_name,
sourcing_rule_name)
values
(po_lines_interface_s.nextval,
po_headers_interface_s.currval,
'ORIGINAL',
'BB54888',
'BB54888Description',
10,
'Each',
'01JAN2001',
'01JAN2002',
'PurchasedItem',
'SourcingRuleBB54888')

Howisdatadeletedfromtheinterfacetablesafterithasbeenloaded?
Afterloadingthedatafromtheinterfacetablesintothesystemsuccessfully,thedataisnot
beingremoved(cleaned)fromtheinterfaces.
Theywillhaveprocess_code='ACCEPT'intheinterfacetables.
Toremovetheprocesseddatafromtheinterface,aconcurrentprogramisavailable.Theprogram
nameis:purgepurchasingopeninterfaceprocesseddata(POXPOIPR)
http://www.oracleappsquery.com/?q=book/export/html/716

12/13

05/08/2015

ImportStandardPurchaseOrders

Runthisprogramwithparamenterpurgeaccepteddata=Yes
Thentheprocess_code='ACCEPTED'recordswillberemovedfromtheinterfacetables.

http://www.oracleappsquery.com/?q=book/export/html/716

13/13

You might also like