web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Business rules not firing as expected

(0) ShareShare
ReportReport
Posted on by 416

I want to get the approved hours that have not yet been invoiced so I used a rollup field. The issue is that the rollup field does not allow for blank values. As a work around I created a new field (which will be hidden from the user), and created 3 business rules:

1. When billing status is bank:

IF

Billing status does not contain data AND Transaction Type equals "Unbilled Sales"

THEN

Set ActualIndicator to "Yes"

2. When billing status = ready to invoice:

IF

Billing status equals "Ready to Invoice" AND Transaction Type equals "Unbilled Sales"

THEN

Set ActualIndicator to "Yes"

3. When billing status is not ready to invoice and transaction type is not unbilled sales:

IF

Billing status equals "Unbilled Sales Created,Customer Invoice Created,Customer Invoice Posted,Canceled" OR Transaction Type equals "Cost,Project Contract,Billed Sales,Resourcing Unit Cost,Inter-Organizational Sales"

THEN

Set ActualIndicator to "No"

Then the rollup field will sum the quantity I need when the ActulIndicator is set to yes.

However, the only problem that I am having is that on the form, the ActualIndictor values changes according to the business rule, however, on the view, it's staying as if the business rules are not working. When I open the record, the value is as expected to work with the business rules, however in order for the rollup field to show me the value that I want, I would have to save (even though the value is set to yes already) and then, the rollup field works as expected.

This is what is happening:

Once I approve the time entry, it goes to the time and material billing backlog. From the screenshot, the field is unassigned:

pastedimage1623921825955v1.png

however, when I open the record, the field is set to yes:

pastedimage1623921825956v2.png

When I click on the back button on the environment, it shows that the record is saving (even though I did not make any changes).

And now I have the correct value.

This is happening even when the record is posted (same steps).

Is this normal behaviour for business rules? Do you have any suggestions? Is there another way to achieve the result?

(related to Project Operations)

I have the same question (0)
  • Suggested answer
    meelamri Profile Picture
    13,216 User Group Leader on at

    Hello fran2105,

    What is the scoop used in your business rule?

    pastedimage1623922859572v1.png

  • fran2105 Profile Picture
    416 on at

    Hi there. Scope if on All Forms.

  • Verified answer
    meelamri Profile Picture
    13,216 User Group Leader on at

    Change it to Entity, it will save the value on the server side.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 70

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans