Good day everyone...
I have 3 BO:
- Employee
- EmployeeSales
- Sales
My objective is that, after the Sales being created and multiple Employees are being selected. The Sales.EmployeeID and SalesID should copy over to EmployeeSales BO.
In the Sales BO, I have EmployeeID (Peer; Multiple Allowed). On the form of Sales BO, I used the EmployeeID (Default). It is able to pick up one or more EmployeeID and create the Sales.
But how do I copy the Multiple Sales.EmployeeID to the EmployeeSales BO.
After that, I created a process:
- PICK ONE OR MORE FROM 'Find Employee'
- [Add the one or more EmployeeID to the This Sales Record; as same as default implementation] - Problem is here...
[After that I copy the to EmployeeSales]
- CREATE EmployeeSales FOR EACH Employee WITH EmployeeSales.EmployeeID=Employee.ID,EmployeeSales.SalesID=Sales.ID
But how do I add the EmployeeID to this particular Sales Record same as the default implementation?
I wrote:
- Sales.EmployeeID = Employee [But only 1 record add into the Sales BO which I have selected more than 1 Employee on the Pick List]
Can advice me...