Before going down the path of a custom action, on the object structure, open the Advanced Configuration dialog. Ensure the "Invoke Execute on Non-persistent Object" checkbox is enabled on the TRANSFERCURITEM object. This is required for us to call execute when the data is provided. Otherwise, you need to have an inbound processing automation script to do it.
Original Message:
Sent: Fri August 30, 2024 04:11 PM
From: Pablo Condoleo
Subject: Transfer Current Item with in store room using integrations
Hi Anudeep, I'm trying to do the same but without success. I'm wondering how did you implement the class TransferCurITemSet in script?. I've created an object structure equal to yours (with objects Inventory and TransferCurItem) and defined the script as OS action. I was trying using JSON Api calls but it didn't work.
Any clue or suggestion will be welcome!
Thanks and regards
------------------------------
Pablo Condoleo
Original Message:
Sent: Wed October 18, 2023 08:57 AM
From: Anudeep Reddy Katukuri
Subject: Transfer Current Item with in store room using integrations
thanks Steve for the suggestions. I was able to create the transfer record in matrectrans and was able to do the non-rotating item move. implemented execute method logic from TransferCurITemSet class in script on object structure with Inventory and Transfercuritem as objects.
Not sure why invoking NP Objects from REST API didn't work though.
Thanks
Anudeep
------------------------------
Anudeep Reddy Katukuri
Original Message:
Sent: Mon October 16, 2023 12:14 PM
From: Steven Shull
Subject: Transfer Current Item with in store room using integrations
What version of TPAE (Tivoli Process Automation Engine) do you have in the System Information (clicking the Help icon in the top right corner when logged in and then choosing System Information)? I need to compare that to when we added the support necessary for the non-persistent object. You may need to update core Maximo to take advantage of this feature.
Bean classes are a UI mechanism so you would not interact with those in integration automation scripts like this. The java class associated to the object (psdi.app.inventory.virtual.TransferCurItemSet in this case) in Database Configuration will have an execute method that should have all the business logic required to execute the move. The change that was made to the REST API was to proper invoke the setup & execute methods of the non-persistent objects.
------------------------------
Steven Shull
Original Message:
Sent: Mon October 16, 2023 11:57 AM
From: Anudeep Reddy Katukuri
Subject: Transfer Current Item with in store room using integrations
Hi Steve,
we are trying to post a transaction from middle ware. I tried using REST API with object structure as consumed by OSLC and with Inventory and transfercuritem as objects with no luck. Transaction was posed successfully but no transfer happened. Client don't want to use Inventory Usage app for non-rotating item move.
any other suggestions you have on this is greatly appreciated. and how can I invoke transfercuritem bean class from script?
------------------------------
Anudeep Reddy Katukuri
Original Message:
Sent: Fri October 13, 2023 10:55 AM
From: Steven Shull
Subject: Transfer Current Item with in store room using integrations
Are you doing this through the REST API or another form of integration (CSV, XML, IFACE table, etc.)? I know we recently enhanced the REST API to handle non-persistent objects where you should be able to have an object structure with the parent set to INVENTORY and a child object of a non-persistent like TRANSFERCURITEM. You should be able to set the fields like you would in the Transfer Current Item dialog.
Also with the REST API if that doesn't work, you can define your own REST API actions that call an automation script. From that you should be able to build out and execute.
Anything we haven't built the object structures for though we wouldn't officially support.
You could also go through the process of creating an inventory usage document record and completing that. This is something we added in 7.5 of Maximo to be able to better support inventory transactions.
------------------------------
Steven Shull
Original Message:
Sent: Thu October 12, 2023 01:24 PM
From: Anudeep Reddy Katukuri
Subject: Transfer Current Item with in store room using integrations
Hi All,
i have a requirement, where i need to have a integration/OS to move No-Rotating items from one bin to another bin with in the storeroom.
In general, this is done from Inventory app, Transfer Current Item Action which will create a TRANSFER record for the move in MATRECTRANS record.
In used INVENTORY and INVBALANCES objects in Object structure and updating the move of items from one to another bin. With this, it is creating a Inventory Adjustment entries.
I tried updating using MATRECTRANS object, which is not allowing to add directly with out the processing class. when i populate the processing class, issuetype of TRANSFER is not allowed.
when contacted IBM, they said there is no way we can do it thru integrations.
Any suggestions on how to achieve this functionality correctly is much appreciated.
Thanks
Anudeep
------------------------------
Anudeep Reddy Katukuri
------------------------------