Schmoozing over a long business dinner is standard practice at many companies, but if you want to keep employees who are also parents happy, you should think seriously about banning them--at least according to Mary Barra, the CEO of General Motors.

She and Jamie Dimon, the CEO of J.P. Morgan Chase spoke about how companies can be more sensitive to parents in the workplace at an event hosted by The Wall Street Journal on Tuesday.

So why ban dinners? Along with happy hours, dinners provide valuable face time with the boss and co-workers, and that can help boost careers. But for parents who may need to head home after work to relieve a spouse or meet childcare obligations, after-work events can be problematic. Either they go, and put added pressure on their family or the employees skip and they miss the valuable networking opportunity.

Instead, the working parents suggest booking business lunches, which allows all employees to have a better work-life balance.

Another tip Barra offered: prioritize family commitments the same as you would a work obligation. "I'll say 'the meeting starts at 4:30 and this is going to end at 5:30 because I'm making my child's sporting event.' Everyone then says 'okay, let's be efficient, let's get this done,'" reports the WSJ.

Dimon agreed with Barra that parents need to prioritize their home life. He added that parents--fathers in particular--ought to make their families and health a priority. "It's very important that people be deliberate about [preserving their mental and physical health] because they do a pretty good job sometimes of undermining their own life, their health," Dimon told WSJ.