biuan SAP® BUSINESS ONE SDK
DTW Administration / Setup / Inventory / Warehouses
API Warehouses

Description

Warehouses is a business object that represents the warehouses information in the Inventory module.

This object enables you to:

  • Add a warehouse.
  • Retrieve a warehouse by its key.
  • Update a warehouse details.
  • Remove a warehouse.
  • Save the object in XML format.

Source table: OWHS.

Object Model

Remarks

Mandatory field in SAP Business One: WarehouseCode.

To display the form in the application:

  • Select Administration --> Setup --> Inventory --> Warehouses.

The warehouse definition includes:

  • Warehouse type
  • Warehouse address
  • G/L accounts, which are defined in ChartOfAccounts, used in Item Master Data - Inventory Data in case GLMethod property is set to WH.

See Also

SAP® B1 DI-API C# definition

public class WarehousesClass : IWarehouses, Warehouses { public virtual string AddressName2 { get; set; } public virtual string AddressName3 { get; set; } public virtual string AddressType { get; set; } public virtual BoYesNoEnum AllowUseTax { get; set; } public virtual BoDocWhsAutoIssueMethod AutoAllocOnIssue { get; set; } public virtual AutoAllocOnReceiptMethodEnum AutoAllocOnReceipt { get; set; } public virtual string BinLocCodeSeparator { get; set; } public virtual string Block { get; set; } public virtual DataBrowser Browser { get; } public virtual string BuildingFloorRoom { get; set; } public virtual int BusinessPlaceID { get; set; } public virtual string City { get; set; } public virtual string CostInflationAccount { get; set; } public virtual string CostInflationOffsetAccount { get; set; } public virtual string CostOfGoodsSold { get; set; } public virtual string Country { get; set; } public virtual string County { get; set; } public virtual string DecreaseGLAccount { get; set; } public virtual string DecreasingAccount { get; set; } public virtual int DefaultBin { get; set; } public virtual BoYesNoEnum DefaultBinEnforced { get; set; } public virtual BoYesNoEnum DropShip { get; set; } public virtual BoYesNoEnum EnableBinLocations { get; set; } public virtual BoYesNoEnum EnableReceivingBinLocations { get; set; } public virtual string EUExpensesAccount { get; set; } public virtual string EUPurchaseCreditAcc { get; set; } public virtual string EURevenuesAccount { get; set; } public virtual string ExchangeRateDifferencesAccount { get; set; } public virtual BoYesNoEnum Excisable { get; set; } public virtual string ExemptedCredits { get; set; } public virtual string ExemptRevenuesAccount { get; set; } public virtual string ExpenseAccount { get; set; } public virtual string ExpenseOffsetingAct { get; set; } public virtual string ExpensesClearingAccount { get; set; } public virtual string FederalTaxID { get; set; } public virtual string ForeignExpensesAccount { get; set; } public virtual string ForeignPurchaseCreditAcc { get; set; } public virtual string ForeignRevenuesAcc { get; set; } public virtual string GlobalLocationNumber { get; set; } public virtual string GoodsClearingAcc { get; set; } public virtual BoYesNoEnum Inactive { get; set; } public virtual string IncreaseGLAccount { get; set; } public virtual string IncreasingAcc { get; set; } public virtual int InternalKey { get; } public virtual string InventoryOffsetProfitAndLossAccount { get; set; } public virtual int Location { get; set; } public virtual BoYesNoEnum ManageSerialAndBatchNumbers { get; set; } public virtual string NegativeInventoryAdjustmentAccount { get; set; } public virtual BoYesNoEnum Nettable { get; set; } public virtual string PriceDifferencesAccount { get; set; } public virtual string PurchaseAccount { get; set; } public virtual string PurchaseBalanceAccount { get; set; } public virtual string PurchaseCreditAcc { get; set; } public virtual string PurchaseOffsetAccount { get; set; } public virtual string PurchaseReturningAccount { get; set; } public virtual BoYesNoEnum ReceiveUpToMaxQuantity { get; set; } public virtual BoYesNoEnum ReceiveUpToMaxWeight { get; set; } public virtual ReceivingUpToMethodEnum ReceiveUpToMethod { get; set; } public virtual ReceivingBinLocationsMethodEnum ReceivingBinLocationsBy { get; set; } public virtual BoYesNoEnum RestrictReceiptToEmptyBinLocation { get; set; } public virtual string ReturningAccount { get; set; } public virtual string RevenuesAccount { get; set; } public virtual string SalesCreditAcc { get; set; } public virtual string SalesCreditEUAcc { get; set; } public virtual string SalesCreditForeignAcc { get; set; } public virtual string ShippedGoodsAccount { get; set; } public virtual string Shipper { get; set; } public virtual string State { get; set; } public virtual string StockAccount { get; set; } public virtual string StockInflationAdjustAccount { get; set; } public virtual string StockInflationOffsetAccount { get; set; } public virtual string StockInTransitAccount { get; set; } public virtual int Storekeeper { get; set; } public virtual string Street { get; set; } public virtual string StreetNo { get; set; } public virtual string TaxGroup { get; set; } public virtual string TaxOffice { get; set; } public virtual string TransfersAcc { get; set; } public virtual SAPbobsCOM.UserFields UserFields { get; } public virtual string VarianceAccount { get; set; } public virtual string VATInRevenueAccount { get; set; } public virtual string WarehouseCode { get; set; } public virtual string WarehouseName { get; set; } public virtual string WHIncomingCenvatAccount { get; set; } public virtual string WHOutgoingCenvatAccount { get; set; } public virtual string WHShipToName { get; set; } public virtual string WIPMaterialAccount { get; set; } public virtual string WIPMaterialVarianceAccount { get; set; } public virtual string WipOffsetProfitAndLossAccount { get; set; } public virtual string ZipCode { get; set; } public extern WarehousesClass(); public virtual extern int Add(); public virtual extern string GetAsXML(); public virtual extern bool GetByKey( string WhsCode); public virtual extern int Remove(); public virtual extern void SaveToFile( string FileName); public virtual extern void SaveXML( ref string FileName); public virtual extern int Update(); }

Related information


Auto Alloc On Receipt Method Enum AutoAllocOnReceiptMethodEnum Enumeration
   Parent: Warehouses Warehouses Object· Table: OWHS

Bo Doc Whs Auto Issue Method BoDocWhsAutoIssueMethod Enumeration
The method by which items in bin locations are issued.
   Parent: Warehouses Warehouses Object· Table: OWHS

Receiving Bin Locations Method Enum ReceivingBinLocationsMethodEnum Enumeration
The method by which items are received at receiving bin locations.
   Parent: Warehouses Warehouses Object· Table: OWHS

Receiving Up To Method Enum ReceivingUpToMethodEnum Enumeration
   Parent: Warehouses Warehouses Object· Table: OWHS


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