Sie sind auf Seite 1von 11

099- IMP Queries

SELECT*
FROMapps.laud_audit_transactions_b
WHEREpk_val1_id='125554'
ANDpk_val3_id=140
ANDtransaction_date>SYSDATE10
ORDERBYTRANSACTION_DATEDESC;
SELECT*
FROMapps.MSIINV_ITEM_DETAILS_FMW_STG
WHEREpart_number='FLN4001A'
ORDERBYlog_idDESC;

MainCursor
/*CURSORcur_upd_rec(
ld_run_dateINDATE)
IS*/
((SELECTTO_NUMBER(latb.pk_val1_id)inventory_item_id
FROMapps.laud_audit_transactions_blatb
WHERElatb.transaction_date>SYSDATE4
ANDlatb.pk_val1_id='5805'AddedbyKumud
AND((latb.table_name='MTL_SYSTEM_ITEMS_B'
ANDlatb.pk_col2='ORGANIZATION_ID'
ANDlatb.column_nameIN('SEGMENT1',
'DESCRIPTION',
'UNIT_WEIGHT',
'WEIGHT_UOM_CODE')
ANDlatb.pk_val2_idIN(SELECTmp.organization_id
FROMapps.mtl_parameters
mp
WHEREmp.organization_id
=

master_organization_id))
ORADDEDforRelease
4.1.1
((latb.table_name='MTL_SYSTEM_ITEMS_B'
ANDlatb.pk_col2='ORGANIZATION_ID'
ANDlatb.column_name='ATTRIBUTE6'
ANDlatb.pk_val2_idIN(SELECT
mp.organization_id
FROM
apps.mtl_parametersmp)))
OR

(latb.table_name='MTL_ITEM_CATEGORIES'
AND(latb.pk_col3='ORGANIZATION_ID'
ANDlatb.pk_val3_idIN(SELECT
mp1.organization_id

FROM
apps.mtl_parametersmp1
WHERE
mp1.organization_id=

master_organization_id))
AND(latb.pk_col2='CATEGORY_SET_ID'
ANDlatb.pk_val2_idIN(SELECT
mcs.category_set_id
FROM
apps.mtl_category_setsmcs
WHERE
mcs.category_set_nameIN(SELECTflv.meaning

FROMapps.fnd_lookup_valuesflv

ChangedforQ2O_INT_099

/*WHEREflv.lookup_type=

'MSIINV_ITEM_CATSET'

ANDflv.lookup_codeIN('ECCN',

'HTSCODE',

'BATTERYCOO',

'IATABATT',

'EUHTSCODE',

'EUECCN')*/

WHEREflv.lookup_type=

'MSIINV_ITEM_CATSET_TSE'

ANDlanguage=

USERENV(

'lang')

ANDflv.enabled_flag=

'Y'

ANDTRUNC(

SYSDATE)BETWEENTRUNC(

flv.start_date_active)


ANDNVL(

TRUNC(

flv.end_date_active),

SYSDATE)))))
ORADDEDforRelease
4.1.1
(latb.table_name='MTL_ITEM_CATEGORIES'
AND(latb.pk_col3='ORGANIZATION_ID'/*AND

latb.pk_val3_idIN

(SELECTmp1.organization_id

FROMmtl_parametersmp1

WHEREmp1.organization_id=master_organization_id)*/
)
AND(latb.pk_col2='CATEGORY_SET_ID'
ANDlatb.pk_val2_idIN(SELECT
mcs.category_set_id
FROM
apps.mtl_category_setsmcs
WHERE
mcs.category_set_nameIN(SELECTflv.meaning

FROMapps.fnd_lookup_valuesflv

WHEREflv.lookup_type=

'MSIINV_ITEM_CATEGORYSET'

ANDflv.lookup_codeIN('COUNTRYOFORIGIN',

'FCC')

ANDlanguage=

USERENV(

'lang')

ANDflv.enabled_flag=

'Y'

ANDTRUNC(

SYSDATE)BETWEENTRUNC(


flv.start_date_active)

ANDNVL(

TRUNC(

flv.end_date_active),

SYSDATE)))))))
UNION
(ChangedforQC
1973
(SELECTDISTINCT
TO_NUMBER(NVL(lat.old_value,lat.new_value))
inventory_item_id
FROMapps.laud_audit_transactions_blat
WHEREtable_name='MTL_MFG_PART_NUMBERS'
ANDcolumn_name='INVENTORY_ITEM_ID'
ANDtransaction_date>SYSDATE4)ChangedforQC
1973
)
UNION
(SELECTTO_NUMBER(mmpn1.inventory_item_id)inventory_item_id
FROMapps.mtl_mfg_part_numbersmmpn1
WHEREmmpn1.manufacturer_id=commentedaspartof
CRQ000000240177
WHEREmmpn1.manufacturer_idINaddedaspartof
CRQ000000240177
(SELECTDISTINCTpk_val1_id
FROM
apps.laud_audit_transactions_blat2
WHERElat2.table_name=

'MTL_MANUFACTURERS'
ANDlat2.column_name=
'ATTRIBUTE1'
AND
lat2.transaction_date>
SYSDATE4)
ANDmmpn1.organization_idIN(SELECTorganization_id
FROMapps.mtl_parameters
WHEREorganization_id=

master_organization_id)));

