Add a Record Blank Title 91857

Rob,



When you mention about creating a new record via a BPM, are you doing this
with custom method calls (example: SalesOrder.GetNewOrderHed)? Or are you
discussing writing 4GL code to insert a record to the table?



If the latter, I'd be very, very wary of doing that, unless you're working
with a fairly simple table (UD tables, or flat master files). If you go the
4GL route, you need to fully understand all way the tables are constructed,
and understand all the relationships between tables. As an example,
depending upon your company configuration, writing an OrderDtl row (and the
associated OrderRel row) would have an impact upon credit, and should
possibly put the customer on credit hold.


In this type of scenario, I'd stick with calling the adapters via a
customization. Unless someone knows how to call adapters from within a BPM.




Just my two cents.



Kevin Simon



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Rob Bucek
Sent: Thursday, July 15, 2010 10:13 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Add a Record





It is possible to do this with a BPM (create a new record) IF you have
the correct progress license installed and your familiar enough with
4gl. It also can be done with client side customization as well. Part
of you scenario is not clear, it seems you only want to create the SO
line with a description and not a part number? Clarify that part,
because part number is a mandatory or key field for the order detail
table. If you are populating a part number to the added line, where is
it coming from?

Rob Bucek

Manufacturing Engineer

PH: (715) 284-5376 ext 311

Mobile: (715)896-0590

FAX: (715)284-4084

<http://www.dsmfg.com/>

(Click the logo to view our site) <http://www.dsmfg.com/>

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf
Of pilotgl
Sent: Thursday, July 15, 2010 8:56 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: [Vantage] Add a Record

Has anyone ever created a customization that if you create a new sale
order for example it would auto create a SO Line with a description
field automatically?

Here is an example:

-Create a new SO
-It then automatically knows to create SO line 1 with description of
"part xyz create". This would create the new line and the custom
description I have told it.

I have been trying this in a BPM and don't think I am going to pull this
off. But I am starting to think it would have to be a customization to
the screen with VB.Net. I am kind of in a dead end at the moment and
would appreciate some suggestions.

Thanks.
Greg

[Non-text portions of this message have been removed]





[Non-text portions of this message have been removed]
Has anyone ever created a customization that if you create a new sale order for example it would auto create a SO Line with a description field automatically?

Here is an example:

-Create a new SO
-It then automatically knows to create SO line 1 with description of "part xyz create". This would create the new line and the custom description I have told it.

I have been trying this in a BPM and don't think I am going to pull this off. But I am starting to think it would have to be a customization to the screen with VB.Net. I am kind of in a dead end at the moment and would appreciate some suggestions.

Thanks.
Greg
It is possible to do this with a BPM (create a new record) IF you have
the correct progress license installed and your familiar enough with
4gl. It also can be done with client side customization as well. Part
of you scenario is not clear, it seems you only want to create the SO
line with a description and not a part number? Clarify that part,
because part number is a mandatory or key field for the order detail
table. If you are populating a part number to the added line, where is
it coming from?



Rob Bucek

Manufacturing Engineer

PH: (715) 284-5376 ext 311

Mobile: (715)896-0590

FAX: (715)284-4084

<http://www.dsmfg.com/>

(Click the logo to view our site) <http://www.dsmfg.com/>





From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of pilotgl
Sent: Thursday, July 15, 2010 8:56 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Add a Record





Has anyone ever created a customization that if you create a new sale
order for example it would auto create a SO Line with a description
field automatically?

Here is an example:

-Create a new SO
-It then automatically knows to create SO line 1 with description of
"part xyz create". This would create the new line and the custom
description I have told it.

I have been trying this in a BPM and don't think I am going to pull this
off. But I am starting to think it would have to be a customization to
the screen with VB.Net. I am kind of in a dead end at the moment and
would appreciate some suggestions.

Thanks.
Greg





[Non-text portions of this message have been removed]
Definitely doable as a customization (and I would suspect via BPM).

There is a min amount of field data required (which escapes me) to create an order header before you're allowed to create your 1st line.

Run a trace log as you mimic what you are trying to do and leverage completion of the SO header creation to be the event trigger to then create your line via .net code.

Rob

--- Original Message ---
From:"pilotgl" <pilotgl@...>
Sent:Thu 7/15/10 9:56 am
To:vantage@yahoogroups.com
Subj:[Vantage] Add a Record

Has anyone ever created a customization that if you create a new sale order for example it would auto create a SO Line with a description field automatically?

Here is an example:

-Create a new SO
-It then automatically knows to create SO line 1 with description of "part xyz create". This would create the new line and the custom description I have told it.

I have been trying this in a BPM and don't think I am going to pull this off. But I am starting to think it would have to be a customization to the screen with VB.Net. I am kind of in a dead end at the moment and would appreciate some suggestions.

Thanks.
Greg