That is what I thought, but I could not figure out how to change the shortchar06
on the Release and update the SalesOrder adapter.Â
How do you reference the Release.shortchar06 to update?
Is there any documentation that helps - maybe some examples.
Thanks
Doug
________________________________
From: bw2868bond <bwalker@...>
To: vantage@yahoogroups.com
Sent: Mon, December 13, 2010 11:51:37 AM
Subject: [Vantage] Re: customization on SalesOrder
Â
I believe you will need to use SalesOrder BO to do any updates. The search
adapter is just that, used for doing searches
on the Release and update the SalesOrder adapter.Â
How do you reference the Release.shortchar06 to update?
Is there any documentation that helps - maybe some examples.
Thanks
Doug
________________________________
From: bw2868bond <bwalker@...>
To: vantage@yahoogroups.com
Sent: Mon, December 13, 2010 11:51:37 AM
Subject: [Vantage] Re: customization on SalesOrder
Â
I believe you will need to use SalesOrder BO to do any updates. The search
adapter is just that, used for doing searches
--- In vantage@yahoogroups.com, DD <ddavis4569@...> wrote:
>
> Thanks Joe: I did have a incorrect assembly referenced.
>
> I can get the customization to compile but I get a error message that
> Epicor.Mfg.Common.BusinessObjectException: Update of Order Release not
allowed.
> when I run the customization.
>
> Is there a trick to using the update method?
>
> Listlookup works fine and I can get data out from the lines/releases but I can
> not get it to update.
>
> Is OrderRelSearchAdapter the correct adapter to us when updating the Releases?
>
>
> Dim Torder as integer
> Dim Tline as integer
> dim Trel as integer
> dim msg as string
> Torder = dsSearch.Tables(0).Rows(cnt)("Ordernum")
> Tline = dsSearch.Tables(0).Rows(cnt)("OrderLine")
> Trel = dsSearch.Tables(0).Rows(cnt)("OrderRelnum")
> msg = ( Torder.tostring() & " " & Tline.tostring() & " " & Trel.tostring() )
>
> Dim UD As OrderRelSearchAdapter = New OrderRelSearchAdapter(SalesOrderForm)
> UD.BOConnect()
> Â messagebox.show(msg)
> UD.Getdata(Torder,Tline,Trel )
> ud.OrderRelSearchData.OrderRel(0).ShortChar06 = rep1
> ud.update()
> UD.Dispose()
>
>
>
>
> ________________________________
> From: Joe Rojas <jrojas@...>
> To: vantage@yahoogroups.com
> Sent: Fri, December 10, 2010 12:19:06 PM
> Subject: RE: [Vantage] customization on SalesOrder
>
> Â
> Two things come to mind.
>
> 1. Do you have the correct assemblies referenced?
>
> 2. Do you have the correct import statements at the top of your
> code?
>
>
>
>
> [Non-text portions of this message have been removed]
>
[Non-text portions of this message have been removed]