F1207RetrievePOsofR12807

F1207, Retrieve Processing Options of R12807

Minor Business Rule

Object Name: B1300250

Parent DLL: CMFG

Location: Client/Server

Language: C

Functional Description

Purpose


This Business Function retrieves processing option values of "R12807".


Setup Notes and Prerequisites


Special Logic




Technical Specification

1.Initialize Error Code = '0'
2.Initialize Error Message ID = " "

3.If Suppress Error Message <> '1' And <> '0'

4. Suppress Error Message = '0'

5.End IF


6.If Program ID = Blank 
7. If Suppress Error Message <> '1'

8. Set Error "0003" on Program ID

9. End If

10. Set Error Code = '1'

11. Set Error Message ID = "0003"

12.End If

13.If Version = Blank

14. If Suppress Error Message <> '1'

15. Set Error "0003" on Version

16. End If

17. Set Error Code = '1'

18. Set Error Message ID = "0003"

19.End If


20.If Error Code = '0'
21. If Program ID = "R12807" then

22. Retrieve T12807 Processing Options Using Program ID(PID) and Version (VERS)

23.       EndIf

24.End If




Data Structure

D1300250 - F1207, Retrieve Processing Options of R12807

Parameter NameData ItemData TypeReq/OptI/O/Both
szProgramIdPIDcharOPTINPUT

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szVersionVERScharOPTINPUT

A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined 
processing option values and data selection and sequencing options. Interactive versions are associated with applications (usually as a 
menu selection). Batch versions are associated with batch jobs or reports. To run a batch process, you must choose a version.

cSuppressErrorMessageSUPPScharOPTINPUT

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

cErrorCodeERRCcharOPTOUTPUT

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

szErrorMessageIDDTAIcharOPTOUTPUT

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

jdPOThruDateTRDJJDEDATEOPTOUTPUT

The date that an order was entered into the system. This date determines which effective level the system uses for inventory pricing.

szPOFromStatusSTSOWcharOPTOUTPUT

A user defined code (system 12, type MS) that indicates the maintenance status on a piece of equipment, such as 50 for maintenance due 
or 60 for waiting for parts. NOTE: Status code 99 is reserved for completed maintenance. Status code 01,the default, is reserved for initial 
maintenance setup.

szPOToStatusDSTOWcharOPTOUTPUT

Use this field to change the maintenance status of selected records.

szPOChangeStatusSRSTcharOPTOUTPUT

A user defined code (00/SS) that describes the status of a work order, rate schedule, or engineering change order. Any status change from 
90 through 99  triggers the system to automatically update the completion date.

cPOPrintFlagEV03charOPTOUTPUT


cPOPrintNumberFlagEV04charOPTOUTPUT

PeopleSoft event point processing flag 04.

cPOCreateWOFlagEV05charOPTOUTPUT

A flag that indicates whether automatic spell check is turned on.

jdPOStartDateWOSTRTJDEDATEOPTOUTPUT

The start date for the order. You can enter this date manually, or have the system calculate it using a backscheduling routine. The routine 
starts with the required date and offsets the total leadtime to calculate the appropriate start date.

cPOUseSystemDateFlagEV06charOPTOUTPUT

An option that specifies the type of processing for an event.

cPOProjectStatDateFlagEV07charOPTOUTPUT

An option that specifies the type of processing for an event.

cPOCrossReferenceFlagEV08charOPTOUTPUT

An option that specifies the type of processing for an event.

cPOUpdateLastCompletedFlagEV09charOPTOUTPUT

An option that specifies the type of processing for an event.

szPOCraftWorkCenterMCUcharOPTOUTPUT


cPOEstimateOccurFlagEV10charOPTOUTPUT

An option that specifies the type of processing for an event.

cPODefaultOwnerDEFOWcharOPTOUTPUT

A code that specifies which customer the system defaults to assigned work orders for scheduled maintenance. Valid values are:  
Blank Default the customer from the model work order. 1 Default the customer from the equipment.

cPODefaultSiteDEFSTcharOPTOUTPUT

A code that specifies which site the system defaults to assigned work orders for scheduled maintenance. Valid values are:   Blank Default 
the site from the model work order. 1 Default the site from the equipment.

szPOOrderTypeDCTOcharOPTOUTPUT

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

cPOPastProjectedDates_EV01EV01charOPTOUTPUT

An option that specifies the type of processing for an event.

mnDaysAdded_NMDYSNMDYSMATH_NUMERICOPTOUTPUT

This field represents a number of days. The value is available when printing a letter. Valid values: 1-999

szPOPartsListVersion_VERSVERScharOPTOUTPUT

A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined 
processing option values and data selection and sequencing options. Interactive versions are associated with applications (usually as a 
menu selection). Batch versions are associated with batch jobs or reports. To run a batch process, you must choose a version.

szPORoutingsVersion_VERSVERScharOPTOUTPUT

A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined 
processing option values and data selection and sequencing options. Interactive versions are associated with applications (usually as a 
menu selection). Batch versions are associated with batch jobs or reports. To run a batch process, you must choose a version.

cPOCreateResourceAssignmentEV01charOPTNONE

An option that specifies the type of processing for an event.

szPOForecastType_TYPFTYPFcharOPTNONE

A user defined code (34/DF) that indicates one of the following:     o The forecasting method used to calculate the numbers displayed about 
the item     o The actual historical information about the item 

Related Functions

None

Related Tables

None