Print Page as PDF
CREATE 2237 FOR NEW PURCHASE CARD ORDER ICR (6551)

CREATE 2237 FOR NEW PURCHASE CARD ORDER    ICR (6551)

Name Value
NUMBER 6551
IA # 6551
DATE CREATED 2016/10/18
CUSTODIAL PACKAGE IFCAP
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PRCH410
NAME CREATE 2237 FOR NEW PURCHASE CARD ORDER
GENERAL DESCRIPTION
This integration agreement allows the Advanced
Prosthetics Acquisition Tool (APAT) to call IFCAP routine PRCH410 to create
the 2237 record, record the electronic signature, and update due-ins.
STATUS Active
KEYWORDS APAT
DURATION Till Otherwise Agreed
ID PRCH410
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
ESIG

This component processes the 2237, signs the purchase
card order, and updates due-ins if PRCHOBL=1 (obligate
immediately without Fiscal).
VARIABLES TYPE VARIABLES DESCRIPTION
PRC('SITE') Used
IFCAP Site
PRC('CP') Used
Control Point
PRC('FY') Used
Fiscal Year
PRC('QTR') Used
Fiscal Quarter
PODA Used
File 442 IEN
DA Used
File 410 IEN
PRCHDELV Used
Delivery Order Indicator
PRCHOBL Used
Obligation Indicator
DUZ Used
Logged-in User
CDA Used
CONTROL POINT ACTIVITY FILE (#410) IEN
ITEM


The items from the detailed purchase card order are
copied into a local array in order to store them in the
newly-created 2237.
VARIABLES TYPE VARIABLES DESCRIPTION
BB Used
Local array that items from the detailed purchase
card order are copied into in order to store them in the newly-created 2237.
XDA Used
PROCUREMENT & ACCOUNTING TRANSACTIONS FILE (#442) IEN
REC
This component creates a skeleton 2237 in the Control
Point Activity file (#410).

When a new purchase card order is created, a 2237 is also created in the
Control Point Activity file (#410). This component is called to create the
skeleton 2237.
VARIABLES TYPE VARIABLES DESCRIPTION
PRC('SITE') Used
IFCAP Site
PRCHPO Used
File 442 IEN
PRC('FY') Used
Fiscal Year
PRC('QTR') Used
Fiscal Quarter
START

This component is used at the beginning of the creation of a 2237.

When completing a detailed purchase card order, this component is used
if Type of Order is not set in the purchase card order and if the 2237
has not been created.
VARIABLES TYPE VARIABLES DESCRIPTION
PRC('SITE') Used
IFCAP Site
PRCHPO Used
File 442 IEN
DA Used
PROCUREMENT & ACCOUNTING TRANSACTIONS FILE (#442) IEN
SET
This component sets item data and vendor information
in the 2237.
VARIABLES TYPE VARIABLES DESCRIPTION
PRC('SITE') Used
Numeric portion of PURCHASE ORDER NUMBER (file #442
field #.01) before dash
PRC('SST') Used
File 442 SUBSTATION (#31), internal format
TDATE Used
Returned from $$DATE^PRC0C("T","E"),"^",7) - current
date in FileMan format
PRC('FY') Used
The third and fourth characters of TDATE - 2-digit
year
PRC('QTR') Used
^-piece 2 of TDATE - FY Quarter
CDA Used
File 410 IEN
VEND Used
File 442 VENDOR (#5), internal - pointer to file 440
XDA Used
FILE 442 IEN
SDATE Used
Current date in FileMan format
CP Used
File 442 FCP (#1)
CCEN Used
File 442 COST CENTER (#2), internal, or, if null,
first 30 characters of the file 420.1 NAME (#.01))
VV Used
File 442 VENDOR (#5), internal
SERV Used
File 442 REQUESTING SERVICE (#5.2), internal
ST Used
Constant "ST"
LOC Used
File 442 DELIVERY LOCATION (#5.6)
ADATE Used
File 442 DELIVERY DATE (#7), internal
ESTS Used
File 442 EST. SHIPPING AND/OR HANDLING (#13)
PCREF Used
File 442 PURCHASE ORDER NUMBER (#.01), 2nd "-" piece
PRCSIP Used
File 442 ITEM subfile #442.01 subfile #442.147 LINE
INVENTORY POINT (#.01), pointer to file 445
PC Used
File 442 PURCHASE CARD NUMBER (#46), pointer to file
440.5
COUNT Used
Count of items from header 442.01 sub-file header
(4th "^" piece)
BB(IT) Used
Array of Items from the file 442 ITEMS sub-file
(#442.01)
PRCHPC Used
TYPE OF ORDER=2 => "DETAILED PURCHASE CARD"
DUZ Used
Logged-in user
SUBSCRIBING PACKAGE ADVANCED PROSTHETICS ACQUISITION TOOL
DATE ACTIVATED 2018/11/21