Skip to main content
Solved

Absence Registration Not Showing on Gantt


Forum|alt.badge.img+9
  • Sidekick (Customer)
  • 92 replies

Hi,

We have a new integration which creates Absence registrations in our Apps 10 environment via the REST API.

These registrations do not appear on the Resource Monitoring Gantt though.

If I manually create a registration in Apps 10 with the exact same Absence parameters, it appears on the Gantt almost immediately.

I don’t see anything obvious in the database rows to indicate difference.

Is there an additional task we need to complete to have the absence show on the Resource Monitoring Gantt?

All 3 registrations in IFS:

 

Database output from the ABSENCE_REGISTRATION view:

 

Resource Monitoring Gantt output

 

Best answer by Garak

I have somewhat solved the problem with a workaround, although I think there is a bug in Apps 10u15.

The workaround solution was to set the AbsenceRegistrationType field value on the generated Absence Registrations to Manual instead of Imported.

They immediately appear on the Gantt if created this way.

According to the API documentation though, Imported is a valid value, so I think the issue of the registrations of type Imported not appearing on the Gantt might be a bug in Apps 10.

View original
Did this topic help you find an answer to your question?

5 replies

Shehan Chandrasekara
Sidekick (Employee)
Forum|alt.badge.img+8

Are you using a standard API call or a custom API to insert the data?


Forum|alt.badge.img+9
  • Author
  • Sidekick (Customer)
  • 92 replies
  • June 26, 2024
Shehan Chandrasekara wrote:

Are you using a standard API call or a custom API to insert the data?

Hi @Shehan Chandrasekara, just the standard API using the /AbsenceHandling.svc/AbsenceRegistrations projection.

We are on Apps 10 u15.


Forum|alt.badge.img+9
  • Author
  • Sidekick (Customer)
  • 92 replies
  • June 27, 2024

I’ve made another finding, if you save the record within Apps, it then appears on the Gantt:

Post-update:

 


Forum|alt.badge.img+9
  • Author
  • Sidekick (Customer)
  • 92 replies
  • Answer
  • June 27, 2024

I have somewhat solved the problem with a workaround, although I think there is a bug in Apps 10u15.

The workaround solution was to set the AbsenceRegistrationType field value on the generated Absence Registrations to Manual instead of Imported.

They immediately appear on the Gantt if created this way.

According to the API documentation though, Imported is a valid value, so I think the issue of the registrations of type Imported not appearing on the Gantt might be a bug in Apps 10.


Forum|alt.badge.img+9
  • Author
  • Sidekick (Customer)
  • 92 replies
  • June 28, 2024

Found the proper solution thanks to @Darshana Herath:

The ActualDateFrom and ActualDateTo fields must also be set (in addition to DateFrom and DateTo) if you want registrations of type Imported to appear on the Gantt.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings