PdcClockLine.ClockAccount

From External Bemet Wiki
Jump to navigation Jump to search

Declaration

ClockAccount as String

Description

Returns or changes the clock account

Notes

This property changes the clock account into a "production number" or an "indirect time code".

If the value is turned to a "production number", the following properties are adjusted:
CalculationNo  : Becomes the calculation number of the given production number.
ClockCode  : Becomes the value "0". It is a direct clockline.
Projectnumber  : Becomes the project number of the calculation.
OperationLineNumber : Becomes the value "0".
OperationNumber  : Becomes the value "".
TimeKind  : Becomes the value of the internal operation in the master data.

If the value is turned to a "indirect time code", the following properties are adjusted:
CalculationNo  : Becomes the value "".
ClockCode  : Becomes the value which belongs to the "indirect time code" in the master data.
Projectnumber  : Becomes the value "".
OperationLineNumber : Becomes the value "0".
OperationNumber  : Becomes the value "".
TimeKind  : Becomes the value "0".

Code example

Availability

Available since july 2008 (from version 3.8).