Jump to content
Server Maintenance This Week. ×

Multi criteria search???


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

Recommended Posts

image.thumb.png.ad548e85e432d2cfec4e7d6b2e4991eb.png

I am using the id and parent_id fields above on the right to link related trades.  The 2 parent_id's in this case are the result of selling the 1 id buy.  Now I am trying to do a search for the id (all UUID's) and the parent_id's that are the same.  I want to isolate the 3 transactions as 1 completed trade.  I have ended up with the below script, but it does not work and returns no matching results.  the individual set fields return the correct results but not when I combine them.  Can anyone assist please??

image.png.a32ad97e977f6b68bdc31b37976decdb.png

210512.fmp12

Link to comment
Share on other sites

The Modify Last Find step makes no sense whatsoever. If you want to find records that have the given value in the id field OR in the parent_id field, you need to create a separate request for each field:

Set Variable [ $transID; Value:Transactions::id ]
Enter Find Mode [ ]
Set Field [ Transactions::id; $transID ]
New Record/Request
Set Field [ Transactions::parent_id; $transID ] 
Perform Find [ ]

 

Link to comment
Share on other sites

  • 2 weeks later...

This topic is 993 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.