This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static HMEmployee find(HMEmployeeId employeeId, | |
boolean _forUpdate = false) | |
{ | |
HMEmployee employeeTable; | |
if (employeeId) | |
{ | |
if (_forUpdate) | |
{ | |
employeeTable.selectForUpdate (_forUpdate); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Query query; | |
QueryRun qr; | |
QueryBuildRange qbr; | |
QueryBuildDataSource qbds, bdsInventDim; | |
query = new Query(); | |
qbds = query.addDataSource(tableNum(PriceDiscGroup)); | |
qbdsInventDim = qbds.addDataSource(tableNum(InventDim)); | |
qbdsInventDim.addLink(fieldNum(PriceDiscAdmTrans, InventDimId), fieldNum(InventDim, InventDimId)); |