Inventory bug 1.1.3?
We have been running an full hardware/software inventory scan on all workstations on the first tuesday of the month for several months. Life was good for a while, until we updated to 10.1.3
This last tuesday, first time the scan ran, all workstations fired the inventory client multiple times. Some were as high as 5 copies running but all had at least 2. Needless to say, this caused quite a bit of havoc as machines dropped to a crawl or simply crashed.
I removed inventory scanning policies and things slowly quieted back down. However, since then our servers have been swamped with "Upload Failure" messages. Some workstations have registered hundreds of them. My system logs went from 17k messages on Tuesday to over 3.2 million Thursday morning and message cleanups are deleting them slower than new ones are comming in. Database server (dedicated machine, Sybase) has gone from average of 15% CPU to spiking over 90%, pretty much making the system non-usable.
Anyone else experience these issues?
Originally Posted by itsslicences
Windows or SLES primary server? If SLES then check owner/group on inventory upload folders are set to "zenworks". I'm not certain, but I think inventory gets uploaded to the folders below /var/opt/novell/zenworks/collection/inventory on Linux.
SLES primary. Inventories have been running successfully for 5+ months prior to now. Permissions are correct.
The deluge of messages also appears to have corrupted the message table in the Sybase database, requiring much work to get stable again.
Similar Messages
-
Probable BUG found in Sybase Inventory database
Hi All,
(Sure is quiet around here - must be because ZDM 7 is so stable...)
So I have been having inventory database issues. Random but inevitable
database failures - eg "assertion failed 201425" (and other numbers that I
cannot locate at the moment), "mgmtdbs.db is not a valid database file" on
starting the sybase database. Etc.
Long troubleshooting story short: it appears that the sybase.nlm application
cannot handle nss volumes that are large. In my case it fails if I try to
run it on a 3.6TB or 5TB volume, but succeeds if I run it on small volumes -
20GB to 65GB. Also the database was running fine on a 1.8TB volume - the
problems began when I virtualized the server (on ESX 3.5u4) and moved the
volume from direct-attached scsi storage to network-attached CoRAID (AoE)
storage AND expanded the volume to 3.6TB.
To test my theory I ran the database on two other servers and 3 other
volumes. In all cases success came when the hosting volume was small -
didn't matter if the host volume was direct attached or on a physical server
as opposed to a virtual server.
So if you are having inventory database problems, try moving the database to
volume that is small - I suspect the magic breaking point is 2TB which just
happens to be the maximum size of an NSS partition...and wasn't that also
the max size of an NSS volume sometime in the past? Maybe the sysbase
engineers were working in such an environment when they wrote the
nlm...after all it has been 4 years since it was last modified (I am running
v8.00.03, Nov 30 2005) and even longer since it was originally written.
Anyways, the reason it fails is not so important. There is a workaround and
a long term solution as well - move to ZCM 10.whatever-is-good ;-)
Cheers,
Ron Neilly
UBC Okanagan
PS If you have any evidence to back me up - or to disprove me - please
share!Isn't it funny how once unfathomable disk sizes are now not that unusual?
My guess is you are correct and if an SR was created on the issue Novell
would likey raise the matter to Sybase for investigation.
(Clearly this sounds as if its a bug and would be refunded.)
But I think it's unlikely that it would be fixed even if verified since the
NLM is already so old.
While you have simple work-arounds, It is possible that the Windows and
Linux versions of Sybase that come with ZDM don't have this issue.
Craig Wilson - MCNE, MCSE, CCNA
Novell Support Forums Volunteer Sysop
Novell does not officially monitor these forums.
Suggestions/Opinions/Statements made by me are solely my own.
These thoughts may not be shared by either Novell or any rational human.
"Ron Neilly" <[email protected]> wrote in message
news:[email protected]...
> Hi All,
> (Sure is quiet around here - must be because ZDM 7 is so stable...)
>
> So I have been having inventory database issues. Random but inevitable
> database failures - eg "assertion failed 201425" (and other numbers that I
> cannot locate at the moment), "mgmtdbs.db is not a valid database file" on
> starting the sybase database. Etc.
>
> Long troubleshooting story short: it appears that the sybase.nlm
> application
> cannot handle nss volumes that are large. In my case it fails if I try to
> run it on a 3.6TB or 5TB volume, but succeeds if I run it on small
> volumes -
> 20GB to 65GB. Also the database was running fine on a 1.8TB volume - the
> problems began when I virtualized the server (on ESX 3.5u4) and moved the
> volume from direct-attached scsi storage to network-attached CoRAID (AoE)
> storage AND expanded the volume to 3.6TB.
>
> To test my theory I ran the database on two other servers and 3 other
> volumes. In all cases success came when the hosting volume was small -
> didn't matter if the host volume was direct attached or on a physical
> server
> as opposed to a virtual server.
>
> So if you are having inventory database problems, try moving the database
> to
> volume that is small - I suspect the magic breaking point is 2TB which
> just
> happens to be the maximum size of an NSS partition...and wasn't that also
> the max size of an NSS volume sometime in the past? Maybe the sysbase
> engineers were working in such an environment when they wrote the
> nlm...after all it has been 4 years since it was last modified (I am
> running
> v8.00.03, Nov 30 2005) and even longer since it was originally written.
>
> Anyways, the reason it fails is not so important. There is a workaround
> and
> a long term solution as well - move to ZCM 10.whatever-is-good ;-)
>
> Cheers,
>
> Ron Neilly
> UBC Okanagan
>
> PS If you have any evidence to back me up - or to disprove me - please
> share!
> -
Bug in Inventory Audit Report before upgradation from SAP B1 2004B to 2005B
Sir,
We upgraded SAP Business One 2004B to SAP Business One 2005B on 26/05/2007. Earlier we were having SAP B1 2004 in which therer was no Inventory Audit Report function in Inventory Reports. After upgradation if we take Inventory Audit Report, the closing quantity of the stock is shown is correct but the value for negative stock quantity is wrong for period before upgradation i.e.upto 26/05/2007. The difference is exactly double of the stock value of that item. The closing quantity and value is OK if we run the report for the period after upgradation i.e. from 27/05/2007 to till date.
For e.g.
If we make A.P.Credit Memo for an item qty.20 value INR 20,000/- based on A.P.Invoice and take Inventory Audit Report, the qty.is posted as -20 but the value is posted as INR 20,000/- but actually it should be INR -20,000/-. That is the value is taken twice of the original value.
Reagrds,
Vishal TakteHi Vishal,
Please contact SAP Support for your problem; I think they should be able to help you to fix the problem.
Sorry for any inconvenience,
Frank
PS: Please note that such "application-related" questions fit best into the "SAP Business One" Forum...
Message was edited by:
Frank Moebius -
Good Day to ALL!
I have a script of SQLPlus that creates a report. I have 8/9 numeric columns which are 'SUM'ed up thru 'COMPUTE' command. It works for all BUT 2 columns. If I put these two columns, compute does not take affect. If I remove these two columns ( just cut) 'COMPUTE' works fine!!! These two coulumns use DB Function. But I have other column that also use DB Function. These two columns has some extra additions. Any thing wrong with the script/column defn.
Thanks - Pradip (Pradip Biswas @Singapore) Could you pl. reply to [email protected]
Here is bit of script. Sorry about the length of the cut and paste.
COLUMN OPEN_QTY_BAL FORMAT 9,99,990 HEADING 'Opening|Qty' Justify LEFT
COLUMN OPEN_QTY_VALUE FORMAT 99,999,990 HEADING 'Opening|S$' Justify LEFT
COLUMN PO_RECEIPTS_QTY FORMAT 99,990 HEADING 'PO Rec|QTY ' Justify LEFT
COLUMN PO_RECEIPTS_QTY_VALUE FORMAT 9,999,990 Heading 'PO Rec|S$' Justify LEFT
COLUMN MISC_RECEIPTS_QTY Format 99,990 Heading 'Misc |Qty' Justify LEFT
Column MISC_RECEIPTS_QTY_VALUE Format 9,999,990 Heading 'Misc|S$' Justify LEFT
COLUMN WORKORDER_QTY FORMAT 99,990 HEADING 'WorkOrd|Qty' Justify LEFT
COLUMN WorkOrder_QTY_VALUE Format 9,999,990 HEADING 'WorkOrd|S$' Justify LEFT
COLUMN SALES_SHIPMENT_QTY FOrmat 99,990 Heading 'SalesShip|Qty' Justify LEFT
COLUMN SALES_SHIPMENT_QTY_VALUE FOrmat 9,999,990 Heading 'SalesShip|S$' Justify LEFT
COLUMN MISC_ISSUE_QTY Format 99,999 HEADing 'Misc|Qty' Justify LEFT
COLUMN MISC_ISSUE_QTY_VALUE Format 9,999,990 heading 'Misc|S$' Justify LEFT
COLUMN TRANSFER_QTY format 99,990 heading 'Transfer|Qty' Justify LEFT
COLUMN TRANSFER_QTY_VALUE format 99,999,990 heading 'Transfer|S$' Justify LEFT
COLUMN REVAL_VALUE Format 99,990 Heading 'Reval|S$' Justify LEFT
COLUMN ON_HAND_QTY FORMAT 9,99,990 HEADING 'Closing|Qty' Justify LEFT
COLUMN ON_HAND_QTY_VALUE FORMAT 99,999,999,990 HEADING 'Closing|S$' Justify LEFT
REPHEADER on
REPHEADER left ' GL Period From: &&P_GL_PERIOD_NAME_FROM ' skip left ' GL Period To : &&P_GL_PERIOD_NAME_TO ' skip left ' Inv Org Code : &&P_INV_ORG_CODE ' skip left 'SubInventory Code : &&P_SUBINVENTORY_CODE ' skip 2
TTITLE left 'H - Inv Inventory Movement Report as at:' TTITLE_DATE RIGHT 'PAGE:' FORMAT 999 SQL.PNO SKIP 2
BTITLE skip 1 CENTER 'COMPANY CONFIDENTIAL - Printed on ' TTITLE_DATE
BREAK on REPORT skip 1;
--rem(1) compute SUM label 'Total' of OPEN_QTY_VALUE PO_RECEIPTS_QTY_VALUE MISC_RECEIPTS_QTY_VALUE WorkOrder_QTY_VALUE SALES_SHIPMENT_QTY_VALUE MISC_ISSUE_QTY_VALUE TRANSFER_QTY_VALUE REVAL_VALUE on report;
--REM(2) compute SUM label 'Total $S: ' of OPEN_QTY_VALUE REVAL_VALUE on report;
--REM(3) compute SUM label 'Total $S: ' of OPEN_QTY_VALUE REVAL_VALUE ON_HAND_QTY_VALUE on report;
compute SUM label 'Total $S:' of OPEN_QTY_VALUE PO_RECEIPTS_QTY_VALUE MISC_RECEIPTS_QTY_VALUE WorkOrder_QTY_VALUE SALES_SHIPMENT_QTY_VALUE MISC_ISSUE_QTY_VALUE TRANSFER_QTY_VALUE REVAL_VALUE on report;
WHENEVER SQLERROR EXIT FAILURE
select
-- MSI.ORGANIZATION_ID ORGANIZATION_ID,
-- MSI.INVENTORY_ITEM_ID INVENTORY_ITEM_ID,
MSI.SEGMENT1||'//'||MSI.DESCRIPTION ITEM,
-- MSI.DESCRIPTION DESCRIPTION,
All_Item_subinv.SUBINVENTORY_CODE SUBINVENTORY,
MSIV.PRIMARY_UOM_CODE UOM,
--NVL(MOQ_OPen_BAL.OPEN_QTY_BAL ,0) OPEN_QTY_BAL ,
-- NVL(MOQ_OPen_BAL.OPEN_QTY_BAL,0) * NVL(AVG_ITEM_COST1.ITEM_COST,0) OPEN_QTY_VALUE,
(MOQ_OPen_BAL( All_Item_subinv.SUBINVENTORY_CODE,
MSI.ORGANIZATION_ID,
MSI.INVENTORY_ITEM_ID,
'&P_GL_PERIOD_NAME_FROM') ) OPEN_QTY_BAL ,
(MOQ_OPen_BAL_VAL( All_Item_subinv.SUBINVENTORY_CODE,
mSI.ORGANIZATION_ID,
MSI.INVENTORY_ITEM_ID,
'&P_GL_PERIOD_NAME_FROM')
) OPEN_QTY_VALUE,
NVL(AGGREGATED_MTT.PO_RECEIPTS_QTY,0) PO_RECEIPTS_QTY,
NVL(AGGREGATED_MTT.PO_RECEIPTS_QTY_VALUE,0) PO_RECEIPTS_QTY_VALUE,
NVL(AGGREGATED_MTT.MISC_RECEIPTS_QTY,0) MISC_RECEIPTS_QTY,
NVL(AGGREGATED_MTT.MISC_RECEIPTS_QTY_VALUE,0) MISC_RECEIPTS_QTY_VALUE,
NVL(AGGREGATED_MTT.WORKORDER_QTY,0) WORKORDER_QTY,
NVL(AGGREGATED_MTT.WorkOrder_QTY_VALUE,0) WorkOrder_QTY_VALUE,
NVL(AGGREGATED_MTT.SALES_SHIPMENT_QTY,0) SALES_SHIPMENT_QTY,
NVL(AGGREGATED_MTT.SALES_SHIPMENT_QTY_VALUE,0) SALES_SHIPMENT_QTY_VALUE,
NVL(AGGREGATED_MTT.MISC_ISSUE_QTY,0) MISC_ISSUE_QTY,
NVL(AGGREGATED_MTT.MISC_ISSUE_QTY_VALUE,0) MISC_ISSUE_QTY_VALUE,
NVL(AGGREGATED_MTT.TRANSFER_QTY,0) TRANSFER_QTY,
NVL(AGGREGATED_MTT.TRANSFER_QTY_VALUE,0) TRANSFER_QTY_VALUE,
NVL(AGGREGATED_MTT.REVAL_VALUE,0) REVAL_VALUE,
(MOQ_OPen_BAL(All_Item_subinv.SUBINVENTORY_CODE,
MSI.ORGANIZATION_ID,
MSI.INVENTORY_ITEM_ID,
'&P_GL_PERIOD_NAME_FROM')
+
nvl(AGGREGATED_MTT.PO_RECEIPTS_QTY,0) +
nvl(AGGREGATED_MTT.MISC_RECEIPTS_QTY,0) +
nvl(AGGREGATED_MTT.WORKORDER_QTY,0) +
nvl(AGGREGATED_MTT.SALES_SHIPMENT_QTY,0) +
nvl(AGGREGATED_MTT.MISC_ISSUE_QTY,0) +
nvl(AGGREGATED_MTT.TRANSFER_QTY,0) ) ON_HAND_QTY,
((MOQ_OPen_BAL_VAL( All_Item_subinv.SUBINVENTORY_CODE,MSI.ORGANIZATION_ID,MSI.INVENTORY_ITEM_ID,'&P_GL_PERIOD_NAME_FROM'))
+(nvl( AGGREGATED_MTT.PO_RECEIPTS_QTY_VALUE,0) )
+(nvl( AGGREGATED_MTT.MISC_RECEIPTS_QTY_VALUE,0) )
+(nvl( AGGREGATED_MTT.WorkOrder_QTY_VALUE,0) )
+(nvl( AGGREGATED_MTT.sALES_SHIPMENT_QTY_VALUE,0) )
+(nvl( AGGREGATED_MTT.MISC_ISSUE_QTY_VALUE,0) )
+(nvl( AGGREGATED_MTT.TRANSFER_QTY_VALUE,0) )
+nvl( AGGREGATED_MTT.REVAL_VALUE,0)) ON_HAND_QTY_VALUE -- column alias
FROM
-- In line View for MSI
(select distinct MMT.ORGANIZATION_ID, MMT.INVENTORY_ITEM_ID, MMT.SUBINVENTORY_CODE
From MTL_MATERIAL_TRANSACTIONS MMT,
ORG_ORGANIZATION_DEFINITIONS OOD,
MTL_ONHAND_QUANTITIES moq
where
OOD.organization_code = '&P_INV_ORG_CODE' --'HS' --'&P_INV_ORG_CODE'
AND OOD.inventory_enabled_flag = 'Y'
AND OOD.operating_unit = fnd_profile.value('ORG_ID') --83 --fnd_profile.value('ORG_ID')
AND OOD.SET_OF_BOOKS_ID = fnd_profile.value('GL_SET_OF_BKS_ID') --1 --fnd_profile.value('GL_SET_OF_BKS_ID')
AND MMT.ORGANIZATION_ID = OOD.organization_id
AND MMT.SUBINVENTORY_CODE = NVL('&P_SUBINVENTORY_CODE', MMT.SUBINVENTORY_CODE)
and MMT.ORGANIZATION_ID = MOQ.ORGANIZATION_ID -- to eliminate consigend items:2007Jan04:PKB
and MMT.INVENTORY_ITEM_ID = MOQ.INVENTORY_ITEM_ID --,,
and MMT.SUBINVENTORY_CODE = MOQ.SUBINVENTORY_CODE --,,
UNION
Select distinct MOQ.ORGANIZATION_ID, MOQ.INVENTORY_ITEM_ID, MOQ.SUBINVENTORY_CODE
from MTL_ONHAND_QUANTITIES MOQ,
ORG_ORGANIZATION_DEFINITIONS OOD2
WHERE
OOD2.organization_code = '&P_INV_ORG_CODE' --'HS' --'&P_INV_ORG_CODE'
AND OOD2.inventory_enabled_flag = 'Y'
AND OOD2.operating_unit = fnd_profile.value('ORG_ID') --83 --fnd_profile.value('ORG_ID')
AND OOD2.SET_OF_BOOKS_ID = fnd_profile.value('GL_SET_OF_BKS_ID') --1 --fnd_profile.value('GL_SET_OF_BKS_ID')
AND moq.ORGANIZATION_ID = OOD2.organization_id
AND moq.SUBINVENTORY_CODE = NVL('&P_SUBINVENTORY_CODE', moq.SUBINVENTORY_CODE)
) ALL_Item_SUBInv,
MTL_SYSTEM_ITEMS_B MSI,
Mtl_System_Items_Vl MSIV,
(SELECT
MMT.ORGANIZATION_ID ORGANIZATION_ID,
MMT.INVENTORY_ITEM_ID INVENTORY_ITEM_ID,
MMT.SUBINVENTORY_CODE SUBINVENTORY_CODE,
-- PO RECEIPTS.
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
('Purchase order')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('PO Receipt','PO Rcpt Adjust','Return to Vendor')
THEN
--MMT.TRANSACTION_QUANTITY
mmt.primary_quantity
ELSE 0
END
ELSE 0
END ) PO_RECEIPTS_QTY,
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
('Purchase order')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('PO Receipt','PO Rcpt Adjust','Return to Vendor')
THEN
NVL(MMT.ACTUAL_COST,0)* nvl(mmt.primary_quantity,0)
MMT.TRANSACTION_COST * NVL(AVG_ITEM_COST.ITEM_COST,0)
ELSE 0
END
ELSE 0
END ) PO_RECEIPTS_QTY_VALUE,
-- MISC RECEIPTS.
SUM( CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
('Account','Inventory')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Account receipt','Miscellaneous receipt')
THEN
--MMT.TRANSACTION_QUANTITY
mmt.primary_quantity
ELSE 0
END
ELSE 0
END ) MISC_RECEIPTS_QTY,
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
('Account', 'Inventory')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Account receipt','Miscellaneous receipt')
THEN
NVL(MMT.ACTUAL_COST,0) * nvl(mmt.primary_quantity,0)
MMT.TRANSACTION_COST NVL(AVG_ITEM_COST.ITEM_COST,0)
ELSE 0
END
ELSE 0
END ) MISC_RECEIPTS_QTY_VALUE,
-- WorkOrder Qty and S$
SUM( CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
('Job or Schedule')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('WIP Assembly Return','WIP Assy Completion','WIP component issue','WIP Component Return')
THEN
--MMT.TRANSACTION_QUANTITY
mmt.primary_quantity
ELSE 0
END
ELSE 0
END ) WORKORDER_QTY,
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
('Job or Schedule')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('WIP Assembly Return','WIP Assy Completion','WIP component issue','WIP Component Return')
THEN
NVL(MMT.ACTUAL_COST,0) * nvl(mmt.primary_quantity,0)
MMT.TRANSACTION_COST NVL(AVG_ITEM_COST.ITEM_COST,0)
ELSE 0
END
ELSE 0
END ) WorkOrder_QTY_VALUE,
-- Sales Shipment
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
( 'Sales order','RMA')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Sales order issue','Sales Order Pick','RMA Return','RMA Receipt')
THEN
--MMT.TRANSACTION_QUANTITY
mmt.primary_quantity
ELSE 0
END
ELSE 0
END ) SALES_SHIPMENT_QTY,
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
( 'Sales order','RMA')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Sales order issue','Sales Order Pick','RMA Return','RMA Receipt')
THEN
NVL(MMT.ACTUAL_COST,0) * nvl(mmt.primary_quantity,0)
MMT.TRANSACTION_COST NVL(AVG_ITEM_COST.ITEM_COST,0)
ELSE 0
END
ELSE 0
END ) SALES_SHIPMENT_QTY_VALUE,
-- MISC ISSUE
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
('Inventory','Account' )
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Miscellaneous issue','Account issue')
THEN
--MMT.TRANSACTION_QUANTITY
mmt.primary_quantity
ELSE 0
END
ELSE 0
END ) MISC_ISSUE_QTY,
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
('Inventory','Account' )
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Miscellaneous issue','Account issue')
THEN
NVL(MMT.ACTUAL_COST,0) * nvl(mmt.primary_quantity,0)
MMT.TRANSACTION_COST NVL(AVG_ITEM_COST.ITEM_COST,0)
ELSE 0
END
ELSE 0
END ) MISC_ISSUE_QTY_VALUE,
-- Transfers
SUM( CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
( 'Inventory' )
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Subinventory Transfer')
THEN
--MMT.TRANSACTION_QUANTITY
mmt.primary_quantity
ELSE 0
END
ELSE 0
END ) TRANSFER_QTY,
SUM( CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
( 'Inventory')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Subinventory Transfer')
THEN NVL(MMT.ACTUAL_COST,0) * nvl(mmt.primary_quantity,0)
MMT.TRANSACTION_COST NVL(AVG_ITEM_COST.ITEM_COST,0)
ELSE 0
END
ELSE 0
END ) TRANSFER_QTY_VALUE,
-- Adjustment to Cost (Revaluation)
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
( 'Standard cost update','Job or Schedule')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Standard cost update','WIP cost update')
THEN
--2007JAN03:PKB MMT.TRANSACTION_COST
MMT.TRANSACTION_COST* MMT.QUANTITY_ADJUSTED
ELSE 0
END
ELSE 0
END ) REVAL_VALUE
FROM
MTL_MATERIAL_TRANSACTIONS MMT,
--GL_PERIODS GP,
MTL_TRANSACTION_TYPES MTT,
MTL_TXN_SOURCE_TYPES MTST,
ORG_ORGANIZATION_DEFINITIONS OOD
WHERE
OOD.organization_code = '&P_INV_ORG_CODE' --'HS' --'&P_INV_ORG_CODE'
AND OOD.inventory_enabled_flag = 'Y'
AND OOD.operating_unit = fnd_profile.value('ORG_ID') --83 --fnd_profile.value('ORG_ID')
AND OOD.SET_OF_BOOKS_ID = fnd_profile.value('GL_SET_OF_BKS_ID') --1 --fnd_profile.value('GL_SET_OF_BKS_ID')
AND MMT.ORGANIZATION_ID = OOD.organization_id
AND MMT.SUBINVENTORY_CODE = NVL('&P_SUBINVENTORY_CODE', MMT.SUBINVENTORY_CODE)
-- AND GP.PERIOD_SET_NAME = 'HF-ACCTG-CAL' -- Hardcoded PKB
AND
( (EXISTS
( select GP.Period_name
FROM GL_PERIODS GP
where TO_DATE(TO_CHAR(MMT.TRANSACTION_DATE,'DD-MM-YYYY'),'DD-MM-YYYY')
>= TO_DATE(TO_CHAR(GP.START_DATE,'DD-MM-YYYY'),'DD-MM-YYYY') --Between GP.START_DATE and GP.END_DATE
AND GP.PERIOD_NAME = '&P_GL_PERIOD_NAME_FROM'
and GP.PERIOD_SET_NAME = 'HF-ACCTG-CAL'
AND NVL('&P_GL_PERIOD_NAME_FROM','ALL') != 'ALL'
OR (NVL('&P_GL_PERIOD_NAME_FROM' ,'ALL') = 'ALL')
AND
( (EXISTS
( select GP.Period_name
FROM GL_PERIODS GP
where TO_DATE(TO_CHAR(MMT.TRANSACTION_DATE,'DD-MM-YYYY'),'DD-MM-YYYY')
<= TO_DATE(TO_CHAR(GP.END_DATE,'DD-MM-YYYY'),'DD-MM-YYYY')
AND GP.PERIOD_NAME = '&P_GL_PERIOD_NAME_TO'
and GP.PERIOD_SET_NAME = 'HF-ACCTG-CAL'
AND NVL('&P_GL_PERIOD_NAME_TO','ALL') != 'ALL'
OR (NVL('&P_GL_PERIOD_NAME_TO','ALL') = 'ALL')
AND MMT.TRANSACTION_TYPE_ID = MTT.TRANSACTION_TYPE_ID
AND MMT.TRANSACTION_SOURCE_TYPE_ID = MTST.TRANSACTION_SOURCE_TYPE_ID
group by
MMT.ORGANIZATION_ID,
MMT.INVENTORY_ITEM_ID,
MMT.SUBINVENTORY_CODE
) AGGREGATED_MTT,
-- Inline Table for AVG_ITEM_COSTs 2nd time,
(SELECT
CIC.ORGANIZATION_ID ORGANIZATION_ID,
CIC.INVENTORY_ITEM_ID INVENTORY_ITEM_ID,
CIC.COST_TYPE_ID COST_TYPE_ID,
CCT.COST_TYPE COST_TYPE,
NVL(CIC.ITEM_COST ,0) ITEM_COST
FROM
CST_ITEM_COSTS CIC,
CST_COST_TYPES ccT,
ORG_ORGANIZATION_DEFINITIONS OOD1
WHERE
CCT.COST_TYPE_ID = CIC.COST_TYPE_ID
/*AND (
(CCT.COST_TYPE = 'Average' and '&P_INV_ORG_CODE' = 'HS')
OR
(CCT.COST_TYPE = 'Frozen' and '&P_INV_ORG_CODE' = 'HL')
AND CCT.COST_TYPE_ID =
( select m.primary_cost_method
from mtl_parameters m
where m.organization_id = OOD1.ORGANIZATION_ID
and OOD1.organization_code = '&P_INV_ORG_CODE' --'HS' --'&P_INV_ORG_CODE'
AND OOD1.inventory_enabled_flag = 'Y'
AND OOD1.operating_unit = fnd_profile.value('ORG_ID') 83 --fnd_profile.value('ORG_ID')
AND OOD1.SET_OF_BOOKS_ID = fnd_profile.value('GL_SET_OF_BKS_ID') 1 --fnd_profile.value('GL_SET_OF_BKS_ID')
AND cic.ORGANIZATION_ID = OOD1.organization_id
) AVG_ITEM_COST1
WHERE
AGGREGATED_MTT.ORGANIZATION_ID(+) = All_Item_subinv.ORGANIZATION_ID
AND AGGREGATED_MTT.INVENTORY_ITEM_ID(+) = All_Item_subinv.INVENTORY_ITEM_ID
AND AGGREGATED_MTT.subinventory_code(+) = All_Item_subinv.subinventory_code
AND All_Item_subinv.ORGANIZATION_ID = MSI.ORGANIZATION_ID
AND ALL_Item_SUBInv.INVENTORY_ITEM_ID = MSI.INVENTORY_ITEM_ID
AND AVG_ITEM_COST1.ORGANIZATION_ID(+) = MSI.ORGANIZATION_ID
AND AVG_ITEM_COST1.INVENTORY_ITEM_ID(+) = MSI.INVENTORY_ITEM_ID
and msi.ROWID = MSIV.ROW_ID
and msi.ORGANIZATION_ID = fnd_profile.value('ORG_ID') --83 --fnd_profile.value('ORG_ID')
and sysdate between NVL(msi.start_date_active,sysdate -1 )
and NVL(msi.end_date_active,sysdate+1)
Order BY
MSI.SEGMENT1,
MSI.DESCRIPTION ,
All_Item_subinv.SUBINVENTORY_CODE
/Hi Barry and All: This indeed is a bug in SQLPLUS ! Version 9.2.0.1.0 as well.
Thanks for asking the version no of SQLLPLUs. I was working thru Oracle Apps 11i.10 (concurrent program). So I did not get any message from SQLPLUS.
I tested independently in SQLPLUS and got the message! Thanks Oracle!!!
The Bug is in the name of COLUMN NAME or ALIAS Name. I renamed the columns from ON_HAND_QTY and ON_HAND_VALUE to CLOSE_QTY and CLOSE_QTY_VALUE. It worked!! The string 'ON' in the column/alias name is taken as 'ON' keyword/clause for 'compute' statement for SQLPLUS.
Here is the message from SQLPLUS
" SP2-0084: COMPUTE ON keyword specified already"
See these two line and compare
--compute SUM label 'Total $S: ' of SALARY ON_SALARY on report;
compute SUM label 'Total $S: ' of SALARY on report;
Thanks - Pradip
Here is the sample code to simulate. (not Big :))
WHENEVER SQLERROR EXIT FAILURE
CLEAR computes
CLEAR BREAKS
clear column
TTITLE OFF
BTITLE OFF
set verify off
set feedback off
set echo off
set heading off
set termout off
set linesize 203
set pagesize 30
set termout on
SET UNDERLINE =
set heading on
COLUMN SALARY FORMAT 9,999,990 Heading 'SALARY'
COLUMN ON_SALARY format 9,999,990 Heading 'ON Salary'
column ENAME format a20 heading 'NAME'
COLUMN EMPNO Format 99999 HEADING 'EMPNO'
BREAK on REPORT skip 3;
--compute SUM label 'Total $S: ' of SALARY ON_SALARY on report;
compute SUM label 'Total $S: ' of SALARY on report;
WHENEVER SQLERROR EXIT FAILURE
select empno, ename, sal SALARY, sal ON_SALARY from scott.emp; -
Minecraft and KDE ingame bug?
Hey folks,
I suffer from a really strange bug within Minecraft. While opening the inventory and moving items to the crafting field, I use the SHIFT+MOUSEBUTTON1 shortcut to move alle peaces at once, which leads to a kind of lock-in. After pressing the shortcut I cannot move any item with the mouse anymore. It's as the SHIFT button gets sticky. Now that sounds like an upstream bug you will say, but I made two additional observations:
it does not occur on osx or linux with i3wm
trying to re-assign the keycode for sneak with SHIFT doesn't detect the SHIFT key at all
Hence, there must be something really shaky in that triumvirate of KDE, MC and Java. My gut says it has something to do with the keyboard control of KDE. Any Idea?
greets
p.s.
minecraft 1.1
java 1.6.0_30
kde 4.8
x86_64esdaniel wrote:I had this problem a while ago, after spending a lot of time trying to identify the config to change I gave up... I deleted all my plasma config files (i.e. the user-specific files created for each account) and started again i.e. adding widgets, organising panels etc. which solved the problem for me. Sorry it's a vague answer but it might save you time and frustration to bite bullet and follow my suggestion if no one else has a better tip on how to resolve this.
Thank you very much for your answer but i don't know how to do that:) -
Error Message in Delivery : Quantity falls below minimum inventory level
Version : SBO 2005 A SP01 PL22
Description of Issue: When trying to Add a Delivery you get Error Message: Quantity falls below minimum inventory level [Delivery - Rows - Warehouse Code] [line: 0] [Message 131-14]. You are then unable to Post the Delivery and Print the corresponding Packing List.
Testing Findings: Upon detailed testing of this issue and work with SAP Support it has been determined that the issue is that the Delivery Row Ordered Qty is looking at the OITM In Stock Qty when determining if the full Row Qty can ship instead of the OITW In Stock Qty. This is an issue because due to other "bugs" this Client has encountered their OITW Qtys in other Whses are negative, even though they have the Block Negative Inventory and the Manage Inventory by Warehouse Flags Checked On. This then reduces the OITM Qty below the level of the Delivery Row and you get the above error message.
Example: A Sales Order Row has an Order Qty of 15 for Whse 01 for a particular Item. The OITW In Stock Qty for Whse 01 = 17. The OITW In Stock Qty for Whse 03 = -7. The Block Negative Inventory and Manage Inventory by Whse Flags are both Checked On. The 'Net' OITM In Stock = 10. When you try to Copy the Sales Order to a Delivery and Add the Delivery, you get the above Error Message and it will not allow you to Post the Delivery and Print the Packing List.
Current Workaround: Client is performing Inventory Goods Receipts to bring the In Stock Qtys in the affected Whses to greater than or equal to zero.
Proposed Solution: SAP Development to add logic to SAP Business One to validate the Delivery Row Qtys to Ship against the OITW In Stock Qtys instead of OITM when the Manage Inventory by Whse Flag is checked on.
Supporting Documentation: This DRQ Request relates to Support Message # 864405 2007. All above referenced testing details including example SO#'s, Item #'s, etc. and an entire copy of the Client's database are available and linked to this Message #.Hi Ramu,
also you can make sure you are choosing the right WH in ctrlshiftS windows if You do, then chek on Inventory -> Inventory report -> inventory status if you have enought and available quantities for the delivery, if you dont then you gonna have to make the PO and the AP Invoice to add more quantity to that item
regards -
API for Physical Inventory Tag Count
Hi , Please let me know if any Public API available for updating the physical Inventory tag count ? We have requirement like update of physical counts of Inventory tags, the idea is the counts are stored in flat file is in same column format of Physical Inventory Tag count form in Inventory , here just we need to update the counts. let me know any public API avaialble
According to the oracle knowledgebase, there is no Public API. But there is an enhancement request that you might want to add your company to.
Bug 3611131 : INTERFACE/API FOR PHYSICAL INVENTORY ADJUSTMENTS / TAGS -
Custom inventory report not working using OITM token
We are running SAP Business One 8.82 (8.82.068) PL:06. I have created a custom report where I attempt to use the OITM token within Crystal Reports as the parameter, but it does not seem to work. The report will run when I run it within SAP B1, however, it does not take into affect any options I choose within the token. The example provided below shows how I use the parameter, how the report is run and what options are selected, and the results I get. As you will see, I select the check box to hide inventory items with zero stock, but clearly in the results pane you can see inventory items with no stock displayed. Is this a bug or am I doing something wrong? Thank you in advance for your help.
In Crystal Designer, under Report>Select Expert>Record
add a formula like Oitm.ItemCode = {?Your Paramater token}
This is what will filter the report results. You can add filters to your token eg MyParameter@SELECT * FROM OITM WHERE ONHAND >0 as well, which will help to filter, it depends where you want to do the filtering. -
(BUG REPORT) Bloodborne, Tiny Music Box.
Im sure many of you guys noticed It is possible to obtain a box in every ng+ which will permanently take up a storage space as it carries over every time you go on a new ng+ level and cannot be discarded sold etc. i thought it will get fixed on patch 1.04 but still the same issue... Is this meant to be like this? for me its a bug because it makes no sense at all, other items with unlimited use can be sold or discarded or dont even have a possible space in the storage.
well you accidentaly pick it up on the second run if you have it already one int he inventory and do the quest again, just wondering what happenes if you would do the quest 99 times and the storage space is full,maybe the game crashes or then it just drops on the floor like iosefkas bloodvial when you try to pick it up twice... well the only fix for this issue is rerolling your character and thats it
-
Technology Stack Inventory Validation Report r12.1
How do you run the Technology Stack Inventory Validation Report on R12.1?
I knew how to run it in 11i but it is not in the same place on R12.1Thanks,
That provided some of what I was looking for but the Technology Stack Inventory Validation Report used to be
$ADPERLPRG $ORACLE_HOME/appsutil/bin/TXKScript.pl
-script=$ORACLE_HOME/appsutil/bin/txkVal11510MP.pl
-txktop=$ORACLE_HOME/appsutil
-appspass=<apps_password>
-outfile=$ORACLE_HOME/appsutil/temp/txkVal11510MP_DB.html
and the output looked like this:
Technology Validation Utility report for 11.5.10 Maintainance Pack.
===================================================================
The latest version of the Technology Validation Utility and instructions
are available in Oracle MetaLink Note 259484.1 .
Date :Mon Jun 28 16:19:52 2004
Hostname :apposf45.us.oracle.com
Node Type :Admin,Conc,DB,Web,Forms
Instance :PROD_apposf45
Platform :OSF1
DB Host :apposf45.us.oracle.com
Context File :/scratch/apps/disks/disk3/_apps_11510_ab_apps_prodappl/admin/PROD_apposf 45.xml
Report File :/scratch/disk1/_apps_11510_ab1.5/temp/txkVal11510MP.txt
Validation of Administration Server Node (apposf45):
[PASS] Database version from dbms_utility 9.2.0.3.0
[PASS] JOB_QUEUE_PROCESSES in parameter table 2
[PASS] Undo management in parameter table AUTO
[PASS] Database check confirms the fix for
materialized view
bug 2328821 has been applied.
[PASS] Amount of temporary tablespace in MB 1500
assigned to Apps Schema (determined
by querying DBA_TEMP_FILES and
DBA_USER)
[PASS] UTL_RECOMP package is found in the
database.
[PASS] The patch 2949941 for UTL_RECOMP has
been applied.
[PASS] The parallel_max_servers parameter is 8
set to
[PASS] Your Applications database contains 3.0.9.8.4
Portal version
[PASS] Your Applications database contains 3.0.9.8.4
Login Server version
Validation of Concurrent Processing Server Node (apposf45):
[PASS] 'X11 DISPLAY' parameter from the fuji01.us.oracle.com:35.0
Applications Context file
[PASS] JDK on Concurrent Processing node 1.3.1
[PASS] AF_JRE_TOP, AF_CLASSPATH and AFJVAPRG
variables are correct.
.... -
Prime infrastructure 2.0 - Inventory error with Virtual-Access Interface
Hi,
We have recently been trying to resolve a few issues with routers which get partial inventory failures upon discovery. I have managed to narrow this down slightly with the help of the inventory.log file. (With help from this post https://supportforums.cisco.com/thread/2255346 ) I have found the following happnes when this device is added:
[2014-03-04 14:00:27,537] [ICE Service[ 1]Thread: 29] [inventory] [ERROR] - 172.16.3.202 Object detected as SAME but DB Object obtained from the database is NULL For instance id: 0 For generated POJO: PPPEncapsulation[callBack=false,callIn=false,callOut=false,multilink=false,name=Virtual-Access1,oneTime=false,owningEntityId=69757688_172.16.3.202,preferedAuthType=NONE,deployPending=NONE,name=Virtual-Access1,owningEntityId=69757688_172.16.3.202,instanceId=0,_orderedListOEIndex=<Integer>,_creationOrderIndex=<Integer>,instanceVersion=0]
I have highlighted above where it mentions the problem with the virtual access interface. The configuration on the router is for PPPoE and the virtual-access1 interface is bound to Dialer0.
It then goes on to roll back the transaction:
172.16.3.202 persistObjects called with addList size = 307, updateList size = 6
172.16.3.202 Exception while persisting: com.cisco.xmp.persistence.common.util.DMMCRUDException:,message=errorId=12,componentName=CRUD Error Create Object Failed
172.16.3.202 Exception occured while inventory collection for device with id 69757688: com.cisco.xmp.inventory.ice.InventoryException: errorId=12,componentName=CRUD Error Create Object Failed
172.16.3.202 Done with collection. Total call method time: 15308
172.16.3.202 Rolling back the transaction
Has anyone else come accross this issue?
I have attched the log showing just messages from this device.
Thanks,
Mike.TAC and I found a bug, CSCum05301.
May be that is also helpfull for others.
https://tools.cisco.com/bugsearch/bug/CSCum05301/
Symptom:
Inventory collection will fail if following keywords are used as part on description command on the interface config level of IOS device: 1Gbps, 10Mbps etc.
Following error message is visible on the DWC:
Inventory Collection Status: Partial Collection Failure
Collection Status Failed feature(s)
Unable to configure DSL, Serial, POS, Ethernet, Loopback, Virtual-Interface, Tunnel, Vlan, Switchport and Service Module interfaces on ISR, ASR and Switches.
Conditions:
Speed keywords like 1Gbps, 10Mbps etc. available as part of descrption command in IOS interface level.
For example:
interface FastEthernet0/3
description 10Mbps
Workaround:
Use a space character between number and unit keyword, like 1 Gbps. -
New OUI bug hinders 9.2 install on Linux
I'm hunting a bug in "Oracle Universal Installer" on a RH Linux system with 9i Application Server Rel. 2 + world of patches installed...
In this config, OUI will crash with a HotSpot error dump - consistently on the same place. I have narrowed it down to a library linking fault related to stat libc call (and that stat is inline).
The bad library is:
oraInventory/Actions21/fileActions/2.2.0.14.0/fileActionLib.jar
stage/Actions/fileActions/2.2.0.14.0/1/fileActionLib.jar
(one source of this "action library" is AS 9.0.2.1.0 Non-Core patch set, OUI 2.2.0.16.0)
To find it, use:
find / -name fileActionLib.jar 2>/dev/null | grep 2.2.0.14
Perhaps there's also some problems with using different versions of OUI (not only latest version, or older -> newer). Base releases and patch sets comes with different oui packages - there's five now on this system, oh gee :)
I'm looking for someone interested in a collaboration here. Specifically, if you have the bad OUI "Actions" library installed and want to try to install 9i DB 9.2. Perhaps just to find out how common this lib is and to, in some way, spread the word around to help others.
I have a TAR going but it will probably take a while to escalate...
Regards,
FredrikPerhaps I made a mistake by pointing finger at fileActionLib.jar, 2.2.0.14.0. One thing that made it a suspect was an object file of that jar: libactionFile170.so - its symbol table does not look quite like that of previous versions!
But that version of libactionFile170.so does not even get used (oops) in installing DB 9.2 (it could be broken, but it does not matter for the moment).
After digging around some more, it looks like OUI picks the wrong jar file (with classes or libraries) to work with from Inventory or distribution.
This could depend e.g. on on whether previous components gets successfully installed or not (like jre 1.1.8).
Bug or not... OUI has certainly bugged me a lot this weekend! :) Gaah! -
SBO 2007A PL46 - Inventory Audit Report same warehouse exist for twice
Hi All,
Is anyone encounter the same error? As when i trying to generate the Inventory Audit Report for all the warehouses and check the option "Group By Warehouses", i get the results that the same warehouse are appear twice in the report. As for the transactions detail of the warehouse are being split into two portions ... BUT it does not happens to all the items ...
The thing is when i trying to generate the report for an item with same parameter settings EXCEPT to select only single warehouse, then the warehouse is not being split into two ...
Anyone have the idea? I had did some researches in SAP Notes, found there is a similar case for the above error, but it is happened to SBO 2007B and being resolve in PL16 and above.. but cannot find any thing for 2007A about this issue...
Appreciate if anyone of you can provide any feedback on this ...Hi,
Have you checked SAP Note 1415496? If that applies to your error, it is a bug.
SAP will deliver patches only for selected releases at its own discretion, based on the business impact and the complexity of the implementation.
Thanks,
Gordon -
Inventory Organization as Process Enabled
Dear All,
While Enabling Inventory Organization as Process Manufacturing Organization, Costing Methods Defaults to STANDARD and the field cannot be updated.
This issue happens for the First time when we enable an Inventory Org as an Process Manufacturing ORG and it does not occur if we repeat the same setup for another Inventory Org.
Kindly help to sort out the issue. Are we missing anything here?? Is it a bug?
Thanks
DineshThis is not a bug.
In org parameter the costing will default as standard even if you copy a average cost org.
The reason is costing of Org happens based on OPM financials definitions. -
Rights to Inventory Custom Reports
Hi
On our ZCM zone (recently upgraded to ZCM 11.2.1) only the "Administrator" can view Inventory Custom Reports. All other admins (including superadmins) see nothing in the Inventory Custom Reports list. If they create a new report the name is accepted but never shows. If another attempt is made it states "folder already exists".
I have given full access to all custom reports with the following but still they never show in ZCC for superadmins (browsers: ie8, ie9, firefox 10.0.5)
ZCC->Configuration->Click the adminuser -> rights tab -> assign rights through "Inventory Report Rights" in the left pane under "Administrator Tasks"
I have also added the specific "Reporting Rights" for the adminusers to the Reports folder but the result is the same. They should not need the reporting rights anyway as they are superadmins.
Any suggestions on how to make this work?
Thanks
JulianOriginally Posted by danielsjogren
I have the same issue. New users can't see Custom reports.
Even if I give them full rights to all custom reports and standard reports, they won't see them.
The only way for them to see the standard reports is to be a super admin.
/Daniel
I vaguely remember running into this. No, you don't need to give them super admin, but you have to do something odd/funky. It was supposed to have been fixed in 11.2 and it wasn't. I vaguely remember it was TID #7007898
We had 2 issues with that.
1) if you didn't get rid of the .xml file it would generate errors/exceptions (at least if you're using Oracle), so it wouldn't actually run/do what it was supposed to do (that's the bug/defect that was supposedly fixed)
2) Try running it manually with the zman rpfs instead
I think that fixed it for us.
We have non-super admin users who can see custom reports that one of our other non-super admins has created.
Maybe you are looking for
-
Can no longer access log files from EM(ECM11.1.1.6.0).
Full UI popup error is " Stream closed ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #4" Of course, I can't see any further errors in the logs,so I'm
-
MBP/iBook won't read repaired USB drive?
I have an ativa thumb drive I've been using for a few months now. In the past few days suddenly my MBP (also an iBook) gives me the message "Disk you've inserted cannot be read by this computer - Initialize / Ignore / Eject." So I opened Disk Utiliti
-
Can someone download photos from web gallery?
Can someone download individual photos from my web gallery? I am posting about 40 photos in the web gallery.I want people that visit to be able to download the photos they want. I tried it and it is set to download the entire album compressed. The vi
-
I cant find half of my contacts, but I see them in my txt message app
I can not find half of my contacts but I can stilll see them in my text message app
-
The iPod could not be restored because the firmware file was corupt.
What does that mean and how do I restore my iPod when that is all it says everytime I try to?