Maximo Open Forum

 Loading Job Plans Using MXLoader

  • Maximo Application Suite
Vincent Yap's profile image
Vincent Yap posted 10-25-2024 02:03

Hi Experts,

In MAS. Am getting error below when loading jobplans through MXLoader using default object structure MXL_JOBPLAN

BMXAA0024E - The action ADD is not allowed on object JOBTASK. Verify the business rules for the object and define the appropriate action for the object.

Using maxadmin account with default full access and default insert site setting.

Thanks.

NIAKAM SANDRINE's profile image
NIAKAM SANDRINE

Hi 

  • make sure MXL_JOBPLAN has the objet jobtask in the structure (check in the application)

the issue can also come from

  • the way the rows are organised in the mx_loader sheet.
  • the jobplan you are trying to upload. does it exist already?
  • which jobplan status do you use to mx_loader sheet ?

To further understand. i suggest you to create a single jobplan manually, then with the query function you extract this created jobplan with the mxl_loader. Now pay attention to the way the rows are coming out. you should load your data with the same logic. 

Stevie Holloway's profile image
Stevie Holloway

Hi Vincent,

Are you trying to load the job plans and tasks at the same time? The job plan must be in DRAFT or PNDREV status. More information would be helpful.

Matt McGuire's profile image
Matt McGuire

Hi Vincent,

Try @Stevie Holloway's solution first because it's the easiest and most direct path if you've got job plan revisioning turned on (you can check in your Organization settings).

If that doesn't work, you may be running into new (maybe not new, but automatically enforced) MAS object structure security. Navigate to the object structure in question (MXL_JOBPLAN) and open "Configure Object Structure Security." Select "Use Object Structure for Authorization Name" and OK when the dialog pops up. You'll notice the READ, INSERT, SAVE, DELETE sig options are now present for the MXL_JOBPLAN object structure. Click OK and navigate to security groups. Open the MAXADMIN security group, navigate to the Object Structure tab and search for the MXL_JOBPLAN object structure. Grant the listed options for the object structure, save and exit/re-enter Maximo. Try loading again.

Thanks,

Matt

Piotr Ozaist's profile image
Piotr Ozaist

Hi Vincent,

It's about granting access to chosen object structures.

To do this you need to:

  • go to Security Groups,
  • find security group assigned to the user account you're using for MxLoader (maxadmin I guess?)
  • locate object structure you're going to use (<your_objectstructure>)
  • use "Grant Listed Options for This Object Structure" function

What is also important is to make sure that all maxadmin sessions are finalized after such change in object structures. So - please log out and make sure that all people potentially using maxadmin log in, will log out as well!

I've recently published an article touching this problem - please have a look!

Hope it will help you to move forward!