Very true. I always forget about that.
On Fri, Apr 1, 2011 at 8:50 AM, Kevin Simon <ksimon@...> wrote:
>
>
> Just one thing I'd add - make sure you specify the company in the code as
> well. Even if you're a single company operation, referencing the company
> makes proper use of the indices, and should drastically help performance.
>
> Kevin Simon
>
> SimsTrak Consulting
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of
> Waffqle
> Sent: Friday, April 01, 2011 8:33 AM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: BPM Struggles
>
>
> Create a new pre-processing BPM on Order.Update.
> I haven't tested it, but the following code should do the trick. It should
> find newly created order lines and copy the quote info whenever it's
> available.
>
> FOR EACH ttOrderDtl WHERE ttOrderDtl.RowMod ='A'.
> FIND FIRST QuoteDtl WHERE QuoteDtl.QuoteNum = ttOrderDtl.QuoteNum AND
> QuoteDtl.QuoteNum = ttOrderDtl.QuoteLine.
> IF AVAILABLE QuoteDtl THEN
> ASSIGN ttOrderDtl.OrderComment = QuoteDtl.Character10.
> END.
>
> Good luck!
>
> On Thu, Mar 31, 2011 at 1:49 PM, Richard <rgraf@...
> <mailto:rgraf%40abapgt.com> > wrote:
>
> > Hi Waffqle,
> >
> > Hope you don't mind me bothering you but you seem to have a decent grasp
> on
> > BPM's and how they function. I, on the other hand, do not!
> >
> > What I've been trying to do in Vantage 8.03 is this:
> >
> > In the sales order entry form, when somebody clicks on "New line from
> > quote", we want to pull the data from a text type user field bound to
> > "QuoteDtl.Character10" into the OrderDtl.OrderComment" field.
> >
> > My efforts have not been succesful so far and I don't know enough about
> > BPM's or ABL code to see where I went wrong. Any advice you can give me
> > would be very much appreciated.
> >
> > Rick
> >
> >
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
>
>
[Non-text portions of this message have been removed]