Calculate response date/time

BeliasBelias Member Posts: 2,998
hi everyone,
do you know if there's some standard function (probably in service management) that takes a starting date, starting time, elapsed time (hours) and returns the finishing date and time?

I started to take a look at the service mgt module, but maybe someone of you already used it and wants to spare me the code search [-o<

thanks in advance!
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog

Answers

  • KYDutchieKYDutchie Member Posts: 345
    Hi,

    is CalculateCheckDate in codeunit 5918 what you are looking for?

    Regards,

    Willy
    Fostering a homeless, abused child is the hardest yet most rewarding thing I have ever done.
  • aseigleaseigle Member Posts: 207
    The Starting Date/Time and Finishing Date/Time are updated when the Service Order Status is changed. The Service Time (Hours) field is the calculation of time that passes between the 2. Keep in mind that if you change the status multiple times, the Starting Date / Time is updated multiple times, so your total Service Time value will not be correct.
  • BeliasBelias Member Posts: 2,998
    @KYDutchie: thanks, it's that one! :thumbsup:
    @aesigle: i just need the function to do the calculation. I won't use the standard functionality.
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
Sign In or Register to comment.