If it is defined in at least one Company document that the company rates management is by cost center, then the list of choices is: By resource type By cost center The rates of the resource are then fetched from the Rates setup documents according to the following algorithm: Look for a "Rates" document matching the "Company" - 'Location' - "Selected criterion" fields. If not found, look for a document matching the "Company" and "Selected criterion" fields, defined for all locations ("Company" - "All" - "Selected criterion"). If not found, look for a document matching only the field "Selected criterion", defined for all companies and locations ("All" - "All" - "Selected criterion"). If not found, look for a document matching the "Company" and "Location" fields, defined for all "Selected criterion" ("Company" - "Location" - "All"). If not found, look for a document matching only the field "Company", defined for all locations and "Selected criterion" ("Company" - "All" - "All"). If not found, then apply the default rates ("All" - "All" - "All"). |