Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

  • Newbies
Posted

I have a contact -> equipment loan ->line items <- products     soultion.

 

In my line items portal which is on my equipment loan layout  I have a item_In_Out  field which auto calculates to say "Yes" if the return_date in the portal IsEmpty.   When a date is entered into the return_date field the item_in_out field clears.

 

This is so I can visually see which individual items are still on load per each Equipment Loan Order.

 

The problem I am having is portals seem to auto create a new empty portal row for you to begin entering new data.   When this happens the item_In_Out  field auto populates a "Yes"  because the return_date isEmpty  which is fine.... but  I have not entered any product information into the subsequent fields in that portal row.

 

If Portals will always create a new row at the bottom of your portal waiting for data, how do I write a script that will still allow the "Yes" to appear if the return_date is empty but remain blank   if no product id etc has been entered yet.

 

My propblem is similar to invoice solutions whose portal has a trash can graphic in the portal row..... The bottom empty row will draw that trash can.

 

post-108547-0-23179100-1364430715_thumb.

Posted

The empty portal row occurs because the "Allow creation of records via this relationship"  checkbox is checked in the Edit Relationship dialog.  Uncheck it, and script the creation of new records with whatever conditions you require.

  • 2 weeks later...
Posted

if you want to have the create portal row - use a conditional format to make the "X" delete button background white by using the invalid function.

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