function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
GunnarGunnar 

1-to-many - determine when done with entering many

I have a typical 1-to-many, a header form with detail lines.

 

Standard forms, not VFP.

 

User enters data to the header. Saves.

 

Then enters detail lines.

 

Then the user is done.

 

How do I tell when the user is done? I need to run some code when the user completes the detail lines.

 

What I'm looking for is the equivalent of an event firing when the user moves off of the header record.

 

Any ideas?

 

 

Best Answer chosen by Admin (Salesforce Developers) 
sfdcfoxsfdcfox
Within standard salesforce.com, there's no way to determine this, especially when using things like the service console. You'll have to resort to Visualforce.

All Answers

sfdcfoxsfdcfox
Within standard salesforce.com, there's no way to determine this, especially when using things like the service console. You'll have to resort to Visualforce.
This was selected as the best answer
GunnarGunnar

Figures. Bummer.

Not a problem though.

I'll put my end-of-order processing at the detail line level.

So what if it executes more than once !