Update Field Blank Title 87329

Thanks for the reply Adam. I had found the code you were speaking of over the weekend, and applied it to my method. Got it working great. Thanks again.

--- In vantage@yahoogroups.com, "adam.whipp" <adam.whipp@...> wrote:
>
> You cannot directly set a field from another table which is why you see the error message you got. You have to use the UpdateTableBuffer.p program to do this. You'll want to run the command below in your BPM to update that field to true: (I've used this in a couple of my BPM's)
>
> run lib\UpdateTableBuffer.p(input BUFFER QuoteDtl:HANDLE, 'Ordered',true).
>
> Adam Whipp
>
> --- In vantage@yahoogroups.com, "bobschnable" <bschnable@> wrote:
> >
> > Hello all,
> >
> > I am attempting to use a BPM to update a field. What I want to do, is when a user selects the New Line from Quote option under the Sales Order, I want that action to change the QuoteDtl.Ordered field of the ordered quote to true. The action changes the QuoteHed.Ordered field of the quote, but not the Dtl level. I've tried using a BPM, but on the Update method of the SO BO, I can't get it to compile. If I set the QuoteDtl.ordered field = True, I get a "You cannot compile messages that edit the DB in this version" message. If I attempt to use the ttQuoteDtl.ordered field, well I cannot access it from the SO BO. So I guess my question would be, how can I access the ttQuoteDtl field from said BO.
> >
> > Thanks!
> >
>
Hello all,

I am attempting to use a BPM to update a field. What I want to do, is when a user selects the New Line from Quote option under the Sales Order, I want that action to change the QuoteDtl.Ordered field of the ordered quote to true. The action changes the QuoteHed.Ordered field of the quote, but not the Dtl level. I've tried using a BPM, but on the Update method of the SO BO, I can't get it to compile. If I set the QuoteDtl.ordered field = True, I get a "You cannot compile messages that edit the DB in this version" message. If I attempt to use the ttQuoteDtl.ordered field, well I cannot access it from the SO BO. So I guess my question would be, how can I access the ttQuoteDtl field from said BO.

Thanks!
You cannot directly set a field from another table which is why you see the error message you got. You have to use the UpdateTableBuffer.p program to do this. You'll want to run the command below in your BPM to update that field to true: (I've used this in a couple of my BPM's)

run lib\UpdateTableBuffer.p(input BUFFER QuoteDtl:HANDLE, 'Ordered',true).

Adam Whipp

--- In vantage@yahoogroups.com, "bobschnable" <bschnable@...> wrote:
>
> Hello all,
>
> I am attempting to use a BPM to update a field. What I want to do, is when a user selects the New Line from Quote option under the Sales Order, I want that action to change the QuoteDtl.Ordered field of the ordered quote to true. The action changes the QuoteHed.Ordered field of the quote, but not the Dtl level. I've tried using a BPM, but on the Update method of the SO BO, I can't get it to compile. If I set the QuoteDtl.ordered field = True, I get a "You cannot compile messages that edit the DB in this version" message. If I attempt to use the ttQuoteDtl.ordered field, well I cannot access it from the SO BO. So I guess my question would be, how can I access the ttQuoteDtl field from said BO.
>
> Thanks!
>