Thanks for the help. I got it to work. Might not be the most
conventional but it is working. I noticed if I selected the first
line it then run the code it would not throw the error, so I just
set rows(0).selected = True for the grid & there we go. The user
never notices it because it does not change the screen at all.
--- In vantage@yahoogroups.com, "laidig.systems"
<laidig.systems@...> wrote:
conventional but it is working. I noticed if I selected the first
line it then run the code it would not throw the error, so I just
set rows(0).selected = True for the grid & there we go. The user
never notices it because it does not change the screen at all.
--- In vantage@yahoogroups.com, "laidig.systems"
<laidig.systems@...> wrote:
>not a
> that error message seems like a buisiness objects error method,
> vb.net compile error message. I use the loop and set valuesinside
> the loop (for each line) just using:the
> edvOrderDtl.dataView(i)("ShortChar10") = ModelName
>
> --- In vantage@yahoogroups.com, "Michael McWilliams"
> <mmcwilliams22@> wrote:
> >
> > It works great to read values but when i try to set it using
> > same method. I get the following an errorEpicor.Mfg.UI.Adapters.SalesOrderAdapter.CheckOrderHedChanges()
> > Exception caught in: Epicor.Mfg.BO.SalesOrder
> >
> > Error Detail
> > ============
> > Message: Order Header has not changed.
> > Type: Error
> > Program: bo/SalesOrder.p
> > Method: CheckOrderHedChanges
> > Table: OrderHed
> > Row:
> > Field:
> >
> >
> >
> > Stack Trace
> > ===========
> > at Epicor.Mfg.Proxy.SalesOrderImpl.CheckOrderHedChanges
> > (SalesOrderDataSet ds, String& cOrderChangedMsgText)
> > at
> > --- In vantage@yahoogroups.com, "Michael McWilliams"for
> > <mmcwilliams22@> wrote:
> > >
> > > So if I were to get values using this method I would use this
> > > example?("OrderLine").ToString)
> > > Length As Decimal = edvOrderDtl.dataView(i)("Number01")
> > >
> > >
> > > --- In vantage@yahoogroups.com, "laidig.systems"
> > > <laidig.systems@> wrote:
> > > >
> > > > try this:
> > > > Dim edvOrderDtl As EpiDataView =
> > > > CType(oTrans.EpiDataViews("OrderDtl"), EpiDataView)
> > > > For i As Integer = 0 To edvOrderDtl.dataView.Count-
> > > 1
> > > > msgbox(edvOrderDtl.dataView(i)
> > > > nextOrder
> > > >
> > > > --- In vantage@yahoogroups.com, "Michael McWilliams"
> > > > <mmcwilliams22@> wrote:
> > > > >
> > > > > I am trying to loop through all the rows when I am in
> > > Entry. ToOrderLine
> > > > > keep the test simple I am Just trying to display the
> > > for thebox
> > > > > Row. With the code I am using below it gives the message
> > > the samealways
> > > > > number of times as how many lines there are. But it
> > > displayshave
> > > > > only the first line in the message box. Here is what I
> > > > > Dim OrderDtl As EpiDataView = Ctype(oTrans.EpiDataViews(OrderDtl.Row)
> > > > > ("OrderDtl"),EpiDataView)
> > > > > For Each dr As DataRow In OrderDtl.DataView.Table.Rows
> > > > > Dim OrderLine As Integer = OrderDtl.DataView
> > > > > ("OrderLine")
> > > > > msgbox(OrderLine.ToString)
> > > > > Next
> > > > >
> > > >
> > >
> >
>