project QadFinancials > class BEmployee > business logic query EmployeeByBusinessRelationID


Parameters


iiCompanyIdintegerCompany id
iiBusinessRelationIdinteger


query condition


  each Employee where
Employee.Company_Id = iiCompanyId AND
Employee.BusinessRelation_ID = iiBusinessRelationId


query resultset tqEmployeeByBusinessRelationID


field namedata typedb fielddescription
tiActivityCode_IDintegerEmployee.ActivityCode_IDActivity Code
tiBusinessRelation_IDintegerEmployee.BusinessRelation_IDBusiness Relation
tiCompany_IDintegerEmployee.Company_IDLink to Company
tiCostCentre_IDintegerEmployee.CostCentre_IDDefault Cost Center Code
tiCreditor_IDintegerEmployee.Creditor_IDSupplier Code
tiCurrency_IDintegerEmployee.Currency_IDRegistration Currency
tiDivision_IDintegerEmployee.Division_IDDefault Sub-Account Code
tiEmployee_IDintegerEmployee.Employee_IDRecord ID
tcEmployeeCodecharacterEmployee.EmployeeCodeEmployee Code. A code that identifies an employee. The code cannot match any other employee in the current entity or any other entities in the current domain.
If you leave the Employee Code field blank, the system automatically generates a number for the record based on the sequence defined in Employee Autonumber Create.
tcEmployeeDepartmentCodecharacterEmployee.EmployeeDepartmentCodeDepartment Code: The department in which this employee normally works.
ttEmployeeEndDatedateEmployee.EmployeeEndDateEnd Date: The date when this employee terminated employment at your company.
This field is for reference and filtering report data.
tlEmployeeIsActivelogicalEmployee.EmployeeIsActiveActive: This field indicates if this is an active record.
api annotation:PartialUpdate = yes - defaults to true
tlEmployeeIsActiveExpNoteslogicalEmployee.EmployeeIsActiveExpNotesObsolete field
tlEmployeeIsActiveTimeReglogicalEmployee.EmployeeIsActiveTimeRegObsolete field
tlEmployeeIsExternallogicalEmployee.EmployeeIsExternalExternal Employee: Indicate if the employee is a contractor or not employed directly by your organization.
api annotation:PartialUpdate = yes - defaults to false
tlEmployeeIsUserlogicalEmployee.EmployeeIsUserUser: Indicate if this employee is also defined as a valid user in User Maintenance.
api annotation:PartialUpdate = yes - defaults to false
tcEmployeeJobTitlecharacterEmployee.EmployeeJobTitleJob Title: An optional job title for this employee.
This field is for reference only and useful in sorting browses.
ttEmployeeStartDatedateEmployee.EmployeeStartDateStart Date: The date this employee was hired. This field is for reference and filtering report data.
api annotation:PartialUpdate = yes - defaults to the date the record was created
tiExpenseCode_IDintegerEmployee.ExpenseCode_IDExpense Code
tiProject_IDintegerEmployee.Project_IDDefault Project
tiUsr_IDintegerEmployee.Usr_IDLogin
ti_sequenceintegercalculatedprimary index
tc_rowidcharactercalculated = rowid(Employee)


Internal usage


QadFinancials
method BBusinessRelation.PostSave
method BMfgAddress.MaintainDataBusinessRelation