TimeType

TimeType

This table describe all available Time Types

This table have always 4 entries

In Resource/TimeTypeCount you can define, which Time type available

Typ / Description

A = Edit time (always)

R = Setup Time (TimeTypeCount >= 2)

N = Second Time (TimeTypeCount >= 3)

H = Third Time (TimeTypeCount = 4)

 

Definition of all properties see Configuration WIzzard - Master Data - Resource - Time Types

 

Property

Description

Table

BEAS_TIMEOPERATOR

Primary key

TimeTypeId/c

$transaction

no

$branch

no

$mask

no

 

Fields

Name

Type

Description

TimeTypeId

Edm.String(1)

Database: "BEAS_TIMEOPERATOR"."TYP"

TimeTypeDescription

Edm.String(100)

Database: "BEAS_TIMEOPERATOR"."TYPNAME"

ChangeQuantity

Edm.Boolean

Enable = User can change the quanitty in time receipt

Disable = User can't change quantity

Database: "BEAS_TIMEOPERATOR"."SETQTY"

ChangeScrap

Edm.Boolean

allow changing scrap quantity in time receipt window?

Database: "BEAS_TIMEOPERATOR"."SETSCRAPQTY"

ReceiptAssembly

Edm.Boolean

Backflush process:

Enable: If this is the last position, the system receipt the assembly

Disable: The system don't create a Receipt from the Assembly

 

Database: "BEAS_TIMEOPERATOR"."RECEIPTITEM"

IssueMaterial

Edm.Boolean

Should the material belonging to the routing position be backflushed in case of a time receipt for this time type?

Database: "BEAS_TIMEOPERATOR"."ISSUEBOM"

ClosePosition

Edm.Boolean

Should it be permitted to close the routing position if doing a time receipt for this time type?

Database: "BEAS_TIMEOPERATOR"."CanClose"

ActivateNextPosition

Edm.Boolean

Should the next work sequence be released after time receipt for this time type?

Database: "BEAS_TIMEOPERATOR"."NEXTPOOL"

TimeTypeCount

Edm.Int32

This time type is only available, if the minimal count in Resource/TimeTypeCount greater or same as this number

 


TimeType&$filter=TimeTypeCount le [result from Resource/TimeTypeCount]

Database: case "BEAS_TIMEOPERATOR"."TYP" when 'A' then 1 when 'R' then 2 when 'N' then 3 else 4 end

ForPersonnelId

Edm.String(20)

Database: case when ='' then '' when (select count(*) from "BEAS_PERS" p where p."PERS_ID"= and ( (p."ZEITTYP_TR"=1 and "BEAS_TIMEOPERATOR"."TYP"='R')or (p."ZEITTYP_TE"=1 and "BEAS_TIMEOPERATOR"."TYP"='A')or (p."ZEITTYP_TN"=1 and

 

Example:

Return all Time Types for this Resource

In Variable ll_timetypecount the result form Resource/TimeTypeCount is saved


TimeType&$filter=TimeTypeCount le [ll_tyimetypecount,#0]


{
    "value": [
        {
            "TimeTypeId": "A",
            "TimeTypeDescription": "Bearbeitung",
            "ChangeQuantity": true,
            "ChangeScrap": true,
            "ReceiptAssembly": true,
            "IssueMaterial": true,
            "ClosePosition": true,
            "ActivateNextPosition": true,
            "TimeTypeCount": 1
        },
        {
            "TimeTypeId": "R",
            "TimeTypeDescription": "R�stzeit Vorkalkulation",
            "ChangeQuantity": false,
            "ChangeScrap": false,
            "ReceiptAssembly": false,
            "IssueMaterial": false,
            "ClosePosition": false,
            "ActivateNextPosition": false,
            "TimeTypeCount": 2
        }
    ]
}