Approved Product List (APL) File

Contents Show

The EBT Processor system's format for the Approved Product List (APL) File is used for outbound communication from the SPIRIT system to the EBT Processor system.

The Approved Product List (APL) File is sent from the SPIRIT WIC system to the EBT Processor system during End of Day Processing. For more information, see the SPIRIT to EBT Files section of the EBT Processor Import/Export Files topic.

Also, see the Approved Product List (APL) Processing within the BatchProcessor topic for more information about Approved Product List (APL) File processes that occur during BatchProcessor Processing.

The Approved Product List (APL) File is applicable to your state when the Electronic Benefit Transfer (EBT) food delivery system is enabled for any site within your state.

Note

NOTE: For more information about enabling the Electronic Benefit Transfer (EBT) food delivery system (or any other food delivery system, such as check, voucher, or direct distribution), see the Clinic screen in the Reference Utility application module.

The Approved Product List (APL) File is generated during BatchProcessor Processing and sent to the folder names specified in the VALUE column of the FileSendPath and FileArchivePath rows within the EBTCONNECTIONINFO table of the SPIRIT database.

The name of the Approved Product List (APL) File is a combination of the values specified in the EBTCONNECTIONINFO table of the SPIRIT database.

Note

NOTE: File names must match your state's EBT Processor's file name format requirements. The EBT Processor may also impose maximum length, date format, special character, or other restrictions.

The naming syntax for the Approved Product List (APL) File sent to the FileSendPath specified in the EBTCONNECTIONINFO table of the SPIRIT database is based on the file type as follows:

[File Name Variable]

For example, an Approved Product List (APL) File sent to the FileSendPath specified in the EBTCONNECTIONINFO table of the SPIRIT database might be named "C4WUPC".

In the values above, "C4" and "WUPC" comprise a six-character Approved Product List (APL) File name example, but the exact name of the Approved Product List (APL) File in your state's environment will equal the value specified in the VALUE column of the APLFileName row within the EBTCONNECTIONINFO table of the SPIRIT database.

[File Name Variable]{0:[Date Time Format Variable]}[File Name Variable][File Extension Variable]

For example, an Approved Product List (APL) File sent to the FileSendPath specified in the EBTCONNECTIONINFO table of the SPIRIT database might be named "APLfile.220924.231445.Clinic104.upnxml-2014".

The file name may be composed of a combination of alphanumeric characters and a date format as follows:

During End of Day Command Line Batch Processing, the format is replaced by the actual date and time the Approved Product List (APL) File is processed. The example above includes the following date and time:

The exact name of the File Extension Variable in your state's environment will equal the value specified in the VALUE column of the UPCPLUFileTypeExtension row within the EBTCONNECTIONINFO table of the SPIRIT database.

The exact file name in your state's environment will equal the values specified in the VALUE column of the APLFileName row followed by the VALUE column of the UPCPLUFileTypeExtension row, if applicable, within the EBTCONNECTIONINFO table of the SPIRIT database. At least one (1) alphanumeric character is required.

AND

The naming syntax for the Approved Product List (APL) File sent to the FileArchivePath specified in the EBTCONNECTIONINFO table of the SPIRIT database (to include a date and time stamp) is based on the file type as follows:

[Original File Name][YYMMDD][HHMMSS]

For example, a Approved Product List (APL) File sent to the FileArchivePath specified in the EBTCONNECTIONINFO table of the SPIRIT database might be named "C4WUPC220924231512". In this example, the file processed on September 24, 2022, at twelve (12) seconds past 11:15 PM.

In the values above, "C4" and "WUPC" comprise a six-character Approved Product List (APL) File name example, but the exact name of the Approved Product List (APL) File in your state's environment will equal the value specified in the VALUE column of the APLFileName row within the EBTCONNECTIONINFO table of the SPIRIT database.

[Original File Name][YYMMDD][HHMMSS][Sequence Number]

For example, a Approved Product List (APL) File sent to the FileArchivePath specified in the EBTCONNECTIONINFO table of the SPIRIT database might be named "APLfile.220924.231445.Clinic104.upnxml-2014.22092423151200". In this example, the file processed on September 24, 2022, at twelve (12) seconds past 11:15 PM.

The Approved Product List (APL) File is also referred to by the following names in software solutions outside of the SPIRIT WIC system:

Approved Product List (APL) File Record Layout

The tables below describe the data elements that comprise the Approved Product List (APL) File.

Note

NOTE: The Header Record position, Details Record position, and Trailer Record data elements do not apply to WUMEI file types.

Header Record

SPIRIT Element

WUMEI Name

Position

Length

+Type

*Notes

Record Type

