Jump to content
Server Maintenance This Week. ×

Help with relationship


Lola

This topic is 2438 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hello All,

 

I have a problem with my relationship. In my Dashboard I have an alert that will tell me how many materials are expiring & to be retested but my problem is it showing me a  "?"

 

The relationship graph is below

Relationship.thumb.png.002a28eef5210aa4ea8edeb547f10fbc.png

 

 

Dashboard Fields

Constant = 1

Constant Today = Get (CurrentDate)

Global Number = Number field Value is 1

 

Material_Expiring Today

Constant = 1

Material Expiry Date = Date Field

Material Stock = Calculation (Material Quantity Received - Sum ( Material Transactions::Quantity Dispensed )

 

If I change my Material Stock into a Number Field It will show my desired output.

 

Please see attached file that Im working.

 

Any help is highly appreciated.

 

Thank you

 

Materials (2).fmp12

Edited by Lola
Link to comment
Share on other sites

Quote

If I change my Material Stock into a Number Field It will show my desired output.

That is the correct result. Why is this field involved in the relationship?

And - for that matter; why is CONSTANT involved in the relationship?

Edited by BruceR
Link to comment
Share on other sites

I used the constant in the relationship to match the same record. 

Is there a way that I can make my Material Stock a Number field but still always show my current stock when I change my Quantity Dispense Field? Thank you.

Link to comment
Share on other sites

This topic is 2438 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.