biuan SAP® BUSINESS ONE SDK
API AWHS
AWHS - Warehouses - History Table

SBO SQL database table details

FieldDescriptionTypeConstraintsSizeRelatedDefaultPrimary_KeyUnique
WhsCode KEY UNIQUEWarehouse CodenVarChar
8
PRIMARYYes
WhsNameWarehouse NamenVarChar
100
IntrnalKeyInternal KeyInt
11
Grp_CodeGroup CodenVarChar
4
BalInvntAcInventory AccountnVarChar
15OACT
G/L Accounts
SaleCostAcCost of Goods Sold AccountnVarChar
15OACT
G/L Accounts
TransferAcAllocation AccountnVarChar
15OACT
G/L Accounts
LockedLockedVarChar
N) Changeable
Y) Locked
1
N
DataSourceData SourceVarChar
N) Unknown
I) Interface
U) Update
M) Import
O) DI API
A) Doc. Generation Wizard
D) Restore Wizard
P) Partner Implementation
T) Year Transfer
1
N
UserSignUser SignatureInt
6OUSR
Users
RevenuesAcRevenue AccountnVarChar
15OACT
G/L Accounts
VarianceAcVariance AccountnVarChar
15OACT
G/L Accounts
DecreasAcInventory Offset - Decrease AccountnVarChar
15OACT
G/L Accounts
IncreasAcInventory Offset - Increase AccountnVarChar
15OACT
G/L Accounts
ReturnAcSales Returns AccountnVarChar
15OACT
G/L Accounts
ExpensesAcExpense AccountnVarChar
15OACT
G/L Accounts
EURevenuAcRevenue Account - EUnVarChar
15OACT
G/L Accounts
EUExpensAcExpense Account - EUnVarChar
15OACT
G/L Accounts
FrRevenuAcRevenue Account - ForeignnVarChar
15OACT
G/L Accounts
FrExpensAcExpense Account - ForeignnVarChar
15OACT
G/L Accounts
VatGroupTax GroupnVarChar
8OSTC
Sales Tax Codes
StreetStreetnVarChar
100
BlockBlocknVarChar
100
ZipCodeZip CodenVarChar
20
CityCitynVarChar
100
CountyCountynVarChar
100OCNT
Counties
CountryCountrynVarChar
3OCST
States
StateStatusnVarChar
3
LocationLocationInt
11OLCT
Location
DropShipDrop-ShipVarChar
N) No
Y) Yes
1
N
ExmptIncomExempt Revenue AccountnVarChar
15OACT
G/L Accounts
UseTaxAllow Use TaxVarChar
Y) Yes
N) No
1
N
PriceDifAcPrice Difference AccountnVarChar
15OACT
G/L Accounts
ExchangeAcExchange Rate Differences AccountnVarChar
15OACT
G/L Accounts
BalanceAccGoods Clearing AccountnVarChar
15OACT
G/L Accounts
PurchaseAcPurchase AccountnVarChar
15OACT
G/L Accounts
PAReturnAcPurchase Return AccountnVarChar
15OACT
G/L Accounts
PurchOfsAcPurchase Offset AccountnVarChar
15OACT
G/L Accounts
FedTaxIDFederal Tax IDnVarChar
32
BuildingBuilding/Floor/RoomText
16
ShpdGdsActShipped Goods AccountnVarChar
15OACT
G/L Accounts
VatRevActVAT in Revenue AccountnVarChar
15OACT
G/L Accounts
DecresGlAcG/L Decrease AccountnVarChar
15OACT
G/L Accounts
IncresGlAcG/L Increase AccountnVarChar
15OACT
G/L Accounts
NettableNettableVarChar
Y) Yes
N) No
1
Y
StokRvlActInventory Revaluation AccountnVarChar
15OACT
G/L Accounts
StkOffsActInventory Revaluation Offset AccountnVarChar
15OACT
G/L Accounts
WipAcctWIP Inventory AccountnVarChar
15OACT
G/L Accounts
WipVarAcctWIP Inventory Variance AccountnVarChar
15OACT
G/L Accounts
CostRvlActCOGS Revaluation AccountnVarChar
15OACT
G/L Accounts
CstOffsActCOGS Revaluation Offset AcctnVarChar
15OACT
G/L Accounts
ExpClrActExpense Clearing AccountnVarChar
15OACT
G/L Accounts
ExpOfstActExpense Offset AccountnVarChar
15OACT
G/L Accounts
objTypeObject Type - HistorynVarChar
20
64
logInstancLog Instance - HistoryInt
11
createDateCreation Date - HistoryDate
8
userSign2Updating User - HistoryInt
6OUSR
Users
updateDateDate of Update - HistoryDate
8
ARCMActSales Credit AcctnVarChar
15OACT
G/L Accounts
ARCMFrnActSales Credit Foreign AcctnVarChar
15OACT
G/L Accounts
ARCMEUActSales Credit EU AcctnVarChar
15OACT
G/L Accounts
ARCMExpActExempted CreditsnVarChar
15OACT
G/L Accounts
APCMActPurchase Credit AcctnVarChar
15OACT
G/L Accounts
APCMFrnActForeign Purchase Credit AcctnVarChar
15OACT
G/L Accounts
APCMEUActEU Purchase Credit AcctnVarChar
15OACT
G/L Accounts
RevRetActRevenue Returns AccountnVarChar
15OACT
G/L Accounts
BPLidBusiness Place IDInt
11OBPL
Business Place
OwnerCodeOwner CodeVarChar
1) Company Item Property
2) Third-Party Warehouse
3) Third-Party Warehouse
1
1
NegStckActNegative Stock Adjustment AcctnVarChar
15OACT
G/L Accounts
StkInTnActStock In Transit AcctnVarChar
15OACT
G/L Accounts
AddrTypeAddress TypenVarChar
100
StreetNoStreet No.nVarChar
100
PurBalActPurchase Balance AccountnVarChar
15OACT
G/L Accounts
ExcisableExcisable [Yes/No]VarChar
Y) Yes
N) No
1
N
WhICenActIncoming CENVAT Account (WH)nVarChar
15OACT
G/L Accounts
WhOCenActOutgoing CENVAT Account (WH)nVarChar
15OACT
G/L Accounts
WhShipToShip-to Name (WH)nVarChar
100
WipOffsetWIP Offset P&L AccountnVarChar
15OACT
G/L Accounts
StockOffstInventory Offset P&L AccountnVarChar
15OACT
G/L Accounts
StorKeeperStorekeeperInt
11OHEM
Employees
ShipperShippernVarChar
15OCRD
Business Partner
BinActivatBin Activated [Y/N]VarChar
Y) Yes
N) No
1
N
BinSeptorBin SeparatornVarChar
5
DftBinAbsDefault Bin Internal NumberInt
11OBIN
Bin Location
DftBinEnfdDefault Bin Enforced [Y/N]VarChar
Y) Yes
N) No
1
N
AutoIssMtdAuto. Issue MethodInt
0
1) Bin Location Code Order
2) Alternative Sort Code Order
3) Descending Quantity
4) Ascending Quantity
5) FIFO
6) LIFO
6
0
ManageSnBDrop-Ship Manage SnBVarChar
N) No
Y) Yes
1
N
RecItemsByReceiving Bin Locations MethodInt
0
1) Alternative Sort Code Order
6
0
RecBinEnabEnable Receiving Bin LocationsVarChar
Y) Yes
N) No
1
N
GlblLocNumGlobal Location NumbernVarChar
50
RecvEmpBinRestrict Receipts to Empty BinVarChar
Y) Yes
N) No
1
Y
InactiveInactive [Y/N]VarChar
Y) Yes
N) No
1
N
RecvMaxQtyRecv. up to Max. QtyVarChar
Y) Yes
N) No
1
N
AutoRecvMdAuto. Receipt MethodInt
0
1) Last Bin Location That Received Item
2) Item's Current Bin Locations
3) Item's Current and Historical Bin Locations
6
0
RecvMaxWTRecv. up to Max. WeightVarChar
Y) Yes
N) No
1
N
RecvUpToReceive up tonVarChar
0
1) Maximum Weight
2) Max. Qty and Weight
6
0
FreeChrgSAFree of Charge Sales AccountnVarChar
15
FreeChrgPUFree of Charge Purchase AccountnVarChar
15

