biuan SAP® BUSINESS ONE SDK
API AQR1
AQR1 - Inventory Posting - Rows Table

SBO SQL database table details

FieldDescriptionTypeConstraintsSizeRelatedDefaultPrimary_KeyUnique
DocEntry KEY UNIQUEDocument Internal IDInt
11
PRIMARYYes
DocLineNumRow Number in DocumentInt
11
ItemCode KEYItem No.nVarChar
20OITM
Items
ITEM_CODENo
ItemNameItem DescriptionnVarChar
100
InvntryUomInventory UoMnVarChar
100
OnHandBefQuantity Stored in WarehouseNum
20
PricePriceNum
20
QuantityQuantity - DeltaNum
20
CurrencyPrice CurrencynVarChar
3
RateCurrency PriceNum
20
IOffIncAccInventory Offset Increase AcctnVarChar
15OACT
G/L Accounts
DOffDecAccInventory Offset Decrease AcctnVarChar
15OACT
G/L Accounts
OcrCodeDistribution RulenVarChar
8OOCR
Distribution Rule
WhsCodeWarehouse CodenVarChar
8OWHS
Warehouses
DocTotalDocument TotalNum
20
DocTotalFCDocument Total (FC)Num
20
DocTotalSyDocument Total (SC)Num
20
OcrCode2Distribution Rule 2nVarChar
8OOCR
Distribution Rule
OcrCode3Distribution Rule 3nVarChar
8OOCR
Distribution Rule
OcrCode4Distribution Rule 4nVarChar
8OOCR
Distribution Rule
OcrCode5Distribution Rule 5nVarChar
8OOCR
Distribution Rule
ObjTypeObject TypenVarChar
20
10000071
ProjectProject CodenVarChar
20OPRJ
Project Codes
BarCodeBar CodenVarChar
127
InvUoMInventory UoMVarChar
Y) Yes
N) No
1
Y
BinEntryBin Location EntryInt
11OBIN
Bin Location
FirmCodeManufacturerInt
6OMRC
Manufacturers
SuppCatNumMfr Catalog No.nVarChar
17
CardCodePreferred VendornVarChar
15OCRD
Business Partner
CountDateCount DateDate
8
CountTimeCount TimeInt
11
DiffPercntPercentage DifferenceNum
20
BaseRefBase Document ReferencenVarChar
16
BaseTypeBase Document TypeInt
-1)
1470000065) Inventory Counting
11
1470000065
BaseEntryBase Document Internal IDInt
11
BaseLineBase RowInt
11
CountQtyCounted QuantityNum
20
RemarkRemarksnVarChar
127
LogInstancLog Instance - HistoryInt
11
CpyCountCopied CountInt
0
1) Inventory Taker One
2) Two Takers - Taker 1
3) Two Takers - Taker 2
4) Two Takers - Items with Zero Difference
11
0
BinNegQtyAllow Bin Negative QuantityVarChar
Y) Yes
N) No
1
N
VisOrderVisual OrderInt
11
UgpEntryUoM Group EntryInt
11OUGP
UoM Group
IUomEntryInventory UoM EntrynVarChar
20OUOM
UoM Master Data
UomCodeUoM Code for DInVarChar
20
ItmsPerUntItems per Unit for DINum
20
UomQtyUoM Counted Qty for DINum
20
ActPriceActual PriceNum
20
PostValueLPosted Value LCNum
20
PostValueSPosted Value SCNum
20

Table relationship map

SELECT statement

SELECT AQR1.DocEntry AS 'Document Internal ID', AQR1.DocLineNum AS 'Row Number in Document', AQR1.ItemCode AS 'Item No.', AQR1.ItemName AS 'Item Description', AQR1.InvntryUom AS 'Inventory UoM', AQR1.OnHandBef AS 'Quantity Stored in Warehouse', AQR1.Price AS 'Price', AQR1.Quantity AS 'Quantity - Delta', AQR1.Currency AS 'Price Currency', AQR1.Rate AS 'Currency Price', AQR1.IOffIncAcc AS 'Inventory Offset Increase Acct', AQR1.DOffDecAcc AS 'Inventory Offset Decrease Acct', AQR1.OcrCode AS 'Distribution Rule', AQR1.WhsCode AS 'Warehouse Code', AQR1.DocTotal AS 'Document Total', AQR1.DocTotalFC AS 'Document Total (FC)', AQR1.DocTotalSy AS 'Document Total (SC)', AQR1.OcrCode2 AS 'Distribution Rule 2', AQR1.OcrCode3 AS 'Distribution Rule 3', AQR1.OcrCode4 AS 'Distribution Rule 4', AQR1.OcrCode5 AS 'Distribution Rule 5', AQR1.ObjType AS 'Object Type', AQR1.Project AS 'Project Code', AQR1.BarCode AS 'Bar Code', AQR1.InvUoM AS 'Inventory UoM', AQR1.BinEntry AS 'Bin Location Entry', AQR1.FirmCode AS 'Manufacturer', AQR1.SuppCatNum AS 'Mfr Catalog No.', AQR1.CardCode AS 'Preferred Vendor', AQR1.CountDate AS 'Count Date', AQR1.CountTime AS 'Count Time', AQR1.DiffPercnt AS 'Percentage Difference', AQR1.BaseRef AS 'Base Document Reference', AQR1.BaseType AS 'Base Document Type', AQR1.BaseEntry AS 'Base Document Internal ID', AQR1.BaseLine AS 'Base Row', AQR1.CountQty AS 'Counted Quantity', AQR1.Remark AS 'Remarks', AQR1.LogInstanc AS 'Log Instance - History', AQR1.CpyCount AS 'Copied Count', AQR1.BinNegQty AS 'Allow Bin Negative Quantity', AQR1.VisOrder AS 'Visual Order', AQR1.UgpEntry AS 'UoM Group Entry', AQR1.IUomEntry AS 'Inventory UoM Entry', AQR1.UomCode AS 'UoM Code for DI', AQR1.ItmsPerUnt AS 'Items per Unit for DI', AQR1.UomQty AS 'UoM Counted Qty for DI', AQR1.ActPrice AS 'Actual Price', AQR1.PostValueL AS 'Posted Value LC', AQR1.PostValueS AS 'Posted Value SC' FROM AQR1 AS AQR1

Related information


Bin Location OBIN SQL Table

Business Partner OCRD SQL Table

G/L Accounts OACT SQL Table

Manufacturers OMRC SQL Table

Items OITM SQL Table

UoM Master Data OUOM SQL Table

Distribution Rule OOCR SQL Table

Project Codes OPRJ SQL Table

UoM Group OUGP SQL Table

Warehouses OWHS SQL Table



SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates