You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OM extension for shipping warehouse

Received Response
edited Mar 23, 2021 5:30PM in Order Management 11 comments



 We have the below OM extension created to default the shipping warehouse from the Item setup but the extension does not seem to be working and ware house is not getting picked. Please advice.


import oracle.apps.scm.doo.common.extensions.ValidationException;
import oracle.apps.scm.doo.common.extensions.Message;
//import java.util.logging.Level;
Long headerId = 0;
String OrderNumber = header.getAttribute("OrderNumber");
String shipSet = header.getAttribute("ShipsetFlag");
def poNumber = header.getAttribute("CustomerPONumber" );
defaultOrgId = null
def lines = header.getAttribute("Lines");
while( lines.hasNext() )
  def line =;
  def inventoryItemId = line.getAttribute("ProductIdentifier");
  def orgId = line.getAttribute("InventoryOrganizationIdentifier");
  if(line.getAttribute("TransactionCategoryCode") == "RETURN") return;

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!