MAC-PAC Homecontact ussupport login 
Documentation > MAC-PAC Technical Library > Manufacturing > Master Scheduling > Programs > Planning Horizon Date Calculation - Purpose > Planning Horizon Date Calculation - Parameters

Planning Horizon Date Calculation - Parameters

MS090E

Code

Description

Purpose

PFENCE

Daily or Standard Fence

Identifies whether the fence is daily or standard, as indicated by Reference File category 464.

PUNIT

Period Fence

Identifies the period fence, as indicated by Reference File category 464.

PDATE

Demand Fence Date

Indicates the date before which the forecast will be ignored.

PERROR

Error Code

Used for passing back an error code to the calling program.

PCALCD

Calendar Code

Used to pass the calendar code throughout the system.

PDMND

Demand Code

Denotes whether a part is a standard master scheduled or daily master scheduled part.

B.   Parameters

This program is called from various other programs which pass the following time fence parameters:

·     Actual Demand Fence Lead Time

·     Demand Fence Unit (weeks, months, or periods)

·     System Date

·     An Error Code

·     The Calendar Code for the company/warehouse

MS090E Program Menu