APAR status
Closed as program error.
Error description
7118 env: Have an item with iskit=Y with Item assembly structure (demo has KIT134). Create another item called TEST and iskit=Y . Then save it and go to the item assembly structure tab and insert a new row with the previous item (KIT134). Drop the oracle seq drop SEQUENCE MAXIMO.MATRECTRANSSEQ recreate it with a current seq =2147745754: CREATE SEQUENCE MAXIMO.MATRECTRANSSEQ INCREMENT BY 1 START WITH 2147745754 NOMAXVALUE NOMINVALUE NOCYCLE NOORDER Then, add the previous item TEST to the storeroom central. Assemble the kit: Error; BMXAA4175E - Positive value required for field Receipt ID The cause is the line getInt - will go nagative and should be getLong instead in the below setValue line: at psdi.app.inventory.Inventory.kitMake(Inventory.java:2878) private void kitMake(psdi.app.inventory.virtual.KitRemote kit) throws psdi.util.MXException, java.rmi.RemoteException { psdi.app.item.ItemStructSetRemote itemStructKitSet = (psdi.app.item.ItemStructSetRemote)kit.getMboSet("FIRSTLEVELKITS TRUCT"); psdi.mbo.MboRemote usageComponent = null; psdi.mbo.MboRemote receiptComponent = null; psdi.app.inventory.MatRecTrans matrec = (psdi.app.inventory.MatRecTrans)getMboSet("$emptyMatRecTrans", "MATRECTRANS", "1=2").add(); kitTransAttr = "MATRECTRANSID"; kitTransID = matrec.getInt(kitTransAttr); kitCostMethod = getMboServer().getMaxVar().getString("DEFISSUECOST", getOrgSiteForMaxvar("DEFISSUECOST")); double possibleQty = 0.0D; int j = 0; while((usageComponent = itemStructKitSet.getMbo(j)) != null) { double qty = 0.0D; if(usageComponent.getString("itemnum").equalsIgnoreCase(usage Component.getString("itemid"))) { receiptComponent = usageComponent; j++; } else { psdi.app.inventory.MatUseTrans matuse = (psdi.app.inventory.MatUseTrans)getMboSet("$emptyMatUseTrans", "MATUSETRANS", "1=2").add(); matuse.setValue("MATRECTRANSID", matrec.getInt("matrectransid"), 11L); kitDoMatUseTransaction((psdi.app.item.ItemStructRemote)usage Component, matuse); j++; } } kitDoMatRecTransaction((psdi.app.item.ItemStructRemote)receipt Component, kit, matrec); }
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: maximo * **************************************************************** * PROBLEM DESCRIPTION: UNABLE TO MAKE A KIT WHEN SEQ GOES * * BEYONG JAVA INT (2 31-1) * * * **************************************************************** * RECOMMENDATION: * * * * * * * **************************************************************** UNABLE TO MAKE A KIT WHEN SEQ GOES BEYONG JAVA INT (2 31-1)
Problem conclusion
<This is fixed in code as suggested. getLong("matrectransid") replaced the getInt("matrectransid"). > The fix for this APAR is contained in the following maintenance package: | release\fix pack | REL 7.1.1.9 - BS
Temporary fix
Comments
APAR Information
APAR number
IZ95288
Reported component name
INVENTORY
Reported component ID
5724R46IN
Reported release
711
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2011-02-17
Closed date
2011-02-18
Last modified date
2011-02-18
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
MAXIMO
Fix information
Fixed component name
INVENTORY
Fixed component ID
5724R46IN
Applicable component levels
R711 PSY
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCHPMA","label":"Inventory"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"711","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
18 February 2011