MTL_MATERIAL_TRANSACTIONS Table
Dears
Good Day
Can any one guid me about the source of Records that inserted into (MTL_MATERIAL_TRANSACTIONS) Table!!
Thank you&
Best Regards
Hi
Thank you for reply
I would like to explain about my case more clearly,
Actually i have to resolve a Acustom Landed cost with this cycle :
1- PO Request
2- Invoice
3- mapping invoice with the PO
4- Reciet
5- Landed Cost
6- approve for Landed cost :
7- Recieving : on this step (mtl_material_transactions) and (mtl_transaction_accounts) Tables are filled, but the
(mtl_transaction_accounts.Base_Transaction_value) column not affected with the new value ( (qty*price) + landed Cost),
so, on step 6 (approve for Landed cost), wich tables can i update to affect the new value.
Thanks
Similar Messages
-
Inserting data in MTL_MATERIAL_TRANSACTIONS table.
How can I insert data directly to MTL_MATERIAL_TRANSACTIONS table?
Do I need to insert data in its interface table?
Is it the MTL_MATERIAL_INTERFACE table? What is the API to run?
Thank you.
PamJoveeL wrote:
Hello Mahendra,
I can't view the page. Maybe you can send me the url or the keyword that I will search on the site.
Thanks,
Pamgo to irep.oracle.com
click on Oracle Integration Repository..and then search
and in the product lov select Inventory
this should list out all the available things from inventory
see if this opens
http://irep.oracle.com/index.html
HTH
Mahendra -
MTL_MATERIAL_TRANSACTION TABLE column TRANSACTION_SOURCE_ID shows
Dear All,
MTL_MATERIAL_TRANSACTION TABLE column TRANSACTION_SOURCE_ID show null when transaction type is More order issue and Miscellaneous receipt
Please guide how can i solve this iessue.
Query
SELECT
MSI.SEGMENT1,
MSI.SEGMENT2,
MSI.DESCRIPTION,
MSI.PRIMARY_UNIT_OF_MEASURE,
(SELECT MTT.TRANSACTION_TYPE_NAME FROM MTL_TRANSACTION_TYPES MTT WHERE MTT.TRANSACTION_TYPE_ID = A.TRANSACTION_TYPE_ID) TRANSACTION_TYPE,
A.*
FROM
MTL_SYSTEM_ITEMS MSI
,MTL_ITEM_CATEGORIES_V MIC
,MTL_TRANSACTION_TYPES MTT
(SELECT
DISTINCT
M.TRANSACTION_DATE, M.TRANSACTION_ID , M.ACTUAL_COST , M.INVENTORY_ITEM_ID , M.ORGANIZATION_ID , M.SUBINVENTORY_CODE ,
M.TRANSACTION_TYPE_ID ,
M.PRIMARY_QUANTITY , M.TRANSACTION_QUANTITY , phpl.ITEM_DESCRIPTION , phpl.UNIT_PRICE , phpl.QUANTITY , R.PO_UNIT_PRICE
from
mtl_material_transactions m
left outer join rcv_transactions r
on m.SOURCE_LINE_ID = r.transaction_id
left outer join (select * from po_lines_all pl join po_headers_all ph
on pl.PO_HEADER_ID = ph.po_header_id) phpl
on r.po_line_id = phpl.po_line_id
) A
WHERE
MSI.INVENTORY_ITEM_ID = A.INVENTORY_ITEM_ID
AND MSI.ORGANIZATION_ID = A.ORGANIZATION_ID
AND MIC.INVENTORY_ITEM_ID = MSI.INVENTORY_ITEM_ID
AND MIC.ORGANIZATION_ID = MSI.ORGANIZATION_ID
and A.ORGANIZATION_ID = 110
--AND MIC.INVENTORY_ITEM_ID = MSI.INVENTORY_ITEM_ID
--AND MIC.ORGANIZATION_ID = MSI.ORGANIZATION_IDWhat are you talking about?
This forum is for issues with the SQL Developer tool...
Regards,
K. -
Costed_Flag = N in mtl_material_transactions
Hello,
In the Inventory module in oracle applications 11.5.10, a user complained that the customized report does not bring out the recently issued transactions. I have found that these records have the fields:
costed_flag = 'N' and request_id = 0
in mtl_material_transactions table.
I have launched the cost manager and the records were processed successfully. But again the problem occured and I don't know why; I have found that there are uncosted records in the above table.
What can I do to assure the problem does not raise again? what are the alternative to launching the cost manager;is it the on-line processing option? and how can i implement it?
Kindly note that we have only the following modules:
Inventory,Purchasing,General Ledger,Payables,Receivables,Cash Management,Fixed Assets, HRMS/payroll.
Thank you...Hi
In the Interface Manager screen you can specify the frequency at which the Cost manager should get launched. Once you set this up and launch the manager Cost Manager would get active at that frequency automatically. Don't cancel the Cost Manager. Cost Manager should be always active if you want transactions to be costed on perpetual basis.
thanks
Anup -
Costed_flaG in MMT table is 'E'
Hi experts,
Current we have a record in MTL_MATERIAL_TRANSACTIONS table which has 'E' in COSTED_FLAG. In the ERROR_CODE and ERROR_EXPLANATION column show "cmlwmx-2:". I would like to know why did issue happen and how to solve this issue?
Do you have any idea, please share with me.
Thanks in advance.
HieuBy the way,
Our system is RDBMS : 9.2.0.7.0 and Oracle Applications : 11.5.8 -
Costed flag in mtl_material_transaction
Hello All
I am new to Oracle EBS.
For for report testing purpose I want to genererate records with costed_flag in mtl_material_transaction table with value 'N' or 'E'
Can somebody help me out in telling me the process How is this possible to get these values and navigations. It is really very urgent.
Secondly can any body also tell me How to see the average cost of component and Assembly in Oracle apps.
Many thanks in advanceDear Hassan,
My problem is resolved now. I have apply update on mtl_material_transactions with period_id.
So thanks for cordial co-operations & positive approach.
Thanks
Omar
Edited by: user13140975 on Mar 10, 2012 11:59 AM -
How to get the TRANSACTION_SOURCE_NAME in MTL_MATERIAL_TRANSACTIONS
After looking at the data in the mtl_material_transactions table, I could not find the TRANSACTION_SOURCE_ID/TRANSACTION_SOURCE_NAME for any records.
Where is this information getting stored in the back-end for every transaction id?
Thanks,
Karthik.Hi Karthik,
Table MTL_MATERIAL_TRANSACTIONS contains a column called TRANSACTION_SOURCE_ID, which is linked to different entities depending on which is the Source Type of the transaction (Purchase Order, Sales Order, Inventory, Job or Schedule, ...). A useful note to understand it is:
HOW TO LINK THE TRANSACTION_SOURCE_ID TO TRANSACTION_SOURCE_TYPE_ID [ID 987471.1]
Hope it helps. -
Mtl_material_transaction
Hi,
How is data populated in mtl_material_transaction table.
Regards.Hi,
I think it's you who did not ask correctly.
Your first question is just "How is data populated in mtl_material_transaction table"
Through what ? Front End ? Interface ? You didn't mention properly.
Your second explanation makes it more easier for us to answer.
Interface table for Material Transaction is MTL_TRANSACTIONS_INTERFACE.
For material movement of items
that are under lot or serial control, you must also insert rows into MTL_
TRANSACTION_LOTS_INTERFACE and MTL_SERIAL_NUMBERS_INTERFACE
respectively. If you insert WIP assembly/completion transactions that complete or
return job assemblies, you must also insert rows into the CST_COMP_SNAP_
INTERFACE table if the organization referenced uses average costing.
There are two ways to process the interface tables, please look at Oracle Manufacturing APIs and Open Interfaces Manual. -
Oracle Inventory: Inventory Value as on date Query
Hi guys,
We need to write a query to get inventory value based on a particular date, say '31-dec-2011' for certain auditing purposes. We can use historical transaction summary report for this purpose, however this report produces more than 800 pages for a single requirement.
We were able to retrive the current inventory value using the following query
SELECT SUM(moq.transaction_quantity*moq.item_cost) inv_cost
FROM mtl_onhand_qty_cost_v moq
WHERE organization_id = :p_org_id;
Unfortunately none of our exercises from last couple of days fetch values anywhere near to the historical transaction summary report as on date inventory value for the above said cut off date.
We tried the following query against mtl_material_transactions table
Select sum(transaction_quanity*new_cost) inv_cost from mtl_material_transactions
where organization_id = :p_org_id and
trunc(transaction_date) > to_date(:p_date)+1 -- transaction value after '31-dec-2010' for example
and then deducting value from second query from first query value...
Please help
Regards,
rajHi Sandeep
I was able to run the API mentioned with before report trigger successfully, however cannot retrive any lines from cst_inv_qty_temp, cst_inv_cost_temp tables. I had gone through the API body and "assumes" this particular API repopulates the data each time when the report is submitted, identified by the unique session id.
Would you comment?
SET SERVEROUTPUT ON;
Declare
L_FCN_CURRENCY VARCHAR2(15);
L_REPORT_NAME VARCHAR2(80);
sql_stmt_num varchar2(5);
l_exp_sub NUMBER;
l_msg_count NUMBER;
l_msg_data VARCHAR2(8000);
l_return_status VARCHAR2(1);
l_as_of_date VARCHAR2(30);
l_cost number;
wms_org_count NUMBER;
pjm_org_count NUMBER;
l_calculate_intransit NUMBER;
l_cst_inv_val EXCEPTION;
Begin
BEGIN
MO_GLOBAL.SET_POLICY_CONTEXT ('S', 111);
END;
CST_Inventory_PUB.Calculate_InventoryValue(
p_api_version => 1.0,
p_init_msg_list => CST_Utility_PUB.get_true,
p_organization_id => 111,---:P_ORG_ID,
p_onhand_value => 1,
p_intransit_value => 1,
p_receiving_value => 0,
p_valuation_date =>to_date('2011/01/01 00:00:00','YYYY/MM/DD HH24:MI:SS'), -- to_date(:P_AS_OF_DATE,'YYYY/MM/DD HH24:MI:SS'),
p_cost_type_id => NULL, --2, --:P_COST_TYPE_ID,
p_item_from => NULL, --:P_ITEM_FROM,
p_item_to => NULL, --:P_ITEM_TO,
p_category_set_id => NULL, --:P_CATEGORY_SET,
p_category_from => NULL, --:P_CAT_FROM,
p_category_to => NULL, --:P_CAT_TO,
p_cost_group_from => NULL,
p_cost_group_to => NULL,
p_subinventory_from => 'BBM-01', --:P_SUBINV_FROM,
p_subinventory_to => 'BBM-01', NULL, :P_SUBINV_TO,
p_qty_by_revision => 2, 'no'--:P_ITEM_REVISION,
p_zero_cost_only => 2, 'no'--:P_ZERO_COST,
p_zero_qty => 2, 'no' --:P_ZERO_QTY,
p_expense_item => 2, 'no' -- :P_EXP_ITEM,
p_expense_sub => 2, --'No', -- l_exp_sub,
p_unvalued_txns => 2, --:P_UNCOSTED_TXN,
p_receipt => 1,
p_shipment => 1,
x_return_status => l_return_status,
x_msg_count => l_msg_count,
x_msg_data => l_msg_data
IF l_return_status <> CST_Utility_PUB.get_ret_sts_success
THEN
RAISE l_cst_inv_val;
END IF;
FND_MSG_PUB.count_and_get(
p_encoded => CST_Utility_PUB.get_false,
p_count => l_msg_count,
p_data => l_msg_data
IF(l_msg_count > 0)
THEN
FOR i in 1 ..l_msg_count
LOOP
l_msg_data := FND_MSG_PUB.get(i, CST_Utility_PUB.get_false);
DBMS_OUTPUT.PUT_LINE(i ||'-'||l_msg_data);
END LOOP;
END IF;
End; -
Hi All,
We have been using "gmipapi.inventory_posting" API in one of our interfaces. Now we upgraded to R12 and I am looking for equivalent Inventory APIs which I may need to replace this one to make the interface working in R12. Does any one have any information on this. Please let me know.
Thanks.I got the information the way to work on this issue.
Records created through non-Oracle applications should be inserted in Mtl_Transactions_Interface, as they will be validated before being processed. So I did direct insert into Mtl_Transactions_Interface and MTL_TRANSACTION_LOTS_INTERFACE table. Then Call the API INV_TXN_MANAGER_PUB.PROCESS_TRANSACTION to process the records in Mtl_Transactions_Interface table.
Now I could see all the transactions in the Material Transaction Form and also in MTL_MATERIAL_TRANSACTION Table.
Thanks, -
Inventory Material Movement Report in R12.1.1
Dear All,
I am currently working in a implementation project. My client needs a Inventory Material Movement Report on Periodical Basis
Report Should show : Item Name, Item Desc, Sub Inventory, UOM, Opening Stock of that period, Receipts for that Period, Adjustments and Closing Balance.
Please suggest me how to go about this on the same. Please someone share the code if someone have any. What logic do i need to follow and where to pick the data.
It is show stopper for us now as we do not have any standard report.
Thanks,
AddyHi Aditya,
You can find all the information you need in mtl_material_transactions table. If you need code combination id too, you can make use of a standard view CST_INV_DISTRIBUTION_V. Other than these, you can join these tables for other info..
MTL_SYSTEM_ITEMS_B MTL,GL_CODE_COMBINATIONS GCC.
In MMT, use qty <, > 0 for receipts and issues. use group by to get opening and closing balances.
Regards,
Siva Kumar. -
Hi, i'm new in oracle and ihave been working this query for reports for about 2 weeks, plz take a look on my query
SELECT mmt.transaction_date "Transaction Date",
msib.segment1 "Item",
gcc.segment1||'-'||gcc.segment2||'-'||gcc.segment3||'-'||gcc.segment4||'-'||gcc.segment5||'-'||gcc.segment6||'-'||(nvl(gcc.segment7,'000000')) "account",
(CASE mttype.transaction_type_name
WHEN 'Average cost update' THEN
((nvl(mmt.new_cost,0) - nvl(mmt.prior_cost,0)) * nvl(mmt.quantity_adjusted,0)) + nvl(mmt.variance_amount,0)
ELSE
(mmt.Primary_quantity * nvl(mmt.actual_cost, 0) + nvl(mmt.variance_amount, 0))
END) "Transaction Value",
mttype.description "Transaction Type",
mmt.subinventory_code "Subinventory",
ood.organization_code "Org",
msib.Primary_UOM_Code "UOM",
mmt.Primary_Quantity "Primary Quantity",
mtr.description "Reason",
mmt.transaction_reference "Reference"
FROM mtl_material_transactions mmt,
mtl_system_items_b msib,
mtl_transaction_accounts mta,
gl_code_combinations gcc,
mtl_transaction_types mttype,
Org_Organization_Definitions ood,
mtl_transaction_reasons mtr
WHERE mmt.transaction_date >= :P_DATE_FROM
and mmt.transaction_date < :P_DATE_TO +1
and mmt.organization_id = :P_ORGANIZATION
and msib.organization_ID = mmt.organization_ID
and msib.inventory_item_id=mmt.inventory_item_id
and mta.transaction_id=mmt.transaction_id
and gcc.code_combination_id = mta.reference_account
and mttype.transaction_type_id=mmt.transaction_type_id
and mmt.reason_id=mtr.reason_id(+)
and ood.organization_id=mmt.organization_id
and mttype.transaction_type_id = :P_TRANSACTION_TYPE
and msib.segment1 = :P_ITEM
AND gcc.segment2 = :P_ACCOUNTthe null values is on the mtl_material_transactions table, which is reason_id, subinventory_code, and transaction_reference
the desired out put would be to show all the record on mtl_material_transactions with the null values
so, did i put the right symbol for the outer join ??
btw
i have tried put the (+) on various places but it still no good, and i'm really at a lossuser11174063 wrote:
Hi, i'm new in oracle and ihave been working this query for reports for about 2 weeks, plz take a look on my query
SELECT mmt.transaction_date "Transaction Date",
msib.segment1 "Item",
gcc.segment1||'-'||gcc.segment2||'-'||gcc.segment3||'-'||gcc.segment4||'-'||gcc.segment5||'-'||gcc.segment6||'-'||(nvl(gcc.segment7,'000000')) "account",
(CASE mttype.transaction_type_name
WHEN 'Average cost update' THEN
((nvl(mmt.new_cost,0) - nvl(mmt.prior_cost,0)) * nvl(mmt.quantity_adjusted,0)) + nvl(mmt.variance_amount,0)
ELSE
(mmt.Primary_quantity * nvl(mmt.actual_cost, 0) + nvl(mmt.variance_amount, 0))
END) "Transaction Value",
mttype.description "Transaction Type",
mmt.subinventory_code "Subinventory",
ood.organization_code "Org",
msib.Primary_UOM_Code "UOM",
mmt.Primary_Quantity "Primary Quantity",
mtr.description "Reason",
mmt.transaction_reference "Reference"
FROM mtl_material_transactions mmt,
mtl_system_items_b msib,
mtl_transaction_accounts mta,
gl_code_combinations gcc,
mtl_transaction_types mttype,
Org_Organization_Definitions ood,
mtl_transaction_reasons mtr
WHERE mmt.transaction_date >= :P_DATE_FROM
and mmt.transaction_date < :P_DATE_TO +1
and mmt.organization_id = :P_ORGANIZATION
and msib.organization_ID = mmt.organization_ID
and msib.inventory_item_id=mmt.inventory_item_id
and mta.transaction_id=mmt.transaction_id
and gcc.code_combination_id = mta.reference_account
and mttype.transaction_type_id=mmt.transaction_type_id
and mmt.reason_id=mtr.reason_id(+)
and ood.organization_id=mmt.organization_id
and mttype.transaction_type_id = :P_TRANSACTION_TYPE
and msib.segment1 = :P_ITEM
AND gcc.segment2 = :P_ACCOUNTthe null values is on the mtl_material_transactions table, which is reason_id, subinventory_code, and transaction_reference
the desired out put would be to show all the record on mtl_material_transactions with the null values
so, did i put the right symbol for the outer join ??
btw
i have tried put the (+) on various places but it still no good, and i'm really at a losshttp://www.lmgtfy.com/?q=oracle+outer+join+example -
Query the ON-hand Quantity at spacefic time
hi all
i'm a new to oracle apps
please keeptrack with me the following scenario of transactions on an item(FIFO COST Method) on the mtl_onhand_quantities_detail table
at 30/08/2010 we make receipt to the item x to sub inventory 1 with quantity 22
at 31/08/2010 we make receipt to the item x to sub inventory 1 with quantity 29
at 04/08/2010 we make receipt to the item x to sub inventory 1 with quantity 13
Now if we query the onhand to that item on 04/09/2010 will get 22+29+13 = 64
at 05/09/2010 we make sales order with 3 quanity for this item and make pick release for it from sub inv 1 to stage sub inv now the mtl_onhand_quantities_detail table is like as
30/08 19 for subinv 1
31/08 29 for subinv 1
04/09 13 for subinv 1
05/09 3 for subinv Stage
now i want to get the status of on the onhand for this item at 04/09/2010
by logic at this time i have 22+29+13 = 64
if i make the summation till that day it will decrease 3 from the onhand although i pick the 3 at 05/09
i want a query to get the onhand at 04/09 to result 64 how can i get it?
and if i make order for all quantities for this item and ship confirm it then the table will contain the quantity 0 for this item how can i get the hostirical quantities
thanks ?
Edited by: Marsafy on Sep 5, 2010 10:21 AMYou can get historical quantities by adding up quantities in the mtl_material_transactions table.
select sum(transaction_quantity) from mtl_material_transactions where transaction_date < '05-Sep-2009' and organization_id=&org and inventory_item_id=&itemid
If you don't have index on the transaction_date field, this query will be inefficient. So if you have to do this query multiple times a day, you may have to create an index.
Hope this helps
Sandeep Gandhi
Omkar Technologies Inc.
Independent Techno-functional Consultant
513-325-9026 -
Onhand materials with additional cost query
Hello!
I'm stuck with a query and i need help.
The query needs to show the current onhand quantity of the material with costs , expire dates , lot numbers , warehouse codes , expire dates , arrival dates.
The actual query is :
SELECT
OOD.ORGANIZATION_NAME "ORG_NAME",
MOQD.SUBINVENTORY_CODE "WHS_CODE",
MSI.SEGMENT1 "Item Code",
MSI.DESCRIPTION "Item Name",
MSI.PRIMARY_UOM_CODE "ME",
SUM(MOQD.TRANSACTION_QUANTITY) "On Hand",
MTLN.LOT_NUMBER "LOT",
mln.expiration_date "Exp. date",
mln.attribute1 "PO number",
MAX(mmt.transaction_date) "Arrival date",
SUM( MMT.ACTUAL_COST) "Item cost"
--,SUM ( occe.cost_base_amount) "Etc. cost",
--oct.trx_quantity "Quantity"
FROM
MTL_SYSTEM_ITEMS_B MSI
--, oaes_cogs_cost_elements occe
--, oaes_cogs_transactions oct
,ORG_ORGANIZATION_DEFINITIONS OOD
, MTL_ONHAND_QUANTITIES_DETAIL MOQD
,mtl_material_transactions MMT
,mtl_transaction_lot_numbers mtln
,mtl_LOT_NUMBERS MLN
WHERE
MSI.ORGANIZATION_ID=OOD.ORGANIZATION_ID
--and oct.cost_key = mln.attribute1
--and occe.element_type = 'INVOICE'
--and occe.cost_key = oct.cost_key
--and mmt.transaction_id = oct.trx_id
--and oct.trx_type = 'RECEIPT'
and mtln.inventory_item_id = mln.inventory_item_id
and mtln.lot_number = mln.lot_number
and mtln.organization_id = mln.organization_id
AND MSI.INVENTORY_ITEM_ID=MOQD.INVENTORY_ITEM_ID
AND MMT.TRANSACTION_ID = MTLN.TRANSACTION_ID
AND MSI.ORGANIZATION_ID=MOQD.ORGANIZATION_ID
AND MSI.ORGANIZATION_ID=MMT.ORGANIZATION_ID
AND MSI.INVENTORY_ITEM_ID=MMT.INVENTORY_ITEM_ID
AND MOQD.INVENTORY_ITEM_ID = MMT.INVENTORY_ITEM_ID
AND MOQD.ORGANIZATION_ID = MMT.ORGANIZATION_ID
AND MOQD.create_transaction_id=MMT.transaction_id
AND OOD.ORGANIZATION_ID = MMT.ORGANIZATION_ID
AND OOD.ORGANIZATION_ID = MOQD.ORGANIZATION_ID
GROUP BY
MSI.ORGANIZATION_ID,
OOD.ORGANIZATION_NAME,
MOQD.SUBINVENTORY_CODE,
MSI.SEGMENT1,
MSI.DESCRIPTION,
MSI.PRIMARY_UOM_CODE,
MTLN.LOT_NUMBER,
mln.expiration_date,
mln.attribute1
--,oct.trx_quantity
ORDER BY 1, 3, 4
If i connect oct and octe it will only show a few lines not all
Thank you for your help in advanced ,
ZsoltI tried. And here is the result :
It seems that there is no record in table mtl_cst_actual_cost_details with the same transaction_id as in mtl_material_transactions table, but i found something strange.
I found a data where the actual cost transaction id is equal to material transaction transfer transaction id. the date is equal also the item id BUT with the same wrong price
I got this query from an oracle report the following queries which actually shows the correct price but only for thoose items which has got some extra cost on it :
select teny_s6 ,
bev_egys t1,
bev_egys + sum(teny_ktg)/menny t_onk,
bev_egys * menny tm1,
bev_egys * menny + sum(teny_ktg) tm_onk
from
select e.cost_key teny_s6,
substr(g.segment2,6,1) ktg_tip,
t.trx_quantity menny,
t.bev_egys bev_egys,
sum(e.cost_base_amount) teny_ktg
from
oaes_cogs_cost_elements e,
gl_code_combinations g,
(select distinct tc.cost_key, tc.trx_quantity, mmt.actual_cost bev_egys
from oaes_cogs_transactions tc,
mtl_material_transactions mmt
where
tc.trx_id = mmt.transaction_id
and tc.trx_type = 'RECEIPT') t
where e.cost_ccid = g.code_combination_id
and e.element_type = 'INVOICE'
and t.cost_key = e.cost_key
and substr(g.segment2, 1, 5) = '26211'
group by e.cost_key, substr(g.segment2,6,1), t.trx_quantity, t.bev_egys
group by teny_s6, bev_egys, menny
This query shows the right costs but only shows the netto price :
select
nvl(t.cost_key, ln.attribute1) s6,
To_Char(nvl(MAX(t.trx_date), MAX(mmt.transaction_date)), 'DD-MON-YYYY') bev_datum,
nvl(MAX(t.trx_quantity), SUM(mmt.primary_quantity)) menny,
mmt.transaction_uom me,
mmt.currency_code devn,
mmt.currency_conversion_rate arfolyam,
mmt.actual_cost bev_egys,
mmt.actual_cost / decode(nvl(mmt.currency_conversion_rate, 0), 0, 1,
mmt.currency_conversion_rate) elk_dev_egys,
mmt.actual_cost * nvl(MAX(t.trx_quantity), SUM(mmt.primary_quantity)) bem
from
mtl_material_transactions mmt,
mtl_transaction_lot_numbers tln,
mtl_lot_numbers ln,
oaes_cogs_transactions t
where mmt.transaction_id = tln.transaction_id
and mmt.organization_id = tln.organization_id
and tln.organization_id = ln.organization_id
and mmt.inventory_item_id = tln.inventory_item_id
and tln.inventory_item_id = ln.inventory_item_id
and tln.lot_number = ln.lot_number
and mmt.transaction_type_id in (18, 41)
and nvl(ln.attribute1, '?') = t.cost_key
and t.trx_id(+) = mmt.transaction_id
-- AND t.cost_key(+) = :P_KALK_EGYSEG
AND t.trx_type(+) = 'RECEIPT'
AND t.inventory_item_id = mmt.inventory_item_id
-- and ln.attribute1 = '9529_120-0011-1_9398'
and ln.attribute1 = '9581_120-0164-3_9446'
GROUP BY t.cost_key, mmt.actual_cost, -- mmt.transaction_date, t.trx_date,
ln.attribute1, mmt.transaction_uom, mmt.currency_code,
mmt.currency_conversion_rate, mmt.actual_cost -
Material Cost Transaction Worker in Warning
Hi Guys
I'm trying to do, what I thought was the simplest costing transaction.
I create one item. I create a PO. Do a receipt. And now I want to do the cost accounting (STD Costing) for this transaction.
I have frozen costs against the item. The cost update seems to have run succesfully. I have a record in the MTL_MATERIAL_TRANSACTIONS table. Whenever the Materiel Cost Transaction Worker program is run, it ends in warning stating that it couldn't cost the transaction. "Failed costing at id = xxx". I enabled the MRP: Debug but get no more useful info. In the material transactions table I see the following:
"ORA-20100: File o0003155.tmp creation for FND_FILE failed.
You will fi
badsql:Ovhd_Acct( 1 ): ORA-20100: File o0003155.tmp creation for FND_FILE failed.
You will fi""
I have no idea what this can be. I run it on WINXP. 11.5.10.2. There's discspace etc.
Maybe I'm missing config. I use E-business suite licencing. I did, GL, PO, INV and some costing setup. Can someone please tell me, how to resolve the FND_FILE issue, or how to get better debug info, or what the minimum config would be to get the most simple standard costing accounting out of the system.
Thanks!Found the issue. In FND_TEMP_FILES table I saw that the system tried to create files in a directory that doesn't exist on my system. I still don't know why it tried to create it there, but after creating the directory the job finished.
Maybe you are looking for
-
I recently tried to import a cd that I got into itunes. When it imported, instead of being one album by one artist, it created multiple ablums by the same artist. Does anyone know how to fix this problem to bring all the files into one album by the
-
Possibility to give a pdf a variable when opening?
Is it possible to give a PDF a variable. The problem is: I want to call a pdf with a url from webbrowser. When it opens it should import a xfdf or xml-file. I'm searching for a way to tell the pdf which file to import. I thought about a param in the
-
This happens when I click on my links they pop up as the full screen not the size they used to show up. I have tried other browsers and the pop ups have not changed in size like Firefox. I will be more than happy to provide screen shots to fully demo
-
HOW TO MAKE CHECK BOXES EXCLUSIVE IN MULTI ROW BLOCK
Hi, I have a multi row block with one item as check box.It is required that at a time only one record can be marked as selected through this item. If user marks a record as selected the previous selected record should be marked as deselected. How i c
-
Hello, it is possible to get the list of all documents created by users in specific period? Can anyone help? thank you D.