Table relationship map

SELECT statement

SELECT AWHS.WhsCode AS 'Warehouse Code', AWHS.WhsName AS 'Warehouse Name', AWHS.IntrnalKey AS 'Internal Key', AWHS.Grp_Code AS 'Group Code', AWHS.BalInvntAc AS 'Inventory Account', AWHS.SaleCostAc AS 'Cost of Goods Sold Account', AWHS.TransferAc AS 'Allocation Account', AWHS.Locked AS 'Locked', AWHS.DataSource AS 'Data Source', AWHS.UserSign AS 'User Signature', AWHS.RevenuesAc AS 'Revenue Account', AWHS.VarianceAc AS 'Variance Account', AWHS.DecreasAc AS 'Inventory Offset - Decrease Account', AWHS.IncreasAc AS 'Inventory Offset - Increase Account', AWHS.ReturnAc AS 'Sales Returns Account', AWHS.ExpensesAc AS 'Expense Account', AWHS.EURevenuAc AS 'Revenue Account - EU', AWHS.EUExpensAc AS 'Expense Account - EU', AWHS.FrRevenuAc AS 'Revenue Account - Foreign', AWHS.FrExpensAc AS 'Expense Account - Foreign', AWHS.VatGroup AS 'Tax Group', AWHS.Street AS 'Street', AWHS.Block AS 'Block', AWHS.ZipCode AS 'Zip Code', AWHS.City AS 'City', AWHS.County AS 'County', AWHS.Country AS 'Country', AWHS.State AS 'Status', AWHS.Location AS 'Location', AWHS.DropShip AS 'Drop-Ship', AWHS.ExmptIncom AS 'Exempt Revenue Account', AWHS.UseTax AS 'Allow Use Tax', AWHS.PriceDifAc AS 'Price Difference Account', AWHS.ExchangeAc AS 'Exchange Rate Differences Account', AWHS.BalanceAcc AS 'Goods Clearing Account', AWHS.PurchaseAc AS 'Purchase Account', AWHS.PAReturnAc AS 'Purchase Return Account', AWHS.PurchOfsAc AS 'Purchase Offset Account', AWHS.FedTaxID AS 'Federal Tax ID', AWHS.Building AS 'Building/Floor/Room', AWHS.ShpdGdsAct AS 'Shipped Goods Account', AWHS.VatRevAct AS 'VAT in Revenue Account', AWHS.DecresGlAc AS 'G/L Decrease Account', AWHS.IncresGlAc AS 'G/L Increase Account', AWHS.Nettable AS 'Nettable', AWHS.StokRvlAct AS 'Inventory Revaluation Account', AWHS.StkOffsAct AS 'Inventory Revaluation Offset Account', AWHS.WipAcct AS 'WIP Inventory Account', AWHS.WipVarAcct AS 'WIP Inventory Variance Account', AWHS.CostRvlAct AS 'COGS Revaluation Account', AWHS.CstOffsAct AS 'COGS Revaluation Offset Acct', AWHS.ExpClrAct AS 'Expense Clearing Account', AWHS.ExpOfstAct AS 'Expense Offset Account', AWHS.objType AS 'Object Type - History', AWHS.logInstanc AS 'Log Instance - History', AWHS.createDate AS 'Creation Date - History', AWHS.userSign2 AS 'Updating User - History', AWHS.updateDate AS 'Date of Update - History', AWHS.ARCMAct AS 'Sales Credit Acct', AWHS.ARCMFrnAct AS 'Sales Credit Foreign Acct', AWHS.ARCMEUAct AS 'Sales Credit EU Acct', AWHS.ARCMExpAct AS 'Exempted Credits', AWHS.APCMAct AS 'Purchase Credit Acct', AWHS.APCMFrnAct AS 'Foreign Purchase Credit Acct', AWHS.APCMEUAct AS 'EU Purchase Credit Acct', AWHS.RevRetAct AS 'Revenue Returns Account', AWHS.BPLid AS 'Business Place ID', AWHS.OwnerCode AS 'Owner Code', AWHS.NegStckAct AS 'Negative Stock Adjustment Acct', AWHS.StkInTnAct AS 'Stock In Transit Acct', AWHS.AddrType AS 'Address Type', AWHS.StreetNo AS 'Street No.', AWHS.PurBalAct AS 'Purchase Balance Account', AWHS.Excisable AS 'Excisable [Yes/No]', AWHS.WhICenAct AS 'Incoming CENVAT Account (WH)', AWHS.WhOCenAct AS 'Outgoing CENVAT Account (WH)', AWHS.WhShipTo AS 'Ship-to Name (WH)', AWHS.WipOffset AS 'WIP Offset P&L Account', AWHS.StockOffst AS 'Inventory Offset P&L Account', AWHS.StorKeeper AS 'Storekeeper', AWHS.Shipper AS 'Shipper', AWHS.BinActivat AS 'Bin Activated [Y/N]', AWHS.BinSeptor AS 'Bin Separator', AWHS.DftBinAbs AS 'Default Bin Internal Number', AWHS.DftBinEnfd AS 'Default Bin Enforced [Y/N]', AWHS.AutoIssMtd AS 'Auto. Issue Method', AWHS.ManageSnB AS 'Drop-Ship Manage SnB', AWHS.RecItemsBy AS 'Receiving Bin Locations Method', AWHS.RecBinEnab AS 'Enable Receiving Bin Locations', AWHS.GlblLocNum AS 'Global Location Number', AWHS.RecvEmpBin AS 'Restrict Receipts to Empty Bin', AWHS.Inactive AS 'Inactive [Y/N]', AWHS.RecvMaxQty AS 'Recv. up to Max. Qty', AWHS.AutoRecvMd AS 'Auto. Receipt Method', AWHS.RecvMaxWT AS 'Recv. up to Max. Weight', AWHS.RecvUpTo AS 'Receive up to', AWHS.FreeChrgSA AS 'Free of Charge Sales Account', AWHS.FreeChrgPU AS 'Free of Charge Purchase Account' FROM AWHS AS AWHS

Related information


G/L Accounts OACT SQL Table

Business Place OBPL SQL Table

States OCST SQL Table

Counties OCNT SQL Table

Bin Location OBIN SQL Table

Location OLCT SQL Table

Business Partner OCRD SQL Table

Employees OHEM SQL Table

Users OUSR SQL Table

Sales Tax Codes OSTC 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