BPM Form Usage

its just a function returns true or false…

Custom Code Condition:

return (from x in Db.Company where x.CompanyID=="MyAwesome" select 1).Any();
1 Like

lol that simple huh? Awesome:

foreach(var row in ttRcvDtl)
{
       if(row.OurQty > 0) return true;
}

return false;

How about hiding the form controls?

don’t return inside a loop #SpaghettiCode

return ttRcvDtl.Where(rc=>rc.OurQty >0 && (rc.Added() || rc.Updated())).Any();

What are you looking to hide? that should work the same as any customization

2 Likes

I was looking for this:
IP_ReceiveFormCC.ControlBox = false;

To get rid of Min,Max.Close buttons

``#Pasta4Life

4 Likes

L O L - I literally had an outburst of laughter over this one

If you don’t code well, Jose will tell you to goto label :7734

[cid:image001.jpg@01D29CD6.1B337FE0]

3 Likes

yikes, i just opened chrome on my phone and Jose;s post was just there, almost full screen …had to look over my shoulder :slight_smile:

4 Likes