Unit
Documentation for the Unit database schema.
Fields
| Field | Data Type | Usage |
|---|---|---|
| companyId | ObjectId | Unique reference to company. |
| name | String | The name or title of the unit. |
| branch | ObjectId | Stores the branch data. |
| clientType | String | Stores the client type data. |
| code | String | Stores the code data. |
| headOrManager | String | Stores the head or manager data. |
| Description | String | Detailed notes or remarks. |
| Address | String | Stores the address data. |
| city | ObjectId | Stores the city data. |
| siteType | String | Stores the site type data. |
| state | ObjectId | Timestamp/Date for state. |
| buildingStreet | String | Stores the building street data. |
| Area | String | Stores the area data. |
| landmark | String | Stores the landmark data. |
| district | ObjectId | Stores the district data. |
| postalCode | Number | Stores the postal code data. |
| latitude | Number | Timestamp/Date for latitude. |
| validator | Number | Unique reference to validator. |
| longitude | Number | Stores the longitude data. |
| country | String | Stores the country data. |
| phone | String | Contact phone number. |
| openingDate | Date | Timestamp/Date for openingDate. |
| closeDate | Date | Timestamp/Date for closeDate. |
| CloseRemarks | String | Detailed notes or remarks. |
| locationCode | String | Timestamp/Date for locationCode. |
| locationName | String | The name or title of the unit. |
| client | ObjectId | Stores the client data. |
| emailHO | String | Primary email address. |
| emailSite | String | Primary email address. |
| navisionCode | String | Stores the navision code data. |
| bonusBasedOn | String | Stores the bonus based on data. |
String | Primary email address. | |
| fax | String | Stores the fax data. |
| loginAllow | Boolean | Stores the login allow data. |
| dailyAttenAllow | Boolean | Timestamp/Date for dailyAttenAllow. |
| EmpLoginAttenAllow | Boolean | Timestamp/Date for EmpLoginAttenAllow. |
| WCRemarks | String | Detailed notes or remarks. |
| OTasper | String | Stores the o tasper data. |
| ESIonOT | Boolean | Stores the e s ion o t data. |
| esiOnOThours | Boolean | Stores the esi on o thours data. |
| PFonOT | Boolean | Stores the p fon o t data. |
| pfOnNFH | Boolean | Stores the pf on n f h data. |
| ESIType | String | Stores the e s i type data. |
| OTCalculateOnDays | Number | Timestamp/Date for OTCalculateOnDays. |
| OTCalculateOnasper | String | Timestamp/Date for OTCalculateOnasper. |
| OTMultiple | Number | Stores the o t multiple data. |
| AttendanceDays | Number | Timestamp/Date for AttendanceDays. |
| monthDays | Number | Stores the month days data. |
| UnitESINo | String | Stores the unit e s i no data. |
| ATMID | String | Unique reference to A T M I D. |
| segment | String | Stores the segment data. |
| sol_id | String | Unique reference to sol_id. |
| ADR | String | Stores the a d r data. |
| specialAttendance | Boolean | Timestamp/Date for specialAttendance. |
| aggregatePF | Boolean | Timestamp/Date for aggregatePF. |
| aggregateESI | Boolean | Timestamp/Date for aggregateESI. |
| esionnh | Boolean | Stores the esionnh data. |
| nhUse26Days | Boolean | Stores the nh use26 days data. |
| TrustApplicable | Boolean | Stores the trust applicable data. |
| trustDeduction | Number | Stores the trust deduction data. |
| gtliDeduction | Number | Unique reference to gtli Deduction. |
| Trainee | Boolean | Stores the trainee data. |
| Uniform | Boolean | Stores the uniform data. |
| traineeAmount | Number | Monetary or numeric value. |
| uniformAmount | Number | Monetary or numeric value. |
| upi | Number | Stores the upi data. |
| customerStatus | String | Timestamp/Date for customerStatus. |
| surveillance | Boolean | Stores the surveillance data. |
| BillableType | String | Stores the billable type data. |
| insertedUserId | ObjectId | Unique reference to inserted User. |
| updatedUserId | ObjectId | Unique reference to updated User. |
| insertedDateId | Date | Unique reference to inserted Date. |
| updatedDateId | Date | Unique reference to updated Date. |
| isDeleted | Boolean | Stores the is deleted data. |
| status | Boolean | Timestamp/Date for status. |
| deletedBy | ObjectId | Stores the deleted by data. |
| deletedTime | Date | Timestamp/Date for deletedTime. |