Pricing

rwellsw

Active Member
We have a very unique pricing routine for our customers. Each customer can have a different price for each item and the price must be calculated each time the customer orders a product.

We are installing OneWorld XE. All of our data is stored on the AS/400 server.

Is this a possible solution or do any of you have different suggestions?

Create a business function to call a RPG program to calculate the price. The RPG would reside on the AS/400 and calculate the price based on fields found in JDE files.

Can the RPG program get data from the JDE files?

Can the business function call the rpg program and pass parms to it then receive data back in the form of parms?

Thanks as you may be able to determine I am new to JDE.

Roger
 

Gergely_Pongracz

Well Known Member
Hi!
The best solutios is really a business function but I do not understand the
need for an RPG program. What I would do is: Creating the tables which
contain the necessary data within One World, importing data into them some
way (if it is already stored in some other database), write a business
function that does the necessary calculations (I guess it has quite a simple
algorithm so you must be able to write it in NER - a basic One World
programming), call this business function from a new form/row exit
everywhere it's needed and load the calculated prices into the appropriate
fields.
On the other hand there is a module called advanced pricing in OW. Have you
considered using it (I don't know it exactly but I think it does something
very similar to what you need)
Regards and Happy New Year!
Gergely Pongrácz
Synergon, Hungary

> ----------
> From: rwellsw[SMTP:[email protected]]
> Reply To: [email protected]
> Sent: Tuesday, December 26, 2000 2:30 PM
> To: [email protected]
> Subject: Pricing ~~0:3138
>
> We have a very unique pricing routine for our customers. Each customer
> can have a different price for each item and the price must be calculated
> each time the customer orders a product.
>
> We are installing OneWorld XE. All of our data is stored on the AS/400
> server.
>
> Is this a possible solution or do any of you have different suggestions?
>
> Create a business function to call a RPG program to calculate the price.
> The RPG would reside on the AS/400 and calculate the price based on fields
> found in JDE files.
>
> Can the RPG program get data from the JDE files?
>
> Can the business function call the rpg program and pass parms to it then
> receive data back in the form of parms?
>
> Thanks as you may be able to determine I am new to JDE.
>
> Roger
>
>
>
>
>
> --------------------------
> Visit the forum to view this thread at:
> http://198.144.193.139/cgi-bin/wwwthreads/showflat.pl?Cat=&Board=OWDEV&Num
> ber=3138
> *************************************************************
> This is the JDEList One World / XE Developers Mailing List.
> Archives and information on how to SUBSCRIBE, and
> UNSUBSCRIBE can be found at http://www.JDELIST.com
> *************************************************************
>
 
Top