API Document Lines / Change Assemly Bo M Warehouse


Sets or returns a value that specifies whether or not the default warehouse was changed for an item that is part of bill-of-material assembly. This is relevant for the specified item in the specified document only.

Field name: ChgAsmBoMW.

Length: 1 character.

Property type

Read-write property


Visual Basic
Public Property ChangeAssemlyBoMWarehouse() As String


Logic Description

  1. When user change warehouse of Assembly BoM in Marketing Document except Sales Order and A/R Reserve Invoice, the system displays a confirmation box to ask "Changing the warehouse for the Assembly BoM's parent item will update the warehouse for all the Assembly BoM's components. Continue?"
  2. If user select "Yes", system generate posting with the new warehouse selected
  3. If user select "No", warehouse setting in BoM will not be changed
  4. If user change warehouse in Form Setting -> Document -> Table of Marketing Document except Sale Order, there will be pop up message "Update the warehouse for all the items?" and user click "Yes" button, system will also update warehouse for all the Assembly BoM's components.

See Also

Related information

Batch Numbers BatchNumbers Object· Table: OBTN BTNT
BatchNumbers is a business object that represents the batch numbers of an item in the Inventory and Production module. This object enables you to add batch numbers for a selected item row (one record per item). Source table: OBTN, OBTW, OITL,...
   Parent: Document Lines Document_Lines Object· Table: IGE1 IGN1

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