Unmapped

1-2

2

X

Coded Value - 'HD'.

Transaction Type

File Name

3-10

8

X

"[State Identifier Code]WUPC".

The [State Identifier Code] value as designated by the Food and Nutrition Service (FNS) division of the United States Department of Agriculture (USDA).

For example, 'C4' is the [State Identifier Code] value for the Chickasaw Nation's WIC program as designated by FNS.

The value is from the EBTCONNECTIONINFO table in the SPIRIT database.

Date

Date and time, transmission

11-18

8

9

Date Field - "yyyyMMdd" format.

Time

Date and time, transmission

19-26

8

9

Date Field - "HHMMSSFF" format.

'FF' signifies fractional seconds.

Control Number

File sequence number

27-32

6

9

6-digit number incremented by 1 on each submission.

WIC Program ID

Unmapped

33-34

2

X

·

Filler

Unmapped

35-250

216

X

Empty space filled record.

Error Code

Unmapped

251-426

176

X

Space filled.

Response Code

Unmapped

427-430

4

X

Zero filled.

+ For more information, see Field Data Types.

* For more information, see Annotations.

Detail Record

SPIRIT Element

WUMEI Name

Position

Length

+Type

File Mapping from SPIRIT Database (Table. Column)

*Notes

~Record Type

Unmapped

1-2

2

X

Unmapped

Coded Value - 'DT'.

~Action Code

Action code

3-4

2

X

EBTAUTHORIZEDUPC. PRODUCTSTATUS

IF PRODUCTSTATUS = "D" THEN '02' ELSE '01'.

Coded Value.

  • '01' = Activate

  • '02' = Deactivate

~UPC/PLU Indicator

Unmapped

5-5

1

X

EBTAUTHORIZEDUPC. PLUIND

IF PLUIND = "Y" THEN 'P' ELSE 'U'.

Coded Value.

  • 'U' = Universal Product Code (UPC)

  • 'P' = Price Look-Up (PLU)

~UPC/PLU Number

UPC/PLU Data

6-22

17

X

EBTAUTHORIZEDUPC. UPCCD

The UPCCD gets the length based on the EBTAUTHORIZEDUPC.

UPCPLUDATALENGTH.

·

~Product Description

Item Description

23-64

42

X

EBTAUTHORIZEDUPC. SHORTPRODUCTDESCRIPTION

·

~Unit of Measure

Benefit Unit Description

65-67

3

X

EBTAUTHORIZEDUPC. UNITOFMEASURECD

·

~Manual Auth Hold Indicator

Manual Voucher Indicator

68-68

1

X

EBTAUTHORIZEDUPC. MANUALAUTHHOLDINDICATOR

Manual Authorized Hold Code.

Coded Value.

  • 'Y'

  • 'N'

~Category

Category Code

69-70

2

9

EBTAUTHORIZEDUPC. FOODCATEGORYCD

2-character EBT category code.

~Subcategory

Subcategory Code

71-73

3

9

EBTAUTHORIZEDUPC. FOODSUBCATEGORYCD

3-character EBT sub-category code.

~Quantity

Benefit Quantity

74-78

5

999v99

EBTAUTHORIZEDUPC. QUANTITY

5 characters in 999v99 format with 2 implied decimals.

~Maximum Price Array (21 Entries)

·

79-246

168

Mixed

·

·

Peer Group Id

·

2

9

EBTMAR. PEERGROUP

  • Peer Group #1 ID = First Peer Group identification number.

  • Peer Group #2 ID = Second Peer Group identification number.

  • Peer Group #3 thru #21 = Peer Group identification numbers for the next 19 Peer Groups.

Peer Group Max Price

·

6

9999v99

EBTMAR. MARUPC

OR

EBTMAR. MARCATSUBCAT

  • Peer Group #1 Max Price = MAR for this UPC in the first Peer Group.

  • Peer Group #2 Max Price = MAR for this UPC in the second Peer Group.

  • Peer Group #3 thru #21 Max Price = MARs for the next 19 Peer Groups.

~Number of Peer Group Ids

Number of WIC Vendor Peer Groups

247-248

2

X

Unmapped

A count of the active Peer Groups.

~NIT

NIT

249-254

6

X

EBTCONNECTIONINFO. VALUE

WHERE Name = 'NIT'.

The WIC Authority ID value as designated by the Food and Nutrition Service (FNS) division of the United States Department of Agriculture (USDA).

Coded Value.

Space filled.

For example, '011' is the WIC Authority ID value for the Chickasaw Nation's WIC program as designated by FNS.

~Expire Date

Date, End UPC/PLU Data

255-262

8

9

