CRM On Demand - Web Services Integration (MOSC)

MOSC Banner

we need to create descriptive field in PO line in oracle cloud with default value

we need to create descriptive field in PO line in oracle cloud with default value to come from descriptive field in items setup , we tried make to the default value to be groovy and using the below code but fails :

def itemPVO = context.getViewObject("oracle.apps.scm.productModel.items.publicView.ItemPVO")

def vc = itemPVO.createViewCriteria();

def vcrow = vc.createViewCriteriaRow();

vcrow.setAttribute("InventoryItemId",ItemId);

def rowset = itemPVO.findByViewCriteria(vc, -1);

def item = rowset.first()

return item.getAttribute("Attribute10")

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center