.. (לתיקייה המכילה) | ||
in function "Merger", if the buying company has a salary upgrade of 200% - will the workers of the selling company enjoy the upgrade to their older salary from the selling company, or will they stay with the old salary without the upgrade of the new company? | |
When merging two companies, every employee, both from the selling company and the buying company, keeps the same salary that he had prior to the merger. This salary is of course his "true salary" - it includes all the salary updates he got prior to the merger. |
What happens is UpdateSalaries is performed on a company with no employees? What happens if merger is performed on companies with no employees? | |
In case of UpdateSalaries, the method should just return SUCCESS if there are no employees in the company. In case of merger, if one or both of the companies do not have employees, they still should be merged and SUCCEES should be returned. |