Skip to Content
0
Former Member
May 28, 2008 at 09:32 AM

Help in Error Code

15 Views

Hi,

i learn WebDynpro from book JA310 and i copy the code from book ex.5 solution and i have 3 red lines in this maybe u have idea?

Redlines :

1.ISalesOrdersNode

2.ISalesOrdersElement

3 Date

i do in the context node : SalesOrders,

in the book its write with I (ISalesOrders) latter i try without and i still have error .

ISalesOrdersNode soNode = wdContext.nodeSalesOrders();
   
   ISalesOrdersElement newSoel = soNode.createSalesOrderElment(); 
   
   newSoel.setDescription ("Printer Suplies");
   newSoel.setOrderNo (1000);
   newSoel.setSalesDate(new Date(System.currentTimeMillis() ) );
   newSoel.setSalesRep("harry hawk");

Regards