Update Method (LaborDeptCatLink)
- Last UpdatedNov 06, 2025
- 2 minute read
The Update() method updates all columns of the specified labor department/category link record in the Labor_Dept_Cat_Link table.
public static void Update(
int sessionId,
string deptId,
string labCd,
DBDouble stdCrew,
DBString lastEditComment,
ref DateTime lastEditAt
)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- deptId
- Required. Holds the ID of the labor department.
- labCd
- Required. Hold the code for the labor category.
- stdCrew
- Required. Holds the default standard number of workers for the specified labor category.
- lastEditComment
- Required. Holds comments that describe why this record is being added.
- lastEditAt
Optional. Holds the date/time when this record was added or last edited, for optimistic concurrency control. If it is specified, the passed value must match the lastEditAt value in the record for the update to succeed. If a null value is passed, then optimistic concurrency will not be used.
Output. Holds the date/time value when the record was updated by this called method.
Observe the following input parameter rules:
- Required non-DB* parameters: Must pass a value. Cannot be empty or null.
- Required DB* parameters: Must pass a new value. To clear the existing value and enter an empty value, pass DB*.null (e.g., DBInt.null).
- Optional DB* parameters: To clear the existing value and enter an empty value, pass DB*.null (e.g., DBInt.null). To leave the existing value unchanged, pass a null.