DFF on Material Transaction form ...
On Material Transaction form I want to display receiving_transaction_id on DFF segment1 using "fetch value from column", but system display empty column even receiving_transaction_id place in MMT tables / Form.
Pl help me in this regard.
Regards,
Ok now I get it.
You have a couple of options.
1) Write a before-insert d/b trigger on mtl_material_transactions. This trigger fires if rcv_transaction_id is not
null and gets the RCV DFF values and populates :new.attrbutex values in mtl_material_transaction.
2) Write a conc. program that runs every x minutes/hours and finds the latest mtl_material_transaction records and
updates the mmt DFF values by reading the corresponding rcv record.
3) Write a personalization on the mmt screen. The personalization adds a menu option that says "Additional receipt
details". This option is enabled only if the rcv_transaction_id is not null.
When the user clicks on the menu option, the personalization fires and displays the following message
=Select 'Additional Receipt Details' || chr(10) || 'Dept=' || rt.attribute1 from rcv_transactions where
transaction_id = :results.rcv_transaction_id
In my opinion, option 1 is worst, 2 is bad and 3 is best.
Hope this helps,
Sandeep Gandhi
Similar Messages
-
Problem in material transactions distibution
hi
I have created a purchase order, made receipt When I see the receiving transactions, view receiving transactions summary it is ok I can see the valid data But when I open the material transactions form or transaction summries form in inventory and when i click on my purchase order number no=, I notice that the distribution tab is disabled What can be the reason ? Can you pls advise ?Hi,
If u define your condition type is manual and if you do any changes in quantity of order in change mode then manual condition will not be determined automatically. Again u have to enter it manually and then save it in change mode itself..
Regards
sankar -
Calling Serail/Lot block of Transactions form using zoom functionality
Hello Everyone,
I would like to call Serial/Lot Control block of Material Transactions form in Accounts Payables using zoom fucntionality. However the find screen of material transactions is displayed and not the serial/LOT block. Can any one help me in resolving the issue so that when zoom is clicked, it directly navigates to Serial/LOT block.
Thank You,
SrinivasHi Srinivas;
Please check:
Sample CUSTOM Library Code To Customize Applications [ID 744065.1]
Zoom Functionality Does Not Work In Lease Centre Form [ID 358917.1]
ORDER MANAGEMENT SUITE - USAGE OF CUSTOM LIBRARY CUSTOM.pll [ID 438922.1]
Oracle IPM Web Integration Troubleshooting Guide [ID 445663.1]
Please also check this search, i belive you can find many helpul steps in this search
http://www.google.com.tr/search?hl=tr&source=hp&q=custom+pll%2Bzoom+functionality&meta=&aq=f&oq=
Hope it helps
Regard
Helios -
View Material Transactions across several Inventory Organizations
Client has five different inventory orgs onsite. (only one OU) There are transactions within and between orgs on a daily basis.
Oracle "Material Transactions" form displays inventory transactions only for a specific inventory organization.
Users have requested that they would like to be able to view Material Transactions for all five inventory orgs without having to change orgs each time.
Would it be possible to use a form personalization to be able to do this? Or custom report?
Has anyone come across this before. Any help would be appreciated.Hi,
Form personalization may not be possible for this requirement, please create a custom report.
Thanks
Karthik. -
MIGO - MB02 - MB90 Print material document forms
Hi,
I want to print out a material document form associated to material transfer within the same plant. Movement 311/411 & 415.
As for today the procedure is to create the material doc (MIGO) -> declare the message associated (MB02) -> print (MB90). Is there a way to suppress the MB02 transaction by adding a button to MIGO? (or any other better way).
Thanks in advance... points awaiting.
GarciaHi,
II. Pls check the below settings for GR Print out:
1. Maintain the Printer Name in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Printer Setting
2. Ensure that in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Item Print Indicator, 1 stands for Matl Doc print out
3. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Print Version, maintain Print Version 2
4. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Maintain Print Indicator for GI/Transfer Posting Documents
5. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Output Determination->Maintain Output Types, for the Output types WE01, WE02 and WE03, ensure the foll:
a. Default Values: Dispatch Time is 3 or 4 as per reqmt. and Tr medium is 1
b. Print Parameter is 7
6. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Output Determination->Printer Det->Pr Det by Pl/StoLoc, maintain the Output device for all your Plants
7. Go to MN21, for Tr Type WE, Print Version 3, maintain Print Item as 1.
Now the settings are ready for Printing Material doc
8. While doing MIGO, ensure that in General Tab, you get "3 Collective Slip" beside the Print Indicator and you tick mark the field.
9. Now depending on the setting in 5a, the Matl doc is printed. If it is 3, you have to print it using MB90. If it is 4, it is printed immediately.
Regards,
Manish -
BAPI needed for change material(Transaction : MM02)
Hi all,
We have a requirement where in we need to post the documents throuh BAPI for change material (Transaction: MM02).
Any inputs on this..is highly appreciable...
thanks in advance...
regards..
prathima.CHECK THIS CODE
*& Report ZBAPI_MATERIAL_SAVEDATA
REPORT ZBAPI_MATERIAL_SAVEDATA NO STANDARD PAGE HEADING MESSAGE-ID (ZHNC).
TYPES:BEGIN OF TY_MAT,
MATERIAL(4),
IND_SECTOR(1),
MATL_TYPE(4),
MATL_GROUP(9),
BASE_UOM(3),
BASE_UOM_ISO(3),
PLANT(4),
DEL_FLAG(1),
PUR_GROUP(3),
BASE_QTY(13),
STGE_LOC(4),
MRP_IND(1),
SALES_ORG(4),
DISTR_CHAN(2),
DEL_FLAG1(1),
MIN_ORDER(13),
LANGU(2),
MATL_DESC(40),
END OF TY_MAT.
DATA: IT_DATA TYPE TABLE OF TY_MAT,
WA_DATA LIKE LINE OF IT_DATA.
*decalraing flag
data: v_flag value ''.
*DECLARING WORK AREAs TO BE PASSED TO THE FUNCTION MODULE.
DATA: BAPI_HEAD LIKE BAPIMATHEAD,
BAPI_CLIENTDATA LIKE BAPI_MARA,
BAPI_CLIENTDATAX LIKE BAPI_MARAX,
BAPI_PLANTDATA LIKE BAPI_MARC,
BAPI_PLANTDATAX LIKE BAPI_MARCX,
BAPI_STORAGELOCATIONDATA LIKE BAPI_MARD,
BAPI_STORAGELOCATIONDATAX LIKE BAPI_MARDX,
BAPI_SALESDATA LIKE BAPI_MVKE,
BAPI_SALESDATAX LIKE BAPI_MVKEX,
BAPI_MAKT LIKE BAPI_MAKT,
BAPI_RETURN LIKE BAPIRET2.
*INTERNAL TABLE TO HOLD THE MATERIAL DESCRIPTION
DATA: BEGIN OF IT_MAKT OCCURS 0.
INCLUDE STRUCTURE BAPI_MAKT.
DATA END OF IT_MAKT.
DATA:BEGIN OF IT_RET OCCURS 0.
INCLUDE STRUCTURE BAPIRET2.
DATA END OF IT_RET.
*INTERNAL TABLE TO HOLD HEADER DATA
DATA: IT_EXCEL TYPE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
*SELECTION-SCREEN ELEMENTS
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETER: FNAME TYPE RLGRAP-FILENAME OBLIGATORY DEFAULT 'C:\Documents and Settings\Administrator\Desktop\MATMAS.XLS' .
PARAMETERS: P_BEGCOL TYPE I DEFAULT 1 NO-DISPLAY,
P_BEGROW TYPE I DEFAULT 1 NO-DISPLAY,
P_ENDCOL TYPE I DEFAULT 100 NO-DISPLAY,
P_ENDROW TYPE I DEFAULT 32000 NO-DISPLAY.
SELECTION-SCREEN END OF BLOCK B1.
*DECLARATION OF EXCELAL TABLE
AT SELECTION-SCREEN ON VALUE-REQUEST FOR FNAME.
PERFORM F_GET_FILE USING FNAME.
START-OF-SELECTION.
PERFORM F_XLS_ITAB USING FNAME
CHANGING IT_EXCEL.
PERFORM F_MOVE_DATA.
perform F_GET_DATA.
*& Form F_GET_FILE
text
-->P_FNAME text
<--P_SY_SUBRC text
FORM F_GET_FILE USING P_FNAME LIKE FNAME.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
EXPORTING
PROGRAM_NAME = SYST-REPID
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = ' '
STATIC = ' '
MASK = ' '
CHANGING
FILE_NAME = P_FNAME
EXCEPTIONS
MASK_TOO_LONG = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE E006(ZHNC).
ENDIF.
ENDFORM. " F_GET_FILE
*& Form F_XLS_ITAB
text
-->P_FNAME text
<--P_IT_EXCEL text
FORM F_XLS_ITAB USING P_FNAME
CHANGING P_IT_EXCEL.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
FILENAME = FNAME
I_BEGIN_COL = P_BEGCOL
I_BEGIN_ROW = P_BEGROW
I_END_COL = P_ENDCOL
I_END_ROW = P_ENDROW
TABLES
INTERN = IT_EXCEL
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
UPLOAD_OLE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " F_XLS_ITAB
*& Form F_MOVE_DATA
text
--> p1 text
<-- p2 text
FORM F_MOVE_DATA .
DATA : LV_INDEX TYPE I.
FIELD-SYMBOLS <FS>.
*--- Sorting the internal table
SORT IT_EXCEL BY ROW COL.
CLEAR IT_EXCEL.
LOOP AT IT_EXCEL.
MOVE IT_EXCEL-COL TO LV_INDEX.
*--- Assigning the each record to an internal table row
ASSIGN COMPONENT LV_INDEX OF STRUCTURE WA_DATA TO <FS>.
*--- Asigning the field value to a field symbol
MOVE IT_EXCEL-VALUE TO <FS>.
AT END OF ROW.
APPEND WA_DATA TO IT_DATA.
CLEAR WA_DATA.
ENDAT.
ENDLOOP.
ENDFORM. " F_MOVE_DATA
*& Form F_GET_DATA
text
--> p1 text
<-- p2 text
FORM F_GET_DATA .
LOOP AT IT_DATA INTO WA_DATA.
MOVE-CORRESPONDING WA_DATA TO BAPI_HEAD.
BAPI_HEAD-BASIC_VIEW ='X'.
BAPI_HEAD-SALES_VIEW ='X'.
BAPI_HEAD-PURCHASE_VIEW ='X'.
BAPI_HEAD-STORAGE_VIEW ='X'.
MOVE-CORRESPONDING WA_DATA TO BAPI_CLIENTDATA.
BAPI_CLIENTDATAX-MATL_GROUP = 'X'.
BAPI_CLIENTDATAX-BASE_UOM = 'X'.
BAPI_CLIENTDATAX-BASE_UOM_ISO = 'X'.
MOVE-CORRESPONDING WA_DATA TO BAPI_PLANTDATA.
BAPI_PLANTDATAX-PLANT = BAPI_PLANTDATA-PLANT.
BAPI_PLANTDATAX-DEL_FLAG = 'X'.
BAPI_PLANTDATAX-PUR_GROUP = 'X'.
BAPI_PLANTDATAX-BASE_QTY = 'X'.
MOVE-CORRESPONDING WA_DATA TO BAPI_STORAGELOCATIONDATA.
BAPI_STORAGELOCATIONDATA-PLANT = BAPI_PLANTDATA-PLANT.
BAPI_STORAGELOCATIONDATAX-PLANT = BAPI_STORAGELOCATIONDATA-PLANT.
BAPI_STORAGELOCATIONDATAX-STGE_LOC = BAPI_STORAGELOCATIONDATA-STGE_LOC.
BAPI_STORAGELOCATIONDATAX-MRP_IND = 'X'.
MOVE-CORRESPONDING WA_DATA TO BAPI_SALESDATA.
BAPI_SALESDATAX-SALES_ORG = BAPI_SALESDATA-SALES_ORG.
BAPI_SALESDATAX-DISTR_CHAN = BAPI_SALESDATA-DISTR_CHAN.
BAPI_SALESDATAX-DEL_FLAG = BAPI_SALESDATA-DEL_FLAG.
BAPI_SALESDATAX-MIN_ORDER = 'X'.
REFRESH IT_MAKT.
IT_MAKT-LANGU = WA_DATA-LANGU.
IT_MAKT-MATL_DESC = WA_DATA-MATL_DESC.
APPEND IT_MAKT.
CLEAR IT_RET.
REFRESH IT_RET.
PERFORM F_CALL_BAPI.
READ TABLE IT_RET WITH KEY TYPE = 'S'.
IF SY-SUBRC EQ 0.
PERFORM F_BAPI_COMMIT.
WRITE:/ 'MATERIAL CREATED OR UPDATED SUCESSFULLY WITH MATERIAL NO',WA_DATA-MATERIAL.
ELSE.
MESSAGE E000(ZHNC) WITH 'ERROR IN CREATING THE MATERIAL'.
*WRITE: / 'ERROR IN CREATIN MATERIAL',IT_RET-MESSAGE.
*PERFORM F_DOWNLOAD.
ENDIF.
*ENDIF.
ENDLOOP.
ENDFORM. " F_GET_DATA
*& Form F_CALL_BAPI
text
--> p1 text
<-- p2 text
FORM F_CALL_BAPI .
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
HEADDATA = BAPI_HEAD
CLIENTDATA = BAPI_CLIENTDATA
CLIENTDATAX = BAPI_CLIENTDATAX
PLANTDATA = BAPI_PLANTDATA
PLANTDATAX = BAPI_PLANTDATAX
STORAGELOCATIONDATA = BAPI_STORAGELOCATIONDATA
STORAGELOCATIONDATAX = BAPI_STORAGELOCATIONDATAX
SALESDATA = BAPI_SALESDATA
SALESDATAX = BAPI_SALESDATAX
IMPORTING
RETURN = IT_RET
TABLES
MATERIALDESCRIPTION = IT_MAKT
UNITSOFMEASURE =
UNITSOFMEASUREX =
INTERNATIONALARTNOS =
MATERIALLONGTEXT =
TAXCLASSIFICATIONS =
RETURNMESSAGES =
PRTDATA =
PRTDATAX =
EXTENSIONIN =
EXTENSIONINX =
APPEND IT_RET.
ENDFORM. " F_CALL_BAPI
*& Form F_BAPI_COMMIT
text
--> p1 text
<-- p2 text
FORM F_BAPI_COMMIT .
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT =
IMPORTING
RETURN =
ENDFORM. " F_BAPI_COMMIT -
MTL MATERIAL TRANSACTION error 'CALL_TO_CONTRACTS'. Please help.
I am getting the following error from the MTL_TRANSACTIONS_INTERFACE table while running a material transaction.
You have encountered an unexpected error in 'CALL_TO_CONTRACTS': (No Data Found).
I know that there is an query not being properly fulfilled and it's giving me back this error.
Does anybody know the specific reason that this error happens?
I don't know how to track down where this query is. I'm trying to find the package that it is in.
Any help would be meet with much thanks.I get this error too when trying to display a content area with a single URL element (displaying the CA as a portlet).
When the URL is set to open in a NEW window no error.
But if I select the URL item to open inside the folder (CA) I get the error.
Pls let me know if you find a solution since I would like to have my CA shown ONLY as a portlet and not as a new window.... -
HKONG: Material Transaction Interface 의 data를 처리 Process들에 대한 정의
PURPOSE
Material Transaction Interface 의 data를 처리 Process들에 대해 정의하고자 함.
Explanation
관련된 정보는 다음과 같습니다.
Material Transaction Interface 의 data를 처리하기 위해서는 다음의 2개의 Process가 수행됩니다.
- INCTCM (Process transaction Interface)
- INCTCW (Inventory transactions worker)
(1)
Records are processed into this table by the INCTCM - Process Transactions Interface from the Interface tables :
MTL_TRANSACTIONS_INTERFACE to MTL_MATERIAL_TRANSACTIONS_TEMP
MTL_TRANSACTION_LOTS_INTERFACE to MTL_TRANSACTION_LOTS_TEMP (Lot 사용시)
MTL_SERIAL_NUMBERS_INTERFACE to MTL_SERIAL_NUMBERS_TEMP (serial 사용시)
==> INCTCM 에 의해 interface table의 data가 validation후, temp table로 옮겨집니다.
(2)
After the records are processed from the MTL_TRANSACTIONS_INTERFACE into the MTL_MATERIAL_TRANSACTIONS_TEMP
by the INCTCM - Process Transactions Interface,
a worker will be launched to process the record from MTL_MATERIAL_TRANSACTIONS_TEMP into MTL_MATERIAL_TRANSACTIONS.
The worker is called INCTCW - Inventory Transaction Worker.
The INCTCM - Process Transactions Interface will launch a single INCTCW - Inventory Transaction Worker for all rows
that meet the criteria in MTL_MATERIAL_TRANSACTIONS_TEMP :
TRANSACTION_MODE = 3
LOCK_FLAG = N
PROCESS_FLAG = Y
Once the process is complete the records will be moved into the corresponding
transaction table :
MTL_MATERIAL_TRANSACTIONS_TEMP to MTL_MATERIAL_TRANSACTIONS
MTL_TRANSACTION_LOTS_TEMP to MTL_TRANSACTION_LOT_NUMBERS
MTL_SERIAL_NUMBERS_TEMP to MTL_UNIT_TRANSACTIONS
==> INCTCM은 INCTCW를 call하게 되고, 이 Process에 의해 TEMP table로부터 MMT table과 Inventory table에
DATA가 Insert됩니다.
The rows in mtl_transactions_interface are processed in 5 phases.
1. Derives dependant columns, eg:acct_period_id, primary_quantity etc..
2. Detailed validation performed on the records
3. On hand qty check for negative qty's etc..
4. Reservations Relieved if demand was created in order entry
5. Rows are moved to mtl_material_transactions_temp where the
transaction processor is called to process these rows and update the inventory levels etc..
Reference Documents
------------------- -
Material Transaction and Move Transaction Managers are Going Inactive
hi
it was running previously but currently it becomes inactive.can any one tell in which table to look for the error related to this problem?
Kind Regards
SayantanHi;
What is your OS and EBS?
It was working before? If yes what have you been changed on your system(patch etc)
Please check below note:
Material Transaction And Move Transaction Managers Are Going Inactive [ID 93507.1]
Material Transaction and Move Transaction Managers are Going Inactive [ID 98757.1]
Regard
Helios -
Interface Manager Material Transaction can not be activated
Hi hussein,
One of the interface managers for INVENTORY module can not be activated.
I tried to activated it using:
Navigation: INVENTORY > Setup >Transactions > Interface Managers > Material Transactions
Goto Tools > Launch Manager > Submit Conc. program "Process Transaction Inferface"
Then after the job is completed, I checked the manager but it is still "inactive" status. :(
Its log says:
+---------------------------------------------------------------------------+
Inventory: Version : 11.5.0 - Development
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
INCTCM module: Process transaction interface
+---------------------------------------------------------------------------+
Current system time is 07-DEC-2009 14:57:19
+---------------------------------------------------------------------------+
+---------------------------------------------------------------------------+
Executing request completion options...
Output is not being printed because:
The print option has been disabled for this report.
+------------- 1) PRINT -------------+
+--------------------------------------+
Finished executing request completion options.
+---------------------------------------------------------------------------+
Concurrent request completed successfully
Current system time is 07-DEC-2009 14:57:21
+---------------------------------------------------------------------------+Please help.....
Thanks a lot
mskHi yxes;
Navigation: INVENTORY > Setup >Transactions > Interface Managers > Material Transactions
Goto Tools > Launch Manager > Submit Conc. program "Process Transaction Inferface" Related Cm is Up? If yes please follow below and see its helpful:
The print option has been disabled for this report.
Regard
Helios -
How to use same DFF for two different forms with :BLOCK.field reference
Hi,
Can anyone suggest how to use the same dff in two different forms by using :BLOCK.field reference.
Scenario is the same DFF is referenced by two forms, viz. Form-1 & Form-2.
Form-1 Reference Field is :BLOCK.field name, but the same block is not available in Form-2, which throws an error while opening it.
Any pointers please.
Thanks,In the environment I currently have access to do not have similar setup.
Let say you setup the DFF1 default value to $HEADER.customer_name, the name of the DFF is CUSTOMER_NAME, description can be anything.
In DFF2, default value should be a SQL, where you can reference the DFF1. For example, SELECT DECODE($FLEX.CUSTOMER_NAME, 'ABC', 1, 'DEF', 2, NULL) FROM dual
In this case, you can reference the DFF1. -
XML Publisher and the Oracle Shipping Transactions Form
I am running 11.5.10.2. I need to print Simplified Chinese characters in a document. We converted to the UTF-8 character set so the server can render these on forms and such. I am using Oracle Reports 6i to produce a report, but due to the limitations with this product it will not produce PDF output with Chinese characters. XML Publisher however works great. The concurrent manager is set so the report produces XML which is then set to the template and out comes a really cool looking layout with Chinese that can be viewed, printed, or e-mailed anywhere.
Now I have put this report into a document set so it can be printed from the Shipping Transactions form. But it does not work. There is no output. Metalink Note:312194.1 states development only supports XSL-FO and this will not be available until R12.
Is this really true? Has anyone else come across this? Any suggestions on how to get around this?Hi
Im assuming you are using the EBusiness Suite becasue of your reference to AR and AP modules. If so getting using an ORacle Report as a datasource for XMLP to format is pretty straightforward. There is a white paper on metalink describe the complete process - Note 295409.1. This will be available on the public site soon http://www.oracle.com/technology/products/applications/publishing/index.html
As for AR and AP, there is no reason at all why you can not use XMLP with the existing Oracle Reports in those modules. You will start to see more and more modules providing embedded reporting functionality in the EBS based on XMLP technologies.
Regards
Tim -
IB:How to update a serial Number which has Inventory Material Transactions?
Dear friends
first of all thanks for your time and valuable solutions
Install base: How to update a serial Number which has Inventory Material Transactions
problem description:
Install base > quick search
Here is Installbase record, when I query from quick search
Rec# Item Item Instance Serial Number Status
1 300-7000-01 3000000 1000XXX-0538JQ0003 Return for Adv Exchange
2 300-7000-01 8000000 1000XXX-0538JQ0003- Return for Adv Exchange
3 300-7000-01 5000000 1000XXX-0538JQ0003-A Return for Adv Exchange
looking above data, first and third records are the legitimate serial numbers(correct according to the client specs), second record is not legitimate since it has a dash as suffix, we found there are many illegitimate serial Numbers exists, needs to be updated with the right serial Numbers which I analyzed in excel after pulling data from mtl_material_transactions , oe_order_lines_all , mtl_serial_numbers , mtl_system_items_b
basically these are all RMAs
I need to update the second record as 1094SUZ-0538JQ0003-B as per the guidelines, while updating I need to keep all the existing contracts, Warranty, what ever material transations it has, need to be same.
we have a package updating the serial numbers using IB API (csi_Item_Instance_Pub.update_item_instance) but it is updating only the records which has no serial numbers present for that instance, if there is a serial number already exists it is not working.
user define error msg "Serial Number 1094SUZ-0538JQ0003- has Inventory Material Transactions. This serial number cannot be used to update an existing Item Instance", but I need to update this anyway!! or am I missing something here, please advice me
below post looks like similar issue, talks about hard update, I have no clue, by doing that the updated serial number will have same transations, contracts, dates....attached to it like the previous serial number
IB UPDATE_ITEM_INSTANCE ERROR - doesn't allow ACTIVE_START_DATE to change
would be great If you guys help me out, really appreciated!!
unfortunately I couldn't find any solutoin in metalink for the existing serial number update
code for updating the serial number using IB API
x_msg_count := 0;
x_msg_data := '';
p_instance_rec.instance_id := rec.child_instance_id;
p_instance_rec.serial_number := rec.child_serial_number;
p_instance_rec.object_version_number := rec.child_object_number;
p_txn_rec.transaction_id := Fnd_Api.g_miss_num;
p_txn_rec.transaction_date := SYSDATE;
p_txn_rec.source_transaction_date := SYSDATE;
p_txn_rec.transaction_type_id := 1;
csi_Item_Instance_Pub.update_item_instance
p_api_version => 1.0,
p_commit => Fnd_Api.g_false,
p_init_msg_list => Fnd_Api.g_false,
p_validation_level => 1,
p_instance_rec => p_instance_rec,
p_ext_attrib_values_tbl => p_ext_attrib_values_tbl,
p_party_tbl => p_party_tbl,
p_account_tbl => p_account_tbl,
p_pricing_attrib_tbl => p_pricing_attrib_tbl,
p_org_assignments_tbl => p_org_assignments_tbl,
p_asset_assignment_tbl => p_asset_assignment_tbl,
p_txn_rec => p_txn_rec,
x_instance_id_lst => x_instance_id_lst,
x_return_status => x_return_status,
x_msg_count => x_msg_count,
x_msg_data => x_msg_data
Thanks
SuriSuri
Used this. May not be perfect but should get you there. Only if the table is registered (all the seeded tables should be registered) this will work.
select distinct a.table_name,b.column_name from fnd_tables a, fnd_columns b
where a.table_id=b.table_id
and upper(b.column_name) like '%SERIAL%'
Also this is very old one but if you need history for this change add the history insert logic as well..
DECLARE
l_return_err VARCHAR2 (80);
PROCEDURE debug (p_message IN VARCHAR2)
IS
BEGIN
dbms_output.put_line (SUBSTR (p_message, 1, 255));
END debug;
BEGIN
debug('======================================================================');
debug('Switching from serial number XDT07406. to XDT07406 ');
debug('======================================================================');
UPDATE fa_additions_b
SET serial_number = 'XDT07406'
WHERE serial_number = 'XDT07406.';
debug('No of rows in fa_additions_b updated :'||sql%rowcount);
UPDATE fa_mass_additions
SET serial_number = 'XDT07406'
WHERE serial_number = 'XDT07406.';
debug('No of rows in fa_mass_additions updated :'||sql%rowcount);
UPDATE rcv_serial_transactions
SET serial_num = 'XDT07406'
WHERE serial_num = 'XDT07406.';
debug('No of rows in rcv_serial_transactions updated :'||sql%rowcount);
UPDATE mtl_serial_numbers
SET serial_number = 'XDT07406'
WHERE serial_number = 'XDT07406.';
debug('No of rows in mtl_serial_numbers updated :'||sql%rowcount);
UPDATE mtl_unit_transactions
SET serial_number = 'XDT07406'
WHERE serial_number = 'XDT07406.';
debug('No of rows in mtl_unit_transactions updated :'||sql%rowcount);
UPDATE csi_item_instances_h
SET new_serial_number = 'XDT07406'
WHERE new_serial_number = 'XDT07406.';
debug('No of rows in csi_item_instances_h updated :'||sql%rowcount);
UPDATE csi_t_txn_line_details
SET serial_number = 'XDT07406'
WHERE serial_number = 'XDT07406.';
debug('No of rows in csi_t_txn_line_details updated :'||sql%rowcount);
UPDATE csi_item_instances
SET serial_number = 'XDT07406'
WHERE serial_number = 'XDT07406.';
debug('No of rows in csi_item_instances updated :'||sql%rowcount);
UPDATE wsh_delivery_details
SET serial_number = 'XDT07406'
WHERE serial_number = 'XDT07406.';
debug('No of rows in wsh_delivery_details updated :'||sql%rowcount);
debug('======================================================================');
debug('Switching from serial number jct20591 to JCT20591 ');
debug('======================================================================');
UPDATE fa_additions_b
SET serial_number = 'JCT20591'
WHERE serial_number = 'jct20591';
debug('No of rows in fa_additions_b updated :'||sql%rowcount);
UPDATE fa_mass_additions
SET serial_number = 'JCT20591'
WHERE serial_number = 'jct20591';
debug('No of rows in fa_mass_additions updated :'||sql%rowcount);
UPDATE rcv_serial_transactions
SET serial_num = 'JCT20591'
WHERE serial_num = 'jct20591';
debug('No of rows in rcv_serial_transactions updated :'||sql%rowcount);
UPDATE mtl_serial_numbers
SET serial_number = 'JCT20591'
WHERE serial_number = 'jct20591';
debug('No of rows in mtl_serial_numbers updated :'||sql%rowcount);
UPDATE mtl_unit_transactions
SET serial_number = 'JCT20591'
WHERE serial_number = 'jct20591';
debug('No of rows in mtl_unit_transactions updated :'||sql%rowcount);
UPDATE csi_item_instances_h
SET new_serial_number = 'JCT20591'
WHERE new_serial_number = 'jct20591';
debug('No of rows in csi_item_instances_h updated :'||sql%rowcount);
UPDATE csi_t_txn_line_details
SET serial_number = 'JCT20591'
WHERE serial_number = 'jct20591';
debug('No of rows in csi_t_txn_line_details updated :'||sql%rowcount);
UPDATE csi_item_instances
SET serial_number = 'JCT20591'
WHERE serial_number = 'jct20591';
debug('No of rows in csi_item_instances updated :'||sql%rowcount);
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
l_return_err :='Updating in one of the script has this error:'|| substrb(sqlerrm, 1, 55);
debug('Value of l_return_err='||l_return_err);
END;
Thanks
Nagamohan -
Issue in Material Transaction in WIP
Gratings to Guru's...
I trying to do Material issue for Discrete job components in WIP. but facing an error in MTL_TRANSACTIONS_INTERFACE. below are the error details.
Error Msg : ‘Requirement is this job/schedule's primary assembly’
Error Code : inventory_item_id.
I am using below insert statement.(able to do material transaction through front end also Similar kind of data for other organization is working fine).
insert into mtl_transactions_interface
( source_code,
source_line_id,
source_header_id,
process_flag,
validation_required,
transaction_mode,
lock_flag,
last_update_date,
last_updated_by,
creation_date,
created_by,
inventory_item_id,
organization_id,
transaction_quantity,
primary_quantity,
transaction_uom,
transaction_date,
subinventory_code,
locator_id,
transaction_source_id,
transaction_source_type_id,
transaction_action_id,
transaction_type_id,
transaction_reference,
wip_entity_type,
operation_seq_num,
bom_revision_date,
routing_revision_date,
scheduled_flag,
final_completion_flag,
Flow_schedule,
--revision,
transaction_interface_id
values (
1, --source code
1, -- source line id
-1, -- source header id
1, -- process flag
1, -- validation required
3, -- transaction mode
2, -- lock flag
sysdate, -- last update date
-1, -- last updated by
sysdate, -- creation date
-1, -- created by
62481, -- inventory item id --*
414, -- org id*
-30, -- transaction quantity
-30, -- primary quantity
'EA', -- transaction uom *
sysdate, -- transaction date
'UKDIE', -- subinventory code*
47473, --locator_id *
4368857, -- transaction source id *
5, -- transaction source type id
31, -- transaction action id
35, -- transaction type id
'test', -- transaction reference
1, -- wip entity type
10, -- operation seq num
sysdate, -- bom revision date
sysdate, -- routing revision date
2, -- scheduled flag
'N', --final_completion_flag
'N', -- flow schedule
--'0' , -- Revision
15375520 --interface_id *
delete from mtl_transaction_lots_interface
where TRANSACTION_INTERFACE_ID = 15375519
/*2. Data inserting into mtl_transaction_lots_interface */
insert into mtl_transaction_lots_interface
(TRANSACTION_INTERFACE_ID,
SOURCE_CODE,
SOURCE_LINE_ID,
LAST_UPDATE_DATE,
LAST_UPDATED_BY,
CREATION_DATE,
CREATED_BY,
LOT_NUMBER,
TRANSACTION_QUANTITY,
ERROR_CODE,
PROCESS_FLAG)
values(
15375520,--interface_id, *
1, -- Source Code
1, -- Source Line id
sysdate, -- Last update date
-1, -- Last updated by
sysdate, -- Creation Date
-1, -- Created By
'PID0190454', -- Lot number Needs input *
-30, -- Transaction Quantity
NULL,
1 -- Process Flag
Please help me ....
Thanks in advance
BalajiIt seems that 62481 may be the inventory_item_id of the assembly. Make sure you use the inventory_item_id of the component when inserting into mtl_transactions_interface.
Sandeep Gandhi -
Error while entering transactions form
Hi all,
I have a problem that while opening invoice in transactions form I got an error for only 1 particular customer.
"The system cannot determine geographical information for this location and cannot derive a tax jurisdiction. Please contact your system administrator". So I have referred from metalink and I fond a Doc ID 420194.1 to rectify this problem. After running that concurrent program called " Geography Name Referencing Program " for all the customers Iam not able to open transactions. I have checked the solution for this but Iam unable to do this. How can I enable the manage validations field in Trading Community Manager-->administration-->geographic hierarchy in this form I queried with my required Country but manage validations field was disabled. Can I know how to enable that.
Thanks,
Bharat G.Please post the details of the application release, database version and OS.
Have you reviewed these docs?
System cannot determine geographical information for this location and cannot derive a tax jurisdiction when entering an transaction [ID 438718.1]
Enter invoice errors with "The System Cannot Determine Geographical Information For This Location" [ID 1384591.1]
Create Debit Memo Errors with 'The System Cannot Determine Geographical Information For This Location' [ID 1377318.1]
Error In Transaction Query: 'System cannot determine geographical information' [ID 1350601.1]
eBusiness Tax Release 12 Error Messages: Causes and Actions [ID 744185.1]
How Location Based Tax Works in R12 E-Business Tax (EBTax) - Includes sample setup [ID 1133994.1]
Autoinvoice is failing with tax errors on for some customers [ID 1302122.1]
How to Troubleshoot a Tax That Does Not Calculate in R12 E-Business Tax (EBTAX) [ID 1082172.1]
Thanks,
Hussein
Maybe you are looking for
-
DateField not getting copy in the matrix using Datasource & Datatable
Hello All, I have tried to copy data From Purchase Order Tables to my own created User Defined Form matrix columns using DBDatasource & Datatables ,Instead of Document Date all other data are getting copied but that document date field is not getting
-
Lenovo has the WORST Support/Customer Service In the Computer Industry
I have been searching and reviewing computers to buy. Came across the K430 but after reading horror stories about Video Card Replacement, Power Supplies and Turbo Switch not working, I decided to call support and seek advise or a simple opinion. The
-
64-bit RAID drivers problem on Qosmio F30 during WinXP installation
I am trying to install Windows XP 64-bit on my Qosmio F30-140, so I used Windows Vista 64-bit RAID drivers. The windows setup loaded the drivers successfully from USB-FDD, but after I choose C: partition to install the windows and the setup started I
-
CL_RECD_CONDITION / retrieve condition amount in ABAP
Hi All, New on RE-FX, I am in charge of developping a report for RE-FX, returning in particular the conditions amounts. I need yearly amounts for each contracts, knowing that contracts have several conditions. APIs and BAPIs dont provide calculated
-
Error while loading javaGUI from BSP via Applet
Hello Folks, i saw an interesting Thread by Thomas Jung (SAP) how to starting a R/3 Transaction via javaGUI from a Business Server Page. I did the same steps but get an Java Error while loading the applet. Can anyone help me? The error listed in the