CURSORcur_upd_item_det
IS
SELECTmidt.inventory_item_id
FROMxxmsi.msiinv_item_details_tabmidt
WHEREmidt.status_flag='U';

/*CURSORcur_prodcount_details(
pin_item_idINNUMBER)
IS*/
SELECTmsi.inventory_item_id,
(SELECTmc1.category_concat_segs
FROMapps.mtl_category_setsmcs1,
apps.mtl_categories_vmc1,
apps.mtl_item_categoriesmic1
WHEREmic1.inventory_item_id=msi.inventory_item_id
ANDmic1.organization_id=msi.organization_id
ANDmc1.category_id=mic1.category_id
ANDmcs1.category_set_id=mic1.category_set_id
ANDmcs1.category_set_name=
(SELECTflv1.meaning
FROMapps.fnd_lookup_valuesflv1
WHEREflv1.lookup_type=
'MSIINV_ITEM_CATSET_TSE'
ANDflv1.lookup_code='ECCN'
ANDlanguage=USERENV('lang')
ANDflv1.enabled_flag='Y'
ANDTRUNC(SYSDATE)BETWEENTRUNC(

flv1.start_date_active)
ANDNVL(
TRUNC(

flv1.end_date_active),
TO_DATE
(
'31
DEC4712',
'DD
MONYYYY'))))
eccn,
(SELECTmc2.segment1
FROMapps.mtl_category_setsmcs2,
apps.mtl_categories_bmc2,
apps.mtl_item_categoriesmic2
WHEREmic2.inventory_item_id=msi.inventory_item_id
ANDmic2.organization_id=msi.organization_id
ANDmc2.category_id=mic2.category_id
ANDmcs2.category_set_id=mic2.category_set_id
ANDmcs2.category_set_name=
(SELECTmeaning
FROMapps.fnd_lookup_values
WHERElookup_type=
'MSIINV_ITEM_CATSET_TSE'cv_lookup_type
ANDlookup_code='HTSCODE'
CommentedforQ2O_INT_099
ANDlookup_code='HTSUSCODE'
AddedforQ2O_INT_099
ANDlanguage=USERENV('lang')
ANDenabled_flag='Y'

ANDTRUNC(SYSDATE)BETWEENTRUNC(

start_date_active)
ANDNVL(
TRUNC(

end_date_active),

SYSDATE)))
hts,
AddedforRFC
msi.shippable_item_flag
FROMapps.mtl_system_items_bmsi
WHEREmsi.inventory_item_id=237770pin_item_id
ANDmsi.organization_idIN(SELECTmp.organization_id
FROMapps.mtl_parametersmp
WHEREmp.organization_id=

mp.master_organization_id);

Hi Kumud,
Following defects raised for the TSE item
Defect 3347 : COO (GLO) Interface Failed
SA_OTC_192 step 5: Updated GLO level Country of Origin value (FR) does not
interface from EBS to TSE.
Sidhwartha Ganguly <wxg348>, 4/18/2016: Please provide details of test data.
________________________________________
Michelle Hill <qa3739>, 4/19/2016: Please refer to script and evidence files for
SA_OTC_192 at https://drive.google.com/open?
id=0B9pcANW3s3muT0E4SzA2R040WHM
________________________________________
Tushar Lad <vhp867>, 4/20/2016: Technical team is working on this..
Resolution The item 'FLN4001A'with COO FR available in Ebiz-FMW staging table
with status P
SELECT*
FROMapps.MSIINV_ITEM_DETAILS_FMW_STG
WHEREpart_number='FLN4001A'
ORDERBYlast_modified_dateDESC;

Defect 3358 :Updated Malaysia ECCN/HTS not interfaced to TSE


SA_OTC_192, Step 5
Malaysia HTS not updated in TSE after HTS MY CODE updated in EBS.
Malaysia ECCN not updated in TSE after ECCN US updated in EBS

Sidhwartha Ganguly <wxg348>, 4/18/2016:


Please provide the details of the test data.
Tech team will look into the issue.
________________________________________
Michelle Hill <qa3739>, 4/19/2016: Please refer to script and evidence files for
SA_OTC_192 at https://drive.google.com/open?
id=0B9pcANW3s3muT0E4SzA2R040WHM
________________________________________
Tushar Lad <vhp867>, 4/20/2016: Technical team is working on this..
Defect 3359 :Updated Org level COO interface fail
SA_OTC_192 Step 5
Updated Org level COO value "CA" did not interface to TSE when updated in EBS org
US2.
Sidhwartha Ganguly <wxg348>, 4/18/2016: Please provide the details of test data.
Tech team will look into the issue.
________________________________________
Michelle Hill <qa3739>, 4/19/2016: Please refer to script and evidence files for
SA_OTC_192 at https://drive.google.com/open?
id=0B9pcANW3s3muT0E4SzA2R040WHM
________________________________________
Tushar Lad <vhp867>, 4/20/2016: Technical team is working on this..
Balaji Wadje <fkq748>, 4/25/2016: Re-tested the Scenaio and please find the details as.
1. Updated the COO at Org leve. -- > IL to CA
2. Records inserted into GRC table with the value.
3. No data insereted into FMW staging table
4. As no data at FMW , data not interfaced to TSE.

Resolution As per the existing logic of item interface Only Master Org level update
will reflect to TSE, no other update will reflect
Defect 3362 : ECCN US "DOS13" interfaced incorrectly to US record in TSE
SA_QTO_192 Step 5
ECCN US / ECCN EU were updated in EBS to DOS13.b. The US Sub ECN was
interfaced incorrectly to TSE:
US sub ECN interfaced as "b.", should be "xiii(b)(1)".
DE and GB records are correct in TSE. Malaysia record did not get updated in TSE at
all.
Defect 3511 : Product Updates in R12 not sending to TSE

Making updates to product 0104047J21 and the most recent change I made was the ECCN to EAR99.NR
and description change today.
Not seeing the updates transferred into TSE.

Not sure what artifacts you are looking for here? I provided a sample product (it
could be anything), a sample update (ECCN and description value change). Per the
RICEW these updates should be transferred to TSE. There are Audit tables in Item
Master which are processed by the FMW integrattion layer to send to TSE via
staging tables. None of this activity appears to be found in the tables. If you can
get an update to appear in the TSE staging tables with a status of complete, then it
should be working for me to validate again in TSE.
DECLARE
lv_text VARCHAR2 (32767) :=
'<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsa="http://www.w3.org/2005/08/addressing"><env:Header><wsa:Message
ID>urn:e4df3d9b-1214-11e6-9e06005056150b45</wsa:MessageID><wsa:ReplyTo><wsa:Address>http://www.w3.org
/2005/08/addressing/anonymous</wsa:Address><wsa:ReferenceParameters><inst
ra:tracking.ecid xmlns:instra="http://xmlns.oracle.com/sca/tracking/1.0">f73f587ce0c5-469e-aa4d-5cc075c2c8120017f0f6</instra:tracking.ecid><instra:tracking.FlowEventId
xmlns:instra="http://xmlns.oracle.com/sca/tracking/1.0">6934850</instra:tracking.
FlowEventId><instra:tracking.FlowId
xmlns:instra="http://xmlns.oracle.com/sca/tracking/1.0">1310583</instra:tracking.
FlowId><instra:tracking.CorrelationFlowId
xmlns:instra="http://xmlns.oracle.com/sca/tracking/1.0">0000LHw_mivEgKJLMmWB
ye1N8l5q00009I</instra:tracking.CorrelationFlowId><instra:tracking.quiescing.SCA
EntityId
xmlns:instra="http://xmlns.oracle.com/sca/tracking/1.0">580019</instra:tracking.q
uiescing.SCAEntityId></wsa:ReferenceParameters></wsa:ReplyTo><wsa:FaultTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
</wsa:FaultTo></env:Header><env:Body><ItemValidationResponse
xmlns:ns2="http://schemas.oracle.com/bpel/extension"
xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:client="http://xmlns.oracle.com/TSE/ItemInformationToTSEReq/ItemInformatio
nToTSEReqBPELProcess" xmlns:ns0="http://com.fmw.tse.integration/MSI/ABM"
xmlns="http://com.fmw.tse.integration/MSI/ABM"><return
xmlns=""><code>33200</code><description>Vastera Product Update API call
Successful</description><PartnerGPData>&lt;?xml version="1.0" encoding="UTF8"?&gt;
&lt;GPData ColumnSpecification="COMPLETE"
EntityDataHandlerName="ProductResourceHandler_pull"
StorageMethod="REPLACE"&gt;&lt;ems_prod created_by="C16939"
created_date="16-Mar-2016 19:15:26" last_modified_by="C16939"
last_modified_date="16-Mar-2016 19:15:26" long_desc=""
prod_id="LSV00Q00007A" std_desc="DEVICE REMOVE AND REINSTALL"
sub_org="100" user_varchar_1="GREENFIELD"&gt;&lt;ems_prod_ctry

created_by="C16939" created_date="16-Mar-2016 19:15:26" ctry_code="US"


eccn_num="" exp_desc="" hts_num="" last_modified_by="C16939"
last_modified_date="16-Mar-2016 19:15:26" lga_code="" prod_id="LSV00Q00007A"
sub_eccn_num="" sub_org="100"
user_varchar_1="GREENFIELD"/&gt;&lt;ems_prod_ctry created_by="C16939"
created_date="16-Mar-2016 19:15:26" ctry_code="DE" eccn_num="" exp_desc=""
hts_num="" last_modified_by="C16939" last_modified_date="16-Mar-2016
19:15:26" lga_code="" sub_eccn_num=""
user_varchar_1="GREENFIELD"/&gt;&lt;ems_prod_ctry created_by="C16939"
created_date="16-Mar-2016 19:15:26" ctry_code="GB" eccn_num="" exp_desc=""
hts_num="" last_modified_by="C16939" last_modified_date="16-Mar-2016
19:15:26" lga_code="" sub_eccn_num=""
user_varchar_1="GREENFIELD"/&gt;&lt;ems_prod_ctry created_by="C16939"
created_date="16-Mar-2016 19:15:26" ctry_code="MY" eccn_num="" exp_desc=""
hts_num="" last_modified_by="C16939" last_modified_date="16-Mar-2016
19:15:26" lga_code="" sub_eccn_num=""
user_varchar_1="GREENFIELD"/&gt;&lt;ems_prod_ctry created_by="C16939"
created_date="16-Mar-2016 19:15:26" ctry_code="US" eccn_num="" exp_desc=""
hts_num="" last_modified_by="C16939" last_modified_date="16-Mar-2016
19:15:26" lga_code="" sub_eccn_num=""
user_varchar_1="GREENFIELD"/&gt;&lt;/ems_prod&gt;&lt;/GPData&gt;</PartnerGPD
ata></return></ItemValidationResponse></env:Body></env:Envelope>'
;
lx_resp XMLTYPE;
lv_test VARCHAR2 (32767);
lv_test2 VARCHAR2 (32767);
BEGIN
lx_resp := xmltype.createxml (lv_text);
lv_test := lx_resp.getStringVal(); --TO_CHAR(lx_resp);
DBMS_OUTPUT.PUT_LINE('lx_resp:- '||lv_test);
IF lx_resp.EXTRACT ( '/env:Envelope/env:Body/child::node()',
'xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"') IS NOT NULL THEN
DBMS_OUTPUT.PUT_LINE('We are at 10 ');
lx_resp := lx_resp.EXTRACT ( '/env:Envelope/env:Body/child::node()',
'xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"');
lv_test2 := lx_resp.getStringVal();
DBMS_OUTPUT.PUT_LINE('lv_test2:- '||lv_test2);
END IF;
END;

3347 - closed,
3358 already assigned Balaji,
3359 already assigned Balaji,
3362 already assigned Balaji,
3511 - Closed

4656 now assigned Balaji,


4662 now assigned Balaji,
4659 now assigned Balaji,

Defect#4656

Defect#3362

<productCountryDetails>
<countryCode>US</countryCode>
<LGACode>DDTC</LGACode>
<ECCN>XIII</ECCN>
<subECCN>xiii(b)(1)</subECCN>
<exportDescription></exportDescription>
<HTSNumber></HTSNumber>
</productCountryDetails>

Das könnte Ihnen auch gefallen