OM extension for shipping warehouse
Content
Hi,
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 = lines.next();
def inventoryItemId = line.getAttribute("ProductIdentifier");
def orgId = line.getAttribute("InventoryOrganizationIdentifier");
if(line.getAttribute("TransactionCategoryCode") == "RETURN") return;