Prism JSON Data Objects
Prism JSON Data Objects
This document is proprietary and confidential to RETAIL PRO and is restricted to review by
designated individuals only for purposes authorized by RETAIL PRO.
You may not copy any part of this document. Your possession of this document is permitted only
if:
(1) you have been designated by RETAIL PRO as an authorized recipient; and
(2) you agree to these restrictions. Any other use or any disclosure to any other person
whatsoever is not permitted and is a violation of RETAIL PRO’s legal rights.
If you are in possession of an unauthorized copy of this document, you should immediately
destroy or return it to RETAIL PRO at the address specified below.
i
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
Table of Contents
Document Revision History .................................................................................................................................................. i
Introduction ........................................................................................................................................................................ 1
Prism Data Objects described in this document ..................................................................................................................... 1
PDO Examples ......................................................................................................................................................................... 1
Versioning................................................................................................................................................................................ 1
Information Origin ................................................................................................................................................................... 1
Adjustment.......................................................................................................................................................................... 2
AdjComment list ...................................................................................................................................................................... 5
AdjItem list .............................................................................................................................................................................. 5
AdjQty list ................................................................................................................................................................................ 8
AdjSerial list ............................................................................................................................................................................. 9
AdjLot list ................................................................................................................................................................................. 9
AdjGiftCard list ...................................................................................................................................................................... 10
Insert new Adjustment Memo Price Payload Example. ........................................................................................................ 11
Customer ........................................................................................................................................................................... 12
Insert New Customer Payload Example. ............................................................................................................................... 16
CustAddress list ..................................................................................................................................................................... 17
CustEmail list ......................................................................................................................................................................... 18
CustPhone list ........................................................................................................................................................................ 19
Insert New Customer with Address, Email and Phone Payload example.............................................................................. 20
DCS .................................................................................................................................................................................... 21
Insert New DCS Payload Example. ......................................................................................................................................... 22
Document .......................................................................................................................................................................... 23
DocCoupon list ...................................................................................................................................................................... 39
DocDeposit list....................................................................................................................................................................... 40
DocDiscount list ..................................................................................................................................................................... 41
DocExtended list .................................................................................................................................................................... 42
[Link] ........................................................................................................................................................................... 42
DocItemDiscount list ............................................................................................................................................................. 52
DocTender list ....................................................................................................................................................................... 53
TenderCentralGiftCard list..................................................................................................................................................... 54
TenderCentralStoreCredit list................................................................................................................................................ 55
TenderCharge list .................................................................................................................................................................. 55
TenderCheck list .................................................................................................................................................................... 56
TenderCreditCard list ............................................................................................................................................................ 57
[Link] ............................................................................................................................................................. 60
[Link] ........................................................................................................................................................ 62
Insert New Document Payload Example. .............................................................................................................................. 62
Inventory ........................................................................................................................................................................... 67
Insert New Inventory Payload example: ............................................................................................................................... 70
InvnPrice list .......................................................................................................................................................................... 71
Insert New Inventory with Price Payload Example: .............................................................................................................. 71
ii
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
InvnQuantity list .................................................................................................................................................................... 72
Purchase Order .................................................................................................................................................................. 74
POItem list ............................................................................................................................................................................. 78
POQuantity list ...................................................................................................................................................................... 80
POFee list ............................................................................................................................................................................... 80
POTerm list ............................................................................................................................................................................ 80
POApproval list ...................................................................................................................................................................... 80
Insert New Purchase Order Payload Example ....................................................................................................................... 82
Receiving (voucher) ........................................................................................................................................................... 84
RecvApproval list ................................................................................................................................................................... 89
RecvComment list.................................................................................................................................................................. 89
RecvTerm list ......................................................................................................................................................................... 90
RecvItem list .......................................................................................................................................................................... 90
RecvPackage list .................................................................................................................................................................... 92
Insert New Voucher Payload Example: ................................................................................................................................. 93
Vendor .............................................................................................................................................................................. 94
VendorAddress list ................................................................................................................................................................ 95
VendorContact list ................................................................................................................................................................. 96
Insert New Vendor Payload Example: ................................................................................................................................... 96
Appendix: Tips for Debugging Import Issues ...................................................................................................................... 97
iii
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
Introduction
This document describes some of the Prism Data Objects (PDO) and their format used by Retail Pro Prism during
the replication process. It does not describe all of the PDO’s, it only describes the most commonly used PDO’s
for Import and Export with third party systems.
The PDO’s used with Prism replication, format the data in the JSON (JavaScript Object Notation) format.
Since the same PDO is used for the JSON data returned by the Prism REST API, this also describes the JSON data
returned by the REST API.
• Adjustment
• Customer
• DCS
• Document
• Inventory
• Purchase Order
• Receiving (Voucher)
• Vendor
In addition, some PDO’s will have optional sub-PDO’s as a child PDO (or collection). These will be described in
the same section as their parent PDO.
PDO Examples
With each top level PDO description, a JSON example will be provided.
Versioning
This document describes the PDO’s starting with as they exist in Prism 1.14.7.
If a PDO is added or removed in a certain version, that will be documented in the description of the PDO.
As a PDO itself may change over time, any additions, changes, or deletions of the attributes of a PDO will be
documented in that attributes DESCRIPTION column.
If no version information is specified in the attribute description, then you should consider the attribute to have
existed as of the version of when the PDO was added to this document and continues to exist in the PDO as of
the latest revision of this document.
Information Origin
The information in this document was derived from the REST API Metadata.
If you need information on PDO’s not contained in the document, please use the Prism API Explorer available on
your Prism Server at: [Link] Server Name or IP Address>/api-explorer/#/services
1
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
Adjustment
The Adjustment JSON contains information related to adjustment memos.
Added to this document: 1.14.7
Data
Attribute Size ID Required Description
Type
Sid INTEGER 19 YES YES Adjustment unique identifier.
SbsSid INTEGER 19 NO Reference to subsidiary.
StoreSid INTEGER 19 NO Reference to store.
AdjNo INTEGER 10 YES Adjustment memo number.
0-Qty
1-Price
AdjType INTEGER 1 YES 2-Cost
Creating document number. (If
generated from another Prism
CreatingDocNo INTEGER 5 NO document).
0-None
1-PI
2-CostOverwrite
3-Markdown
4-Cleanup
5-PlannedPricing
6-PlannedMarkdown
7-Inventory
8-Manual
9-Reversing
10-CostLeave
11-Audit
12-Corporate
13-Kit
CreatingDocType INTEGER 2 YES 14-UnverifiedSlip
Represents the sid of the document
for which the adjustment was
CreatingDocSid INTEGER 19 NO created automatically (e.g. reverse).
OrigStoreSid INTEGER 19 NO Original store sid.
OrigStation STRING 1 NO Original station.
ClerkSid INTEGER 19 NO Reference to the employee.
SublocSid INTEGER 19 NO Sid of a sublocation.
PriceLvlSid INTEGER 19 NO Reference to the Price level Sid.
WorkstationSid INTEGER 19 NO Reference to the workstation.
0-None
1-Changed
2-Cancelled
3-Normal
Status INTEGER 1 YES 4-Completed
AdjReasonSid INTEGER 19 NO Reference to the pref_reason.
TaxAreaSid INTEGER 19 NO Tax area Sid.
UseVat BOOLEAN NO Use VAT?
Audited BOOLEAN NO Audited status flag.
2
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
3
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
4
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
AdjComment list
The AdjComment list contains information about the comments on the adjustment memos.
Data
Attribute Size ID Required Description
Type
AdjSid INTEGER 19 YES NO Adjustment unique identifier.
CommentNo INTEGER 4 YES YES Comment number.
Comments STRING 60 YES Comments.
AdjItem list
The AdjItem list contains information about the items on the adjustment memos.
Data
Attribute Size ID Required Description
Type
AdjSid INTEGER 19 YES NO Adjustment unique identifier.
ItemPos INTEGER 4 YES YES Item position.
ItemSid INTEGER 19 NO Item SID (unique identifier).
OrigValue DECIMAL 16,4 NO Original value.
AdjValue DECIMAL 16,4 NO Adjusted value.
Cost DECIMAL 16,4 NO Cost.
Price DECIMAL 16,4 NO Price.
TaxPerc DECIMAL 16,4 NO Tax percentage.
TaxArea2Sid INTEGER 19 NO Reference to tax area.
TaxCodeSid INTEGER 19 NO Reference to tax code.
TaxCode2Sid INTEGER 19 NO Reference to tax code.
TaxPerc2 DECIMAL 16,4 NO Tax percentage 2.
ScanUpc INTEGER 18 NO Scan UPC.
This column is obsolete and has
SerialNo STRING 50 NO been replaced by ADJ_SERIAL.
Used to record a UDF value that
existed at the time the document
was created. This field does not
necessarily correspond to
inventory UDF number 1.
Extended with more char spaces
to hold proper translation when
UdfValue1 STRING 50 NO necessary.
Used to record a UDF value that
existed at the time the document
was created. This field does not
necessarily correspond to
inventory UDF number 2.
Extended with more char spaces
to hold proper translation when
UdfValue2 STRING 50 NO necessary.
5
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
6
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
7
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
0-Qty
1-Price
AdjustmentType INTEGER 1 NO 2-Cost
TaxName STRING 12 NO Tax code name.
TaxName2 STRING 12 NO Tax code name.
Serial-type from V9
invn_sbs.ext_flag. (V9 ext-flag
contains serial-type and lot-type).
0-None
1-Partial
SerialType INTEGER 1 NO 2-Full.
lot-type from V9
invn_sbs.ext_flag. (V9 ext-flag
LotType INTEGER 1 NO contains serial-type and lot-type).
0-NoEntry
1-Kit
2-Package
3-GiftCardStoredValue
4-GiftCardPrePaid
5-GiftCertificate
6-Fee
KitType INTEGER 1 NO 7-GiftCardCentral
AdjQty list
The AdjQty list contains information about the quantities for the items on the adjustment memos.
Data
Attribute Size ID Required Description
Type
Reference to the Adjustment
AdjItemSid INTEGER 19 YES NO Item Sid.
SbsSid INTEGER 19 NO Reference to the subsidiary.
StoreSid INTEGER 19 YES NO Reference to the store.
Qty DECIMAL 10,3 YES Quantity.
StoreNo INTEGER 4 YES Store number.
SbsNo INTEGER 4 YES Subsidiary number.
8
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
AdjSerial list
The AdjSerial list contains information about the serialized items on the adjustment memos.
Data
Attribute Size ID Required Description
Type
Reference to the Adjustment
AdjItemSid INTEGER 19 YES NO Item Sid.
SerialNo STRING 50 YES YES Serial Number.
OrigQty DECIMAL 10,3 NO Original Quantity.
AdjQty DECIMAL 10,3 NO Adjustment Quantity.
Notes STRING 255 NO 0-None, 1-Insert, 2-Remove
Used to mark a serial number for
insertion or deletion.
Allowed values:
0=None
1=Insert
ActionType INTEGER 1 NO 2=Deactivate
AdjLot list
The AdjLot list contains information about the item lots on the adjustment memos.
Data
Attribute Size ID Required Description
Type
Reference to the Adjustment
AdjItemSid INTEGER 19 YES NO Item Sid.
LotNumber STRING 25 YES YES Lot Number.
Original qty assigned to the lot
OrigQty DECIMAL 10,3 NO number
New lot number quantity. This
value will be updated in the
LOT_QTY table. It is retained
AdjQty DECIMAL 10,3 NO here for history purposes only.
SublocSid INTEGER 19 YES ID of a sublocation.
9
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
AdjGiftCard list
The AdjGiftCard list contains information about the gift cards on the adjustment memos.
Data
Attribute Size ID Required Description
Type
Unique identifier of the adjusted
item referenced in the adj_item
AdjItemSid INTEGER 19 YES NO table.
This is the older non-central gift
GiftCardNo STRING 25 YES YES card numbers.
The original qty of the gift card
item (older non-central gift card
OrigQty DECIMAL 10,3 NO numbers).
the adjusted qty made to the gift
card (older non-central gift card
numbers) via qty adjustment
AdjQty DECIMAL 10,3 NO memos.
10
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
{
"sid": "582654366000104382",
"adjno": 10,
"adjtype": 1,
"creatingdoctype": 8,
"status": 4,
"controller": 1,
"origcontroller": 1,
"adjitem": [{
"itempos": 1,
"origvalue": 9.99,
"adjvalue": 11.99,
"itemuid": "578536303000120436"
}],
"taxarea": "ILLINOIS",
"pricelevel": 1,
"createdbyemplname": "SYSADMIN",
"seasoncode": "None",
"reasonname": "MANUALLY",
"reasontype": 5,
"clerk": 1,
"clerkname": "SYSADMIN",
"sbsno": 1,
"storeno": null,
"origstoreno": 1,
"clerkorigsbsno": 1,
"createdbyorigsbsno": 1,
"modifiedbyorigsbsno": 1
}
11
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
Customer
The customer JSON contains information about the customer records.
Added to this document: 1.14.7
12
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
13
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
14
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
15
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
16
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
CustAddress list
The custaddress list contains information about the customer address records.
Attribute Data Type Size ID Required Description
Sid INTEGER 19 NO Address unique identifying value.
CustSid INTEGER 19 NO Reference to customer record.
Indicates that this is the
customer’s primary address.
PrimaryFlag BOOLEAN NO Default: false.
Indicates this address can be
used in workflow.
Active BOOLEAN NO Default: True
Descriptive name of address as it
AddressName STRING 30 NO relates to the customer.
Optional name of company at
CompanyName STRING 100 NO this address.
Address line 1 - number and
Address1 STRING 40 NO street
Address2 STRING 40 NO Address line 2 - suite
Address3 STRING 40 NO Address line 3 - c/o
City STRING 40 NO Address city
State STRING 5 NO Address state or province
PostalCode STRING 10 NO Postal (zip) code
PostalCodeExtension STRING 5 NO Postal code extension (zip+4)
CountrySid INTEGER 19 NO Reference to country record.
Date customer began using or
BeginDate DATETIME NO living at this address.
Date customer stopped using or
EndDate DATETIME NO living at this address.
If the customer uses this address
seasonally, month and day (year
is ignored) that customer begins
SeasonalBeginDate DATETIME NO using this address.
If the customer uses this address
seasonally, month and day (year
is ignored) that customer stops
SeasonalEndDate DATETIME NO using this address.
Reference to address type
AddressTypeSid INTEGER 19 NO record.
Short descriptive code for this
AddressCode STRING 10 NO address, e.g., Home, work, etc.
BillShip INTEGER 1 NO 0-Billing and 1-Shipping.
Reference to phone record.
PhoneSid INTEGER 19 NO Phone number at location.
Reference to phone record.
AltPhoneSid INTEGER 19 NO Alternate phone number.
17
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
18
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
CustPhone list
The custphone list contains information about the customer email records.
Attribute Data Type Size ID Required Description
Sid INTEGER 19 NO Unique identifying value.
CustSid INTEGER 19 YES NO Reference to customer record.
PhoneNo STRING 30 YES Phone number.
Extension STRING 10 NO Phone extension.
Short text description of phone
Description STRING 60 NO number as it relates to customer.
Indicates customer has opted out
PhoneAllowContact BOOLEAN NO of being contacted at this phone.
Date customer began using this
BeginDate DATETIME NO phone number.
Date customer stopped using this
EndDate DATETIME NO phone number.
Indicates that this is the vendors
PrimaryFlag BOOLEAN NO primary phone number
SeqNo INTEGER 4 YES YES Phone sequence number.
PhoneTypeSid INTEGER 19 NO Reference to phone type record.
Phone type name, e.g., "home2",
PhoneType STRING 20 NO "work1", "cell", etc.
19
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
Insert New Customer with Address, Email and Phone Payload example.
{
"sid": "579138538000178074",
"custid": 100000005,
"lastname": "Isaac",
"firstname": "Newton",
"maxdiscperc": 100,
"custaddress": [{
"primaryflag": true,
"active": true,
"address1": "4516 Moon St",
"address2": "Sacramento",
"address3": "California",
"postalcode": "95789",
"seqno": 1,
"addresstype": "Home"
}],
"custemail": [{
"emailaddress": "inewton@[Link]",
"primaryflag": true,
"seqno": 1,
"emailtype": "Office"
}],
"custphone": [{
"phoneno": "9160101011",
"primaryflag": true,
"seqno": 1,
"phonetype": "Home"
}],
"sbsno": 1,
"storeno": 1
}
20
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
DCS
The DCS JSON contains information about departments.
Added to this document: 1.14.7
21
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
22
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
Document
The Document JSON contains information related to receipts recording the sale and return of
merchandise.
Added to this document: 1.14.7
Data
Attribute Size ID Required Description
Type
Sid INTEGER 19 YES YES Unique identifying value.
Employee id of row creator using
CreatedBy STRING 30 NO application ui.
Employee id of last modifier
ModifiedBy STRING 30 NO using application ui.
DATETIM
ModifiedDatetime E NO Datetime row was last modified
Reference to controller record for
ControllerSid INTEGER 19 NO database where that owns row.
Indicates application used to
create row. V9 and v8 are
reserved for rpro versions 8 and
9, respectively. This is the same
value that will be used in
OriginApplication STRING 20 NO licensing applications.
RowVersion INTEGER 1 NO Optimistic locking value.
0 = None
1 = changed
2 = cancelled
3 = normal
Status INTEGER 1 YES 4 = Completed
BOOLEA Flag to indicate that document
UseVat N YES uses vat
BOOLEA
WasAudited N YES Indicates document was audited.
Indicates document is in a held
state pending future changes.
Business rules for completion of a
document do not apply to a held
document, and totals from a held
BOOLEA document are not included in
IsHeld N YES daily totals reports.
Indicates the receipt detax
status.
BOOLEA 0 = No detax
DetaxFlag N YES 1 = Detaxed
Indicates record has been
Archived INTEGER 1 YES archived.
23
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
0-Cash,
1-Check,
2-creditcard,
3-COD,
4-Charge,
5-storecredit,
6-Split,
7-Deposit,
8-Payments,
9-giftcertificate,
10-giftcard,
11-debitcard,
12-foreigncurrency,
13-travelercheck,
14-foreigncheck,
15-centralgiftcard,
16-centralgiftcertificate,
17-centralcustomercredit,
TenderType INTEGER 4 YES 18-CustomerLoyalty
SbsNo INTEGER 4 YES Subsidiary number.
StoreNo INTEGER 4 YES Store number.
BOOLEA
BtPrimary N YES
BOOLEA
StPrimary N YES
TenantSid INTEGER 19 NO Reference to tenant description
Document identifying number,
assigned when document is
DocNo INTEGER 9 NO posted or held
Document identifying number,
used to reference document
DocRefNo INTEGER 9 NO before it is posted or held
TrackingNo STRING 24 NO Shipping tracking number.
Bitmask controlling application of
VatOptions INTEGER 9 NO vat rules
Customer purchase order
CustPoNo STRING 10 NO number.
Document level discount
percentage. If not null,
DiscPerc DECIMAL 16,4 NO supersedes disc_amt.
Document level discount
DiscAmt DECIMAL 16,4 NO amount. Used if disc_perc is null.
Tax rebate percentage. If not
TaxRebatePerc DECIMAL 17,5 NO null, supersedes tax_reb_amt.
Tax rebate amount used if
TaxRebateAmt DECIMAL 16,4 NO tax_reb_perc is null.
The percentage of extra tax
OverTaxPerc DECIMAL 16,4 NO applied.
24
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
25
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
26
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
27
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
28
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
29
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
30
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
31
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
32
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
33
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
34
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
35
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
36
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
37
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
38
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
DocCoupon list
The DocCoupon list file contains information related to the coupon used on the documents.
Data
Attribute Size ID Required Description
Type
DocSid INTEGER 19 YES Document Sid.
InOrOut INTEGER 1 NO 1 = In; 0 = Out; Default: 1
CouponCode STRING 75 YES Coupon code.
Applied BOOLEAN NO Applied
PromoSid INTEGER 19 NO Reference to the promotion Sid.
PromoName STRING 50 NO Promotion Name.
Coupon type
0 = Normal coupon
PromoCouponType INTEGER 1 NO 1 = Serialized coupon
PromoCouponSetID INTEGER 10 NO Serilized coupon set id.
39
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
DocDeposit list
The DocDeposit list contains information related to the deposit on sales orders.
Attribute Data Type Size ID Required Description
CreatedDatetime DATETIME YES Created date time.
PostDate DATETIME NO Postdate.
The document the deposit was
OrigDocSid INTEGER 19 YES added.
The document the deposit or
InvoiceDocSid INTEGER 19 YES part of the deposit was used
UsedDepositAmnt DECIMAL 16,4 NO The amount of the deposit used
Flags that this is a document that
affects the deposit balance (if =
1) and not the document that
DocDepositFlag BOOLEAN YES simply affects so items (if = 0)
Flags that the deposit amount on
the document was increased (if
DocDepositTaken BOOLEAN YES = 1) or decreased (if = 0).
UsedSubtotal DECIMAL 16,4 NO Stores the used subtotal amount
UsedTaxAmt DECIMAL 17,5 NO Stores used tax amount
UsedDiscAmt DECIMAL 16,4 NO Stores used discount amount
Stores used transfer discount
UsedTransDiscAmt DECIMAL 16,4 NO amount
UsedFeeAmt DECIMAL 16,4 NO Stores used fee amount.
UsedFeeTaxAmt DECIMAL 16,4 NO Stores used fee tax amount.
Stores used shipping fee
UsedShippingAmt DECIMAL 16,4 NO amount.
Stores used shipping tax
UsedShippingTaxAmt DECIMAL 16,4 NO amount.
TakenDepositAmt DECIMAL 16,4 NO Taken deposit amount.
40
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
DocDiscount list
The DocDiscount list contains information related to the discount on the document level.
Data
Attribute Size ID Required Description
Type
DocSid INTEGER 19 YES YES Reference to document Sid.
0-anypos,
1-Sale,
2-Order,
DiscCategory INTEGER 4 YES YES 3-Other
30-manual,
DiscSource INTEGER 4 YES YES 40-promotion
DiscPos INTEGER 4 YES YES Position among similar discounts
0-Price,
1-discperc,
2-discamt,
DiscType INTEGER 4 YES 3-forceprice
DiscValue DECIMAL 16,4 YES Discount value.
DiscReason STRING 80 NO Discount reason.
PrevSubtotalWDisc DECIMAL 16,4 YES Previous subtotal with discount.
NewSubtotalWDisc DECIMAL 16,4 NO New subtotal with discount.
NewDiscAmt DECIMAL 16,4 NO New discount amount.
NewDiscPerc DECIMAL 16,4 NO New discount percentage.
Uncapped value entered
DiscOrigValue DECIMAL 16,4 YES originally.
DiscPromoName STRING 50 NO Discount promo name.
DiscPromoGroup STRING 50 NO Discount promo group.
41
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
DocExtended list
The DocExtended list contains information related to the additional user define values on a document.
Attribute Data Type Size ID Required Description
DocSid INTEGER 19 YES YES Reference to document record
Udf6String STRING 50 NO User defined value
Udf7String STRING 50 NO User defined value
Udf8String STRING 50 NO User defined value
Udf9String STRING 50 NO User defined value
Udf10String STRING 50 NO User defined value
Udf6Float DECIMAL 16,4 NO User defined numeric value
Udf7Float DECIMAL 16,4 NO User defined numeric value
Udf8Float DECIMAL 16,4 NO User defined numeric value
Udf9Float DECIMAL 16,4 NO User defined numeric value
Udf10Float DECIMAL 16,4 NO User defined numeric value
Udf4Date DATETIME NO User defined date value
Udf5Date DATETIME NO User defined date value
Udf6Date DATETIME NO User defined date value
Udf2Clob STRING 50 NO User defined clob value
Note1 STRING 350 NO Note1
Note2 STRING 350 NO Note2
Note3 STRING 350 NO Note3
[Link]
The DocItem list contains information related to the items on the document.
Attribute Data Type Len. ID Req. Description
DocSid INTEGER 19 YES DocSid
ItemPos INTEGER 4 YES YES ItemPos
References to INVN_SBS_ITEM
InvnSbsItemSid INTEGER 19 YES table SID
DetaxFlag BOOLEAN YES DetaxFlag
The commit state of central
returns:0=NotCommunicated, 1-
RegisteredWithCentrals,
2=CommitedWhenDocFinalized,
3=CommitedByResiliency,
KitFlag INTEGER 1 YES 4=AReplicatedCopy
PromotionFlag BOOLEAN YES PromotionFlag
GiftAddValue BOOLEAN YES GiftAddValue
Archived INTEGER 1 YES Archived
StPrimary BOOLEAN YES StPrimary
StoreNo INTEGER 4 YES StoreNo
CommCode INTEGER 4 NO CommCode
StPriceLvl INTEGER 4 NO StPriceLvl
Qty DECIMAL 10,3 NO Qty
OrigPrice DECIMAL 16,4 NO OrigPrice
OrigTaxAmt DECIMAL 16,4 NO OrigTaxAmt
42
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
43
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
44
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
45
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
46
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
47
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
48
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
49
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
50
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
51
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
DocItemDiscount list
The DocItemDiscount list contains information related to the discounts on the item level.
Data
Attribute Size ID Required Description
Type
DocItemSid INTEGER 19 YES YES Reference to document item
SpreadDocDiscSid INTEGER 19 NO Ref to spread GD
0 - native item discount
Spread INTEGER 1 YES 1 - from GD.
0-pl,
10-qty pricing,
20-customer,
30-manual,
40-promotion,
DiscSource INTEGER 4 YES 50-package
DiscPos INTEGER 4 YES YES Position among similar discounts.
0 - price.
1 - disc perc.
2 - disc amt.
DiscType INTEGER 4 YES 3 - force price
DiscValue DECIMAL 16,4 YES Discount value.
0 - not locked,
1 - locked for fulfilling item, 2 -
LockType INTEGER 4 YES locked for return item
DiscReason STRING 80 NO Discount reason.
PrevPrice DECIMAL 16,4 YES Previous price.
NewPrice DECIMAL 16,4 NO New price.
NewDiscAmt DECIMAL 16,4 NO New unit discount.
NewDiscPerc DECIMAL 16,4 NO New discount percentage.
NewTaxPerc DECIMAL 16,4 NO New tax percentage.
Uncapped value entered
DiscOrigValue DECIMAL 16,4 YES originally.
DiscPromoName STRING 50 NO Discount promo name.
DiscPromoGroup STRING 50 NO Discount promo group.
52
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
DocTender list
The DocTender list contains information related to the tenders on the document.
Data
Attribute Size ID Required Description
Type
DocSid INTEGER 19 YES YES Reference to document record
Type of tender, as defined in v9.
0-Cash,
1-Check,
2-creditcard,
3-COD,
4-Charge,
5-storecredit,
6-Split,
7-Deposit,
8-Payments,
9-giftcertificate,
10-giftcard,
11-debitcard,
12-foreigncurrency,
13-travelercheck,
14-foreigncheck,
15-centralgiftcard,
TenderType INTEGER 2 YES YES 16-centralgiftcertific
TenderPos INTEGER 4 YES YES Position within this tender type.
Amount of this tender. Must be
Amount DECIMAL 16,4 YES difference of taken and given
Taken DECIMAL 16,4 YES Amount taken from customer.
Amount given back to customer
Given DECIMAL 16,4 YES as change.
Used by the xzout application to
mark an invoice tender record as
being matched to tender in the
workstation/drawer being
Matched BOOLEAN YES counted.
Contains the current state of
each tender in relation to eft
resiliency. It will be populated
with one of the following
values.0 = tender processed
online normal1 = manual offline
pending processing2 = auto
offline pending processing3 =
EftResTenderState INTEGER 4 NO performing process
Can be used to store
ManualName STRING 80 NO customization text
Override comment. Also used to
ManualRemark STRING 40 NO store customization free text.
53
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
TenderCentralGiftCard list
The TenderCentralGisftCard list contains information related to the central gift cards used to tender a
document.
Data
Attribute Size ID Required Description
Type
TenderSid INTEGER 19 YES YES Tender Sid
CentralPaymentId STRING 30 NO Central transaction ID
CentralActivationId STRING 30 NO Central Card Activation ID
The identifying portion of the
CentralCardNumber STRING 30 NO card for reference
CentralCreditBalance DECIMAL 16,4 NO New Card Balance
Used to indicate that the
transaction was performed
offline and that it will need to be
committed after it is transmitted.
0= false,
CentralCommitState INTEGER 1 NO anything else is true
54
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
TenderCentralStoreCredit list
The TenderCentralStoreCredit list contains information related to the central store credits used to tender a
document.
Data
Attribute Size ID Required Description
Type
TenderSid INTEGER 19 YES YES Tender Sid
CentralPaymentId STRING 30 NO Central transaction ID
CentralCreditBalance DECIMAL 16,4 NO Store Credit balance remaining
Used to indicate that the
transaction was performed
offline and that it will need to be
committed after it is transmitted.
0= false,
CentralCommitState INTEGER 1 NO Anything else is true
RedeemCreditId STRING 30 NO Id of credit redeemed by id
Id of credit created in during this
NewCreditId STRING 30 NO operation
Value of credit created in during
NewCreditValue DECIMAL 16,4 NO this operation
TenderCharge list
The TenderCharge list contains information related to charges used to tender a document.
Data
Attribute Size ID Required Description
Type
TenderSid INTEGER 19 YES YES Reference to tender record
ChargeNetDays INTEGER 9 NO Terms of charge, net days
ChargeDiscDays INTEGER 9 NO Terms of charge, discount days
Terms of charge, amount
discounted if paid before end of
ChargeDiscPerc DECIMAL 16,4 NO discount days.
55
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
TenderCheck list
The TenderCheck list contains information related to the checks used to tender a document.
Attribute Data Type Size ID Required Description
Reference to document tender
TenderSid INTEGER 19 YES YES record
0 = personal,
CheckType INTEGER 1 NO 1 = commercial
CheckNo STRING 10 NO Check number
If a business check, then the
Company STRING 25 NO company name is placed here
FirstName STRING 30 NO First name as it appears on check
LastName STRING 30 NO Last name as it appears on check
WorkPhone STRING 30 NO Customer work phone
HomePhone STRING 30 NO Customer home phone
State STRING 5 NO State of issue
Customer Driver License
DriversLicense STRING 30 NO number.
Expiration of customer? Driver?
DriversLicenseExpiration DATETIME NO License
DateOfBirth DATETIME NO Customer Date of birth
For eft tenders, this is the
authorization value returned by
the eft processor for successful
authorizations. Included here
AuthCode STRING 20 NO for lookup purposes.
The record id returned from gate
EftTransactionId STRING 32 NO for eft transaction.
AVS response code from
AvsResponseCode STRING 4 NO processor.
Error message returned for
FailureMessage STRING 64 NO failed transactions.
Additional data that is needed
Eftdata1 STRING 32 NO for printing on the invoice
Additional data that is needed
Eftdata2 STRING 32 NO for printing on the invoice.
Additional data that is needed
Eftdata3 STRING 32 NO for printing on the invoice.
Additional data that is needed
Eftdata4 STRING 32 NO for printing on the invoice.
Additional data that is needed
Eftdata5 STRING 32 NO for printing on the invoice.
Additional data that is needed
Eftdata6 STRING 32 NO for printing on the invoice.
Additional data that is needed
Eftdata7 STRING 32 NO for printing on the invoice.
Additional data that is needed
Eftdata8 STRING 32 NO for printing on the invoice
56
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
TenderCreditCard list
The TenderCreditCard list contains information related to the credit cards used to tender a document.
Data
Attribute Size ID Required Description
Type
Reference to document tender
TenderSid INTEGER 19 YES YES record
CardNo STRING 30 NO Credit card number
Reference to credit_card_type
CardTypeSid INTEGER 19 NO record
CardHolderName STRING 32 NO Name on credit card
CardExpMonth INTEGER 4 NO Month portion of expiration date.
CardExpYear INTEGER 9 NO Year portion of expiration date
Indicates this is a normal sale.
This value can be altered by plug-
ins to reflect exceptions in
IsNormalSale BOOLEAN YES processing tenders.
57
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
58
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
59
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
[Link]
The TenderDebitCard list contains information related to the debit cards used to tender a document.
Data
Attribute Size ID Required Description
Type
Reference to document tender
TenderSid INTEGER 19 YES YES record
CardNo STRING 30 NO Debit card number
Was the card present or was the
number communicated without
IsCardPresent BOOLEAN YES the card?
For eft tenders, this is the
authorization value returned by
the eft processor for successful
authorizations. Included here for
AuthCode STRING 20 NO lookup purposes.
The record id returned from gate
EftTransactionId STRING 32 NO for eft transaction.
Avs response code from
AvsResponseCode STRING 4 NO processor
Result code for commercial card
L2ResultCode STRING 1 NO processing
Error message returned for failed
FailureMessage STRING 64 NO transactions.
Additional data that is needed for
Eftdata1 STRING 32 NO printing on the invoice
Additional data that is needed for
Eftdata2 STRING 32 NO printing on the invoice
Additional data that is needed for
Eftdata3 STRING 32 NO printing on the invoice
Additional data that is needed for
Eftdata4 STRING 32 NO printing on the invoice
Additional data that is needed for
Eftdata5 STRING 32 NO printing on the invoice
Additional data that is needed for
Eftdata6 STRING 32 NO printing on the invoice
Additional data that is needed for
Eftdata7 STRING 32 NO printing on the invoice
Additional data that is needed for
Eftdata8 STRING 32 NO printing on the invoice
Additional data that is needed for
Eftdata9 STRING 32 NO printing on the invoice
Additional data that is needed for
Eftdata0 STRING 2001 NO printing on the invoice
The method the user wishes to
run the card in, 0-EFT Device,1-
EntryMethod INTEGER 0 NO Inline MSR,2-Keyed Entry
60
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
61
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
[Link]
The TenderForeingCheck list contains information related to the foreign checks used to tender a document.
Data
Attribute Size ID Required Description
Type
Reference to document tender
TenderSid INTEGER 19 YES YES record
ForeignCurrencySid INTEGER 19 NO Reference to currency record
BaseTaken DECIMAL 16,4 NO Taken in base currency
BaseGiven DECIMAL 16,4 NO Given in base currency
CheckNo STRING 30 NO Foreign check number
AuthCode STRING 20 NO Processor authorization code
Foreign currency taken exchange
TakeRate DECIMAL 20,8 NO rate
Foreign currency given exchange
GiveRate DECIMAL 20,8 NO rate
3 letter alphabetic currency code
CurrencyAlphaCode STRING 3 NO as defined by ISO 4217
CurrencyDictName STRING 30 NO Currency name.
62
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
"takenamt": 11,
"storecode": "ORD",
"origstoreno": 1,
"origstorecode": "ORD",
"taxareaname": "ILLINOIS",
"taxarea2name": null,
"discountreasonname": null,
"disbursementreasonname": null,
"workstationno": 0,
"cashierloginname": "sysadmin",
"cashierfullname": "Sysadmin Sysadmin",
"employee1loginname": "sysadmin",
"employee1fullname": "Sysadmin Sysadmin",
"btid": 100000002,
"stdetaxflag": false,
"tendername": "Cash",
"pricelvl": 1,
"pricelvlname": "Retail",
"ordertotaltaxamt": 0,
"transactiontotaltaxamt": 0.62,
"saletax1amt": 0.62,
"ordertax1amt": 0,
"transactiontax1amt": 0.62,
"ordertotalamt": 0,
"transactiontotalamt": 10.61,
"ordersubtotal": 0,
"salesubtotalwithtax": 10.6144,
"ordersubtotalwithtax": 0,
"transactionsubtotalwithtax": 10.6144,
"totallineitem": 1,
"totalitemcount": 1,
"transactionsubtotal": 9.99,
"givenamt": 0.39,
"shippingtaxincluded": false,
"workstationuid": "557344984000138001",
"workstationname": "ad-vmw10hq_8080",
"taxareaperc": 6.25,
"taxarea2perc": 0,
"cashiersid": "557343002000164260",
"employee1sid": "557343002000164260",
"exchangeqty": 0,
"discounttype": 0,
"orderdiscperc": 0,
"orderdiscamt": 0,
"orderdiscounttype": 0,
"socancelflag": false,
"orderfeetaxincluded1": false,
"ordershippingtaxincluded": false,
63
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
"orderchangedflag": false,
"promogdmandisc": false,
"receipttype": 0,
"ordertype": null,
"hassale": true,
"hasreturn": false,
"hasdeposit": false,
"ssfulfillment": false,
"detaxamt": 0,
"taxrebatepersisted": 0,
"returnsubtotal": 0,
"returnsubtotalwithtax": 0,
"returntax1amt": 0,
"returntotaltaxamt": 0,
"docitem": [{
"itempos": 1,
"invnsbsitemsid": "578537713000162456",
"detaxflag": false,
"kitflag": 0,
"promotionflag": false,
"giftaddvalue": false,
"archived": 0,
"stprimary": false,
"storeno": 1,
"qty": 1,
"origprice": 9.99,
"origtaxamt": 0.6244,
"price": 9.99,
"taxperc": 6.25,
"taxamt": 0.62438,
"tax2perc": 0,
"tax2amt": 0,
"cost": 3.99,
"spif": 0,
"scanupc": "2669",
"activityperc": 100,
"itemorigin": 0,
"origcost": 3.99,
"udf2float": 0,
"udf3float": 0,
"discperc": 0,
"discamt": 0,
"itemtype": 1,
"dcscode": "MENTE1TE1",
"vendcode": "ADA",
"description1": "Item 09",
"attribute": "BLUE",
"itemsize": null,
64
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
"alu": "000078",
"taxcode": "0",
"employee1loginname": "sysadmin",
"employee1fullname": "Sysadmin Sysadmin",
"stdetaxflag": false,
"shipamt": 0,
"pricelvl": 1,
"pricelvlname": "Retail",
"inventoryohqty": 15,
"sbsno": 1,
"pricelvlsid": "557343042000115499",
"orderquantityfilled": 0,
"giftquantity": 0,
"sodepositamt": 0,
"taxareaname": "ILLINOIS",
"serialtype": 0,
"lottype": 0,
"sendsaleflag": false,
"fulfillstoreno": 1,
"fulfillstoresid": "557343002000166261",
"fulfillsbsno": 1,
"socancelflag": false,
"employee1sid": "557343002000164260",
"dipprice": 9.99,
"dipdiscamt": 0,
"diptaxamt": 0.62438,
"diptax2amt": 0,
"itemstatus": 0,
"enhanceditempos": 10000,
"iscompetingcomponent": false,
"promomandisc": false,
"taxperclock": false,
"invnuseqtydecimals": 0,
"taxcoderulesid": "557572206220081001",
"ltyorigpointsearned": 0,
"ltyorigpriceinpoints": 0,
"promogiftitem": 0,
"employee1id": 1,
"invnsbsitemuid": "578537446000139454",
"internalitempos": 1
}],
"doctender": [{
"tendertype": 0,
"tenderpos": 1,
"amount": 11,
"taken": 11,
"given": 0,
"matched": false,
65
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
"currencysid": "557343036000118670",
"currencyname": "DOLLARS",
"tendername": "Cash",
"currencyalphacode": "USD",
"currencydictname": "DOLLARS"
}, {
"tendertype": 0,
"tenderpos": 2,
"amount": -0.39,
"taken": 0,
"given": 0.39,
"matched": false,
"eftrestenderstate": null,
"manualname": null,
"manualremark": null,
"currencysid": "557343036000118670",
"currencyname": "DOLLARS",
"tendername": "Cash",
"currencyalphacode": "USD",
"currencydictname": "DOLLARS"
}],
"shippingfeetype": 9,
"employee1id": 1,
"cashierid": 1,
"controllerno": 1,
"cashiername": "SYSADMIN",
"cashierorigsbsno": 1,
"employee1name": "SYSADMIN",
"employee1origsbsno": 1,
"origintimezone": "-08:00"
}
66
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
Inventory
The Inventory JSON contains information about items, including price, cost, quantity and
descriptive information.
Added to this document: 1.14.7
67
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
68
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
0-noentry,
1-Kit,
2-Package,
3-GiftcardStoredValue,
4-GiftcardPrepaid,
5-GiftCertificate,
6-Fee,
KitType INTEGER 1 NO 7-GiftcardCentral
ScaleSid INTEGER 19 NO Reference to the Scale sid.
PromoQtyDiscWeight FLOAT 10,3 NO Promotions: qty disc weight.
PromoInvenExclude BOOLEAN NO Promotions: Excluding item flag.
NonInventory BOOLEAN NO Noninventory flag.
NonCommitted BOOLEAN NO Noncommitted flag.
Item State:
0=normal,
ItemState INTEGER 5 NO 1=proposed item
Publish State:
0=published,
PublishStatus INTEGER 1 NO 1=WIP
Cost of item in Customer Loyalty
LtyPriceInPoints FLOAT 24,8 NO points.
Customer Loyalty points earned
LtyPointsEarned FLOAT 24,8 NO on purchase.
MinOrdQty FLOAT 10,3 NO Minimum order quantity.
Cost for order item using trade
VendorlistCost FLOAT 16,4 NO discount.
Disc percent for an item when
TradeDiscPercent FLOAT 16,4 NO ordering using trade discount.
Indicate whether tax should be
calculated based on original price
or discounted price. 0 or null =
Calculate taxes based on current
line-item price, 1=Calculate taxes
ForceOrigTax BOOLEAN NO based on non-discounted price.
InvnQuantity LIST NO Invnquantity list
InvnPrice LIST NO Invnprice list
InvnMedia LIST NO Invnmedia list
InvnVendor LIST NO Invnvendor list
InvnKit LIST NO Invnkit list
InvnLty LIST NO Invnlty list
InvnExtend LIST NO Invnextend list
TaxCode STRING 5 NO Tax code.
DcsCode STRING 9 YES Dcs code.
Uniquely identifying subsidiary
SbsNo INTEGER 4 YES NO number.
User defined name for the
SbsName STRING 15 NO subsidiary.
69
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
70
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
InvnPrice list
The InvnPrice list contains information about items price.
Data
Attribute Size ID Required Description
Type
InvnItemUid INTEGER 19 YES YES Inventory item unique ID.
SbsSid INTEGER 19 NO Reference to subsidiary.
SeasonSid INTEGER 19 NO Reference to season.
PriceLvlSid INTEGER 19 NO Reference to Price_level.
Price DECIMAL 16,4 YES Item price.
Quantity required to qualify for
QtyRequired DECIMAL 10,3 NO this price level.
InvnSbsItemSid INTEGER 19 NO Foreign key to invn_sbs_item.
Uniquely identifying subsidiary
SbsNo INTEGER 4 YES YES number
PriceLvl INTEGER 5 YES YES Price level number.
SeasonCode STRING 5 YES YES Season code.
PriceLvlName STRING 6 NO Price level name.
SeasonName STRING 30 NO Season name.
71
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
InvnQuantity list
The InvnQuantity list contains information about items quantities.
Attribute Data Type Size ID Required Description
SbsSid INTEGER 19 NO Reference to subsidiary.
StoreSid INTEGER 19 NO Reference to store.
Qty DECIMAL 10,3 YES Quantity.
MinQty DECIMAL 10,3 NO Minimum quantity
MaxQty DECIMAL 10,3 NO Maximum quantity
NewMinQty DECIMAL 10,3 NO New minimum quantity.
NewMaxQty DECIMAL 10,3 NO New maximum quantity.
TransferInQty DECIMAL 10,3 NO Transfer in quantity.
TransferOutQty DECIMAL 10,3 NO Transfer out quantity.
MinmaxBeginDate DATETIME NO Min/max begin date.
MinmaxEndDate DATETIME NO Min/max end date.
Used to record the sold quantity
SoldQty DECIMAL 10,3 NO of an item.
Used to record the received
RcvdQty DECIMAL 10,3 NO quantity of an item.
Used to record the on-order
OnOrderedQty DECIMAL 10,3 NO quantity of an item.
Committed: planned transfer
order to move item qty into
inventory from another
inventory. updated when
ToInOrderedQty DECIMAL 10,3 NO transfer order is updated.
Committed: item qty transferred
into inventory from another
inventory. updated when
ToInSentQty DECIMAL 10,3 NO transfer order is updated.
Committed: planned transfer
order to move item qty out of
inventory into another inventory.
updated when transfer order is
ToOutOrderedQty DECIMAL 10,3 NO updated.
Committed: item qty transferred
out of inventory into another
inventory. updated when
ToOutSentQty DECIMAL 10,3 NO transfer order is updated.
Committed: item qty on order
from vendor. updated when
PoOrderedQty DECIMAL 10,3 NO purchase order is updated.
Committed: item qty received to
date from vendor. updated when
PoRcvdQty DECIMAL 10,3 NO purchase order is updated.
Committed: item qty on order for
a customer. updated when sales
SoOrderedQty DECIMAL 10,3 NO order is updated.
72
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
73
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
Purchase Order
The Purchase Order JSON includes information related to purchase orders.
Added to this document: 1.14.7
74
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
75
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
76
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
77
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
POItem list
Data
Attribute Size ID Required Description
Type
PoSid INTEGER 19 YES NO PO unique identifiying value.
ItemPos INTEGER 4 YES YES Item position number.
ItemSid INTEGER 19 YES NO Item unique identifiying value.
Price DECIMAL 16,4 NO Item price.
Cost DECIMAL 16,4 NO Item cost.
FcCost DECIMAL 16,4 NO Foreign currency cost.
CurrencySid INTEGER 19 NO Currency Sid.
TaxPerc DECIMAL 16,4 NO Tax percentage.
TaxArea2Sid INTEGER 19 NO Tax area2 Sid.
TaxCodeSid INTEGER 19 NO Tax Code Sid.
TaxCode2Sid INTEGER 19 NO Tax Code2 Sid.
TaxPerc2 DECIMAL 16,4 NO Tax Percentage 2.
TaxAmount DECIMAL 17,5 NO Tax Amount
SrcSbsNo INTEGER 4 NO Source subsidary number.
UdfValue1 STRING 50 NO Udf Value1
UdfValue2 STRING 50 NO Udf Value2
UdfValue3 STRING 50 NO Udf Value3
UdfValue4 STRING 50 NO Udf Value4
ItemNote1 STRING 350 NO Item Note1
ItemNote2 STRING 350 NO Item Note2
ItemNote3 STRING 350 NO Item Note3
ItemNote4 STRING 350 NO Item Note4
ItemNote5 STRING 350 NO Item Note5
ItemNote6 STRING 350 NO Item Note6
ItemNote7 STRING 350 NO Item Note7
ItemNote8 STRING 350 NO Item Note8
ItemNote9 STRING 350 NO Item Note9
78
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
79
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
POQuantity list
Data
Attribute Size ID Required Description
Type
PoItemSid INTEGER 19 YES NO PO unique identifiying value.
SbsSid INTEGER 19 YES NO Reference to subsidiary.
StoreSid INTEGER 19 YES NO Reference to Store.
OrdQty DECIMAL 10,3 NO Ordered Quantity
RcvdQty DECIMAL 10,3 NO Received Quantity.
Archived INTEGER 4 NO Archived
StoreMinQty DECIMAL 10,3 NO Store minimum quantity.
StoreMaxQty DECIMAL 10,3 NO Store maximum quantity.
DueQty DECIMAL 10,3 NO Due quantity.
Uniquely identifying subsidiary
SbsNo INTEGER 4 YES number
StoreNo INTEGER 4 YES Store Number.
StoreCode STRING 5 NO Store Code.
StoreName STRING 40 NO Store Name.
InvnItemSid INTEGER 19 NO Reference to Item Sid.
POFee list
Data
Attribute Size ID Required Description
Type
PoSid INTEGER 19 YES NO PO unique identifiying value.
Amt DECIMAL 16,4 YES Fee amount.
Points to the corresponding
PurchFeeTypeSid INTEGER 19 NO purch_fee_type record.
FeeType INTEGER 4 YES Fee Type Number.
FeeName STRING 6 NO Fee Name.
POTerm list
Attribute Data Type Size ID Required Description
PoSid INTTEGER 19 YES NO PO unique identifiying value.
0-term_days, 1-term_cod, 2-
term_credit, 3-term_replace, 4-
term_prepaid, 5-term_due, 6-
TermType INTEGER 4 YES YES term_pays, 7-term_eom
TermNo INTEGER 4 YES YES Term Number.
Days INTEGER 9 NO Days
DiscPerc DECIMAL 16,4 NO Discount Percentage.
TermDate DATETIME NO Term Date.
Archived INTEGER 1 NO Archived
POApproval list
Attribute Data Type Size ID Required Description
80
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
81
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
82
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
}],
"pofee": [{
"amt": 0,
"feetype": 9,
"feename": "Shipng"
}],
"taxarea": "ILLINOIS",
"sbsno": 1,
"storeno": 1,
"billtostoreno": 1,
"vendorcode": "ADA",
"shiptostoreno": 1,
"clerk": 1,
"seasoncode": "None",
"reasontype": 3,
"clerkname": "SYSADMIN",
"clerkorigsbsno": 1,
"markedforstorecode": null
}
83
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
Receiving (voucher)
The Receiving JSON contains information about the vouchers and descriptive information.
Added to this document: 1.14.7
84
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
85
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
86
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
87
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
88
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
RecvApproval list
The RecvApproval list contains information about approvals on the voucher.
Attribute Data Type Size ID Required Description
Voucher unique identifiying
VouSid INTEGER 19 YES NO value.
ApprovLevel INTEGER 4 YES YES Approve Level.
ApprovbyId INTEGER 19 NO Approved by ID.
ApprovDate DATETIME NO Approved Date.
ApprovNotes STRING 255 NO Approved Notes.
ApprovStatus INTEGER 4 NO Approved Status.
Archived INTEGER 4 NO Archived
ApprovbySid INTEGER 19 NO Approved By Sid.
ApprovedByEmplName STRING 8 NO Aproved by employee code.
ApprovedByOrigSbsNo INTEGER 4 NO Original subsidiary number.
RecvComment list
The RecvComment list contains information about comments on the voucher.
Data
Attribute Size ID Required Description
Type
Voucher unique identifiying
VouSid INTEGER 19 YES NO value.
CommentNo INTEGER 4 YES YES Comment Number.
Comments STRING 60 NO Comments
89
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
RecvTerm list
The RecvTerm list contains information about terms on the voucher.
Attribute Data Type Size ID Required Description
Voucher unique identifiying
VouSid INTEGER 19 YES NO value.
0-term_days,
1-term_cod,
2-term_credit,
3-term_replace,
4-term_prepaid,
5-term_due,
6-term_pays,
TermType INTEGER 4 YES YES 7-term_eom
TermNo INTEGER 4 YES YES Term number.
Days INTEGER 9 NO Days
DiscPmtPerc DECIMAL 16,4 NO Discount Percentage
TermDate DATETIME NO Term Date
Amt DECIMAL 16,4 NO Amount
Archived INTEGER 1 NO Archived
RecvItem list
The RecvItem list contains information about items on the voucher.
90
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
91
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
RecvPackage list
The RecvPackage list contains information about packages on the voucher.
Data
Attribute Size ID Required Description
Type
VouSid INTEGER 19 YES NO Voucher unique identifying value.
PkgNo STRING 20 YES YES Package number.
Received BOOLEAN YES Received.
AsnNo INTEGER 10 NO ASN number.
VouClass INTEGER 4 NO Voucher class.
VouHeld BOOLEAN NO Voucher held.
VouStatus INTEGER 1 NO Voucher status.
VouActive BOOLEAN NO Voucher active.
92
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
93
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
Vendor
The Vendor JSON contains information about vendor records.
Added to this document: 1.14.7
94
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
VendorAddress list
Data
Attribute Name Type Size ID Required Comment
VendSid INTEGER 19 YES YES Pointer to vendor record.
YES if this is the vendor? primary
PrimaryFlag BOOLEAN YES YES address
YES if this contact is currently in
Active BOOLEAN YES use
CompanyName STRING 100 NO Optional company name.
Address1 STRING 40 NO First address line
Address2 STRING 40 NO Second address line
Address3 STRING 40 NO Third address line
Address4 STRING 40 NO Extended address detail
Address5 STRING 40 NO Extended address detail
Address6 STRING 40 NO Extended address detail
City STRING 40 NO City
State STRING 40 NO State
PostalCode STRING 10 NO Postal code/zip code
PostalCodeExtension STRING 5 NO Postal code extension (eg. zip+4)
CountrySid INTEGER 19 NO Reference to country record
SeqNo INTEGER 4 YES Sequence number.
AddressTypeSid INTEGER 19 NO Address Type Sid
CountryCode STRING 3 NO Country code
Address type name, eg. home2,
AddressTypeName STRING 30 NO work1 etc.
95
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
VendorContact list
Data
Attribute Name Type Size ID Required Comment
VendSid DECIMAL 19 YES NO Vendor unique identifier.
FirstName STRING 30 NO First Name
LastName STRING 30 NO Last Name
TitleSid DECIMAL 19 NO Reference Title Sid
ContactTypeSid DECIMAL 19 NO Contact Type Sid
PrimaryFlag BOOLEAN NO Primary Flag
EmailTypeSid DECIMAL 19 NO Email Type Sid
EmailAddress STRING 100 NO Email Address
Phone1TypeSid DECIMAL 19 NO Refence Phone1 Type Sid
Phone1No STRING 30 NO Phone1 Number
Phone2TypeSid DECIMAL 19 NO Reference Phone2 Type Sid
Phone2No STRING 30 NO Phone2 Number
Active BOOLEAN NO Active
SeqNo DECIMAL 4 YES YES Sequence Number
Person title, eg. mr., mrs., dr.,
Title STRING 15 NO etc.
Phone type name, eg. home2,
PhoneType1 STRING 20 NO work1, cell, etc.
Phone type name, eg. home2,
PhoneType2 STRING 20 NO work1, cell, etc.
Email type such as home,
EMailType STRING 20 NO business, other.
Helps in identifying a title entry in
V9. Used in prism to identify
TitleId DECIMAL 10 NO modifications
96
Proprietary and Confidential property of Retail Pro International, LLC
Retail Pro - Prism JSON Data Objects
1. Check the rps.consumer_cache table to make sure the record isn’t just sitting there.
If it is still in the cache, try restarting the prism MQ service.
2. Check the rps.consumer_cache_error table to see if it had errors.
3. Set Prism services (PrismMQ, BackOffice, and Common) logging to log level=3.
4. Set Log BUFFERSIZE=0.
E.g.
Review the Prism User guide for how to set the log levels for your version of Prism.
97
Proprietary and Confidential property of Retail Pro International, LLC