(>>) EndCalcRoutingPositionForward

Executed after calculation of routing position

After definition of time reservations

Before saving result in work order routing position

HERE you can manipulate the time line for next routing position.

 

Only Forward calculation

 

aps_routingcalculation_forward

 

You can manipulate the time line "e_TimeLine" and Duration

 

 

Variable

Read

Write

Description

e_Method

x


Calculation Method

MRP Executed by MRP, ATP, CTP

Workorder Executed manually from work order

Or the Calculation Method, which defined in APS List

e_MethodStep

x


APS

In Method you can define more then one Step. This is the Step. First step is 1

e_DocEntry

x


Work order document number

e_LineNumber

x


Work order position number

e_LineNumber2

x


Routing Position

e_BaseDocEntry

x


Base document, example Sales order. Only in MRP

e_BaseLineNumber

x


Base document line

e_ItemCode

x


Calculated Item Code

e_Quantity

x


Calculated Quantity

e_CalcSaveType

x


Save type

Type

Description


Normal

S

Simulation. Don't save time reservation

I

Simulation. Save nothing

R

Calculation for alternative resource with checking Time reservations

P

Planning: Save all results

e_CalcType

x


Calculation Type

Type

Description

0

Production time

1

Idle Time

2

Other

3

Overlapping

4

Transit Time

e_Direction

x


Current calculation direction 1 or -1

e_TimeLine

x

x

Current Time Line. Next Routing position start /end from this time line

e_Duration

x

x

Duration in Minute

e_Start

x

x

Total Start

e_TransitStart

x

x

Transit Start

e_TransitEnd

x

x

Transit End

e_ResourceStart

x

x

Resource Start

e_ResourceEnd

x

x

Resource End

e_IdleStart

x

x

Idle Start

e_IdleEnd

x

x

Idle End

e_End

x

x

Total End

 

Every Date must have follow format: yyyy/mm/dd hh:mm

If you use another format, then the system don't save the value in correct way.

 

NOTE:

The system don't check the changes.  If you change any parameter, you must check all / calculate other parameters too.

The system save the changes in Work order routing position, but this don't have effect to time reservation table BEAS_RESOURCEN!