EBTAUTHORIZEDUPC. ENDDATE

Date Field - "yyyyMMdd" format.

Zero filled if unknown.

~Profile Number

Unmapped

263-271

9

9

EBTAUTHORIZEDUPC. VALUE

WHERE Name = 'ProfileNum'.

The State Agency's unique profile number identifier.

Coded Value.

Zero filled.

For example, '500030011' is an example of a unique profile number identifier where the last 3 digits are '011' and represent the WIC Authority ID value or the WIC program identifier for the Chickasaw Nation's WIC program as designated by the Food and Nutrition Service (FNS) division of the United States Department of Agriculture (USDA).

This field does not exist in the WUMEI; therefore, it is not used for SPIRIT to EBT Files.

~Weight Product Indicator

Unmapped

272-272

1

X

IF EBTAUTHORIZEDUPC. FOODCATEGORYCD = "CVB" AND EBTAUTHORIZEDUPC. PLUIND = "Y" THEN '1' ELSE '0'

Coded Value.

  • '0' = Qty applied as units

  • '1' = Qty applied as weight

  • '2' = CVB

~Purchase Indicator

Purchase Indicator

273-273

1

X

EBTAUTHORIZEDUPC. PURCHASEINDICATOR

Coded Value.

  • '0' = Default

  • '1' = Voucher

  • '2' = CVB

~Effective Date

Date, Begin UPC/PLU Data

274-281

8

9

EBTAUTHORIZEDUPC. STARTDATE

Start Date in SPIRIT's UPC table.

Date Field - "yyyyMMdd" format.

Zero filled if unknown.

~Rebate Flag

Rebate Flag

282-282

1

X

EBTAUTHORIZEDUPC. REBATEITEM

Coded Value.

  • 'Y' = Rebate Item

  • 'N' = Not a Rebate Item

~Price Type Code

Price Type

283-284

2

X

Unmapped

·

~UPC/PLU Length

UPC/PLU Data Length

285-286

2

9

EBTAUTHORIZEDUPC. UPCPLUDATALENGTH

·

~Filler

Unmapped

287-289

3

X

Unmapped

Space filled.

~APL Type Length

APL Type Length

290-290

1

9

Unmapped

Space filled.

~APL Types List

APL Type

291-299

9

9

EBTUPCAPLTYPE. APLTYPE

10 characters.

The first character indicates the number of APL types, and the remaining nine (9) characters contain the APL Type IDs, which can be applied as follows:

  • "1"= Store Brand (ALL)

  • "2"= National Brand (Commissary)

For example:

  • "212" indicates that the UPC has two (2) APL Types and the "1" and "2" indicate the APL Type IDs applied.

  • "11" indicates that the UPC has one (1) APL Type and its APL Type ID is "1" (for ALL).

  • "12" indicates that the UPC has one (1) APL Type and its APL Type ID is "2" (for Commissary).

~Filler

Unmapped

300-422

123

X

Unmapped

Left aligned.

Space filled.

~Error Code

Unmapped

423-426

4

X

Unmapped

Space filled.

~Response Code

Unmapped

427-430

4

X

Unmapped

Zero filled.

~ Denotes a required SPIRIT Element.

+ For more information, see Field Data Types.

* For more information, see Annotations.

Trailer Record

SPIRIT Element

WUMEI Name

Position

Length

+Type

*Notes

Record Type

Unmapped

1-2

2

X

Coded Value - 'TR'.

Transaction Type

File Name

3-10

8

X

"[State Identifier Code]WUPC".

The [State Identifier Code] value as designated by the Food and Nutrition Service (FNS) division of the United States Department of Agriculture (USDA).

For example, 'C4' is the [State Identifier Code] value for the Chickasaw Nation's WIC program as designated by FNS.

The value is from the EBTCONNECTIONINFO table in the SPIRIT database.

Date

Date and time, transmission

11-18

8

9

Date Field - "yyyyMMdd" format.

Time

Date and time, transmission

19-26

8

9

Date Field - "HHMMSSFF" format.

'FF' signifies fractional seconds.

Control Number

File sequence number

27-32

6

9

6-digit number incremented by 1 on each submission.

Total Detail Records

Unmapped

33-38

6

9

Count of the number of detail records.

Zero padded.

Filler

Unmapped

39-250

212

X

Space filled.

Error Code

Unmapped

251-426

176

X

Space filled.

Response Code

Unmapped

427-430

4

X

Zero filled.

+ For more information, see Field Data Types.

* For more information, see Annotations.

|

Scheduled Job Administration

Updated in Rel 2.38 per SWEB US 12652. Updated in Rel 2.40 per SWEB US153511