Maximo Open Forum

 View Only
  • 1.  Cannot resolve rest error - "BMXAA1827E - Please enter either an item or description to complete this transaction"

    Posted 07-14-2023 10:21

    Using MAS 8.10.1 SNO version with Oracle Database

    Created object structure above and started to test with SoapUI

    Params:

    • lean: 1

    • _dropnulls: 0

    Headers:

    • x-method-override: BULK

    • apikey: for user

    Body (raw / text):

    [ { "_action":"Update", "href":"os/m4m_locations_bulk/39", "matusetrans":[ { "_action":"Add", "issuetype": "ISSUE", "itemnum": "11406", "description": "AC Spark Plug", "location": "CENTRAL", "binnum": "A-5-6", "quantity": 1, "actualdate": "2023-07-12T16:47:43", "issueto": "WILSON", "siteid": "BEDFORD", "location": "CENTRAL", "gldebitacct" : "6200-300-200", "glcreditacct" : "6600-800-800", "linetype" : "ITEM", "issueunit" : "EACH", } ] } ]

    When tested with MatUseTrans with that same data in Maximo UI and it worked fine.

    Then added the gl accounts just in case, linetype and isseunit…still getting the same error "enter a valid item…".
    Even tried specifying the ItemId and ItemSet in the body; same error.

    Even with a simple OS, MX_MatUseTrans, with a simple post and it didn't work either:
    "message": "BMXAA1870E - A material issue/return transaction cannot be added from here.",

    Technically this should work in Maximo is there a bug in Maximo-REST?



    #MaximoApplicationSuite

    ------------------------------
    Roger Vallee
    Prometheus Group
    ------------------------------


  • 2.  RE: Cannot resolve rest error - "BMXAA1827E - Please enter either an item or description to complete this transaction"

    Posted 07-18-2023 06:39

    Hi,

    Its visible from the OS that your main object is Location. Are you sending the location information as the header?? You are able to add the same from UI as the header location info is present there and you are adding the MATUSETRANS data. Similarly , Maximo expects the header object data in the payload to check against which Locations this Matusetrans data will get created. 

    It is something you need to check at your header level in payload.



    ------------------------------
    Subhransu Sekhar Sahoo
    Tata Consultancy Services
    ------------------------------



  • 3.  RE: Cannot resolve rest error - "BMXAA1827E - Please enter either an item or description to complete this transaction"

    Posted 07-19-2023 21:03

    https://www.ibm.com/support/pages/mif-material-issuereturn-transaction-cannot-be-added-here



    ------------------------------
    Sankar Ganesh V S
    DXC Technology
    ------------------------------



  • 4.  RE: Cannot resolve rest error - "BMXAA1827E - Please enter either an item or description to complete this transaction"

    Posted 07-24-2023 08:30

    Hi Sankar,

    Thanks for the update, I will test it out.



    ------------------------------
    Roger Vallee
    Prometheus Group
    ------------------------------