blanchap
15th April 2011, 21:51
Hi,

Does a query.extension works on a print session?

I want to customize a session by giving a range of specific order numbers instead of the order number from - to on the form.

I'm thinking that i could do this with the query.extension in the before.program section.

Am i wrong?

If not, what is the main table for tdilc4203m000?

I need the main select so i can create my query.extension

Since i do not have the codes and i'll be doing it through QKEY, i need to know the field that orno.f and orno.t is validating.

regards.

PB

shah_bs
15th April 2011, 22:19
Would the following work for you:

- fire up the session
- on the form, enter the from and to order numbers
- do a <Options>/<Save Defaults>

From that point on, any time the session comes up, it will have the values filled in (with the option to change).

Of course, this needs to be done for each user (but we have two users who do Generate Inbound, so was not much of a hassle).

blanchap
15th April 2011, 22:41
No,

the user wants to be able to generate inbound for a list of PO that are not sequential.
If it does order from 50 to 100, he will process 50 orders.
He wants to be able to process order 50, 55, 58, 69, 70... and do it with one run of the session and not one by one.

PB

blanchap
15th April 2011, 22:50
Forget about it.
Found my answer.
Query.extension can only be used in a session with a main table.
Since a print session does not have a main table, i cannot use that option for my customization.
Back to square 1

Thanks

PB

mark_h
16th April 2011, 04:13
What you can do is write your own session that lets you enter 10 individual(or however many you want) order numbers. Then when you click continue you use AFS or API code to run the session in the back ground for each individual order. Just a thought.

darpan
19th April 2011, 09:19
Hello,

Just as Mark Said Above , i m attaching here by the sheet of the same kind u can make, and then use AFS to fulfillment requirement

Regards and Thanks

Darpan Bhansali