Cost Code Lookup for Equipment Expense Example
Create a custom lookup that limits cost codes for Equipment expense items based on GL account overrides on the EM Department.
You must be a System Admin to complete the following task.
Viewpoint HR Management for Vista
list_alt
Create a custom lookup that limits cost codes for Equipment expense items based on GL account overrides on the EM Department.
You must be a System Admin to complete the following task.
select Cast(kEMCC.KeyID as varchar(10)) ChoiceShortName, kEMCC.CostCode + ' - ' + kEMCC.Description as ChoiceLongName
from kEMDO
INNER JOIN kEMEM on kEMDO.EMCo = kEMEM.EMCo and kEMDO.Department = kEMEM.Department
INNER JOIN kEMCC on kEMDO.EMGroup = kEMCC.EMGroup and kEMDO.CostCode = kEMCC.CostCode
WHERE kEMEM.Equipment = @Equipment
© 2025 Viewpoint, Inc. All Rights Reserved. Viewpoint®, Vista™, Spectrum®, ProContractor™, Jobpac Connect™, Viewpoint Team™, Viewpoint Analytics™, Viewpoint Field View™, Viewpoint Estimating™, Viewpoint For Projects™, Viewpoint HR Management™, Viewpoint Field Management™, Viewpoint Financial Controls™, Viewpoint Field Service™, Spectrum Service Tech™, ViewpointOne™ and Trimble Construction One™ are trademarks or registered trademarks of Trimble Inc., Viewpoint, Inc., or their affiliates in the United States and other countries. Other names and brands may be claimed as the property of others.
Dedicated to the world’s tomorrow, Trimble is a technology company delivering solutions that enable our customers to work in new ways to measure, build, grow and move goods for a better quality of life. Core technologies in positioning, modeling, connectivity and data analytics connect the digital and physical worlds to improve productivity, quality, safety, transparency and sustainability. From purpose-built products and enterprise lifecycle solutions to industry cloud services, Trimble is transforming critical industries such as construction, geospatial, agriculture and transportation to power an interconnected world of work.