Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP forum
Suggested answer

DD Earnings Statements report hiding pay rate for pay codes

Posted on by 5

I am trying to hide Pay Rate for the COMM Pay Codes using Conditional Calculation fields for the Pay Rate in the DD Earning Statement RW Report..

To be able to have 0.00 PayRate  and then to hide it I added expression:

uprWorkChkDesc.Pay Code Array[1]=COMM

True: 0.00

False: uprWorkChkPayRate Array[1]

Although the Pay Rate prints for this Pay Code still. What should I change to to make the result equal to 0.00 ? Should I use any other array field in the expression?

Thanks,

Vivian

  • Vivian L Profile Picture
    Vivian L 5 on at
    RE: DD Earnings Statements report hiding pay rate for pay codes

    Hi Brandon,

    I am aware of the arrays and I have added 12 Arrays fields. I used Payroll Check Description Field for the Pay Code field that appears there while I do not find it in the Payroll Work Check Table. I do have a feeling that I have to try another field but I don't find which one because Pay Rate is based on the Pay Code that is available in the Check Description Table. Here is in my Conditional Calculated field. It is pretty simple but RW does not react to any condition even both zeros for both cases True and False. What field should I try instead of the uprWorkChkDesc.Pay Code Array?

    uprWorkChkDesc.Pay Code Array[1]=COMM

    True: 0.00

    False: uprWorkChkPayRate Array[1]

    Thanks,

    Vivian

  • Suggested answer
    Almas Mahfooz Profile Picture
    Almas Mahfooz 10,996 User Group Leader on at
    RE: DD Earnings Statements report hiding pay rate for pay codes

    In my opinion you need some dexterity code to fulfil this requirement.

  • Hokuminaria Profile Picture
    Hokuminaria 2,950 on at
    RE: DD Earnings Statements report hiding pay rate for pay codes

    Hey Vivian,

    Thank you for your response.

    These reports that use arrays can be tough to modify.

    Moving forward, what if you use the Payment Work Check Table for your initial expression like the TRUE case is using. The original Arrays are all off the Payroll Work Check Table. You are currently using the Payroll Check Description table.

    If that does not work, can you provide a screenshot of your calculated field as well as a screenshot of how the report looks?

    It might be faster to create a support case if this is urgent so an engineer can focus on this.

    I hope this helps!

    Thank you!

  • Vivian L Profile Picture
    Vivian L 5 on at
    RE: DD Earnings Statements report hiding pay rate for pay codes

    Hi Brandon,

    I tested the report and empty value does not work for my calculated conditional field, it should be the value in True Case and False Case. True case should be Currency Value: 0.00. Although something does not work for this report and it shows Pay Rate for the Pay Code notwithstanding.

  • Vivian L Profile Picture
    Vivian L 5 on at
    RE: DD Earnings Statements report hiding pay rate for pay codes

    Thank you Brandon. I will try it and will update you  later on.

  • Hokuminaria Profile Picture
    Hokuminaria 2,950 on at
    RE: DD Earnings Statements report hiding pay rate for pay codes

    Hey Vivian,

    Thank you for your forum question.

    One thought i have is, what if you set the true case to be blank. Then you can set the field to hide when it prints blank in the Report Field Options window for your calculated field.

    I hope this helps!

    Thank you!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,554 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,588 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Product updates

Dynamics 365 release plans