`Functional Description
Purpose
This function retrieves either of the following Processing Option template values:
1)T1201 - Retrieved when Program ID is "P1201"
2)T1702 - Retrieved when Program ID is "P1702"
This function should only be used by the F1201 Master Business Function (N1200010) to retrieve
processing option template values. Any modification to this function's data structure will affect N1200010.
Setup Notes and Prerequisites
Program ID and Version MUST be passed in.
Special Logic
Technical Specification
1.Initialize Error Code = '0'
2.Initialize Error Message ID = " "
3.Initialize Unit Number Required (EV01) = '0'
4.Initialize Serial Number Required (EV02) = '0'
5.Initialize Parent Number Default (EV03) = '0'
6.Initialize Location Default (EV04) = '0'
7.Initialize Write Acct Balances Record (EV05) = '0'
8.Initialize Inv Item No Required = '0'
9.If Suppress Error Message <> '1' And <> '0'
10. Suppress Error Message = '0'
11.End IF
12.If Program ID = Blank
13. If Suppress Error Message <> '1'
14. Set Error "0003" on Program ID
15. End If
16. Set Error Code = '1'
17. Set Error Message ID = "0003"
18.End If
19.If Version = Blank
20. If Suppress Error Message <> '1'
21. Set Error "0003" on Version
22. End If
23. Set Error Code = '1'
24. Set Error Message ID = "0003"
25.End If
26.If Error Code = '0'
27. If Program ID = "P1201" then
28. Retrieve T1201 Processing Options Using Program ID(PID) and Version (VERS)
29. If Found
30. If PO UnitNumberRequired = '1' or 'Y'
31. Unit Number Required (EV01) = '1'
32. End If
33. If PO DefaultLocationFromBU = '1' or 'Y'
34. Location Default (EV04) = '1'
35. End If
36. If PO DefaultCostAccount = '1' or 'Y'
37. Parent Number Default (EV03)='1'
38. End If
39. Interoperability Transaction Type = PO Interoperability Transaction Type.
40. Outbound Processor Version = PO Interoperability Outbound Version
41. Else
42. If Suppress Error Message <> '1'
43. Set Error "016K" on Version
44. End If
45. Set Error Code = '1'
46. Set Error Message ID = "016K"
47. End If
48. Else
49. Retrieve T1702 Processing Options Using Program ID(PID) and Version (VERS)
50. If Found
51. If PO UnitNumberRequired = '1' or 'Y'
52. Unit Number Required (EV01) = '1'
53. End If
54. If PO SerialNumberRequired = '1' or 'Y'
55. Serial Number Required (EV02) = '1'
56. End If
57. If PO ParentNumberDefaulted = '1' or 'Y'
58. Parent Number Default (EV03) = '1'
59. End If
60. If PO Inv Item No Required = '1' or 'Y'
61. Inv Item No Required = '1'
62. End If
63. If PO Account Balances Record = '1' or 'Y'
64. Write Acct Balances Record (EV05) = '1'
65. End If
66. Interoperability Transaction Type = PO Interoperability Transaction Type.
67. Outbound Processor Version = PO Interoperability Outbound Version.
68. Else
69. If Suppress Error Message <> '1'
70. Set Error "016K" on Version
71. End If
72. Set Error Code = '1'
73. Set Error Message ID = "016K"
74. End If
75. End If
76.End If
D1200220 - F1201 Retrieve Processing Options for F1201 MBF
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szProgramId_PID | PID | char | REQ | INPUT |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
szVersion_VERS | VERS | char | REQ | INPUT |
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
| ||||
cSuppressErrorMessage_SUPPS | SUPPS | char | REQ | INPUT |
A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.
0 = allow
| ||||
cErrorCode_ERRC | ERRC | char | OPT | OUTPUT |
This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document
| ||||
szErrorMessageID_DTAI | DTAI | char | OPT | OUTPUT |
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
| ||||
cUnitNumberRequired_EV01 | EV01 | char | OPT | OUTPUT |
An option that specifies the type of processing for an event. | ||||
cSerialNumberRequired_EV02 | EV02 | char | OPT | OUTPUT |
An option that specifies the type of processing for an event. | ||||
cParentNumberDefault_EV03 | EV03 | char | OPT | OUTPUT |
A radio button that specifies the level at which trace/track result is to be displayed. Select the Detail to display all transactions except IB, IX,
| ||||
cLocationDefault_EV04 | EV04 | char | OPT | OUTPUT |
PeopleSoft event point processing flag 04. | ||||
cWriteAcctBalancesRecord_EV05 | EV05 | char | OPT | OUTPUT |
A flag that indicates whether automatic spell check is turned on. | ||||
szInteroperabilityTrans_TYTN | TYTN | char | OPT | OUTPUT |
The qualifier used to identify a specific type of transaction. | ||||
szOutboundProcessorVers_VERS | VERS | char | OPT | OUTPUT |
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
| ||||
cInvItemNoRequired_EV06 | EV06 | char | OPT | OUTPUT |
An option that specifies the type of processing for an event. | ||||
cGenerateBaseWarranty_GENBW | GENBW | char | OPT | OUTPUT |
A value that defines whether the system generates Base Warranty Contract lines when you create the Installed Base item.
Valid values are:
| ||||
cRequireBaseWarranty_REQBW | REQBW | char | OPT | OUTPUT |
Defines if Base Warranty records (F17111) are required to exist for an equipment item before the Equipment Master record (F1201) is
| ||||
cDisplayBaseWarranty_DSPBW | DSPBW | char | OPT | OUTPUT |
Determines if the base warranty contract lines are automatically displayed after adding an Equipment Master record (F1201). | ||||
cBaseWarrantyStartDate_DATEBW | DATEBW | char | OPT | OUTPUT |
A value that identifies which date the system uses for the Base Warranty Contract Start Date.
Valid values are:
Blank Use the date from the
| ||||
cCreateMailingDataforIB_CRTML | CRTML | char | OPT | OUTPUT |
Defines if Mailing data is created in the Installed Base Location Details table (F17311) when an Installed Base item is added. The mailing
| ||||
szCompany_CO | CO | char | OPT | OUTPUT |
A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company
| ||||
szResponsibleBU_MCU | MCU | char | OPT | OUTPUT |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
szAssetCostAcctCostCen_AMCU | AMCU | char | OPT | OUTPUT |
The business unit to which the system charges original acquisition cost and any supplemental capital additions. The system uses a default
| ||||
szAssetCostAcctObject_AOBJ | AOBJ | char | OPT | OUTPUT |
The object account to which the original acquisition cost and any supplemental capital additions have been charged.
If the asset is a
| ||||
szAssetCostAcctSubsid_ASUB | ASUB | char | OPT | OUTPUT |
The subsidiary account to which the original acquisition cost and any supplemental capital additions have been charged. | ||||
szEquipmentStatus_EQST | EQST | char | OPT | OUTPUT |
A user defined code (12/ES) that identifies the equipment or disposal status of an asset, such as available, down, or disposed. | ||||
szP1720Version_VERS | VERS | char | OPT | OUTPUT |
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
| ||||
cAssessorDefault_EV01 | EV01 | char | OPT | OUTPUT |
An option that specifies the type of processing for an event. | ||||
szRegistrationStatus_REGSTS | REGSTS | char | OPT | OUTPUT |
A code that specifies the current registration status for an equipment record. Enter a value from UDC 17/RS. | ||||
cPOAllowWO_WOYN | WOYN | char | OPT | OUTPUT |
A code that indicates whether a piece of equipment or asset may be entered on a work order. Valid values are:
1
|
None |
None |