cancel
Showing results for 
Search instead for 
Did you mean: 

Goods receipt importing purchase order

Former Member
0 Kudos

Hi,

I have an addon that has to fill some udf's when a Itemcode is entered in the detail section. This works relativaly ok. But what is the best way to force the filling the udf's when the lines are filled in through the selection of a purchase order.

For the moment I have a routine that fill's all the udf is the screen gets activated and the button purchase order was clicked. This works if the user doesn't click on the good receipt while the wizard for importing purchase order is open.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

This is where the ui-api still has a lot of short commings.

I do it this way:

- "Copy To" always loads a new form: so in the load event if the form is in "add

mode" and there is an itemcode on line 1 and it has a base document

then it is opened via copyto

- "From a draft": the same thing, but the form status (field 81) has the value "6"

- "Copy From": catch the unload of the wizard

Former Member
0 Kudos

Ok, It seems other persons also have to find some workaround to detect the situation.

Former Member
0 Kudos

Sorry for the late reply.

When the Goods receipt (detail lines) are filled with the lines from the purchase order, there is no Choose From list event for each detailline.

So I don't think, it will work.

former_member185703
Active Contributor
0 Kudos

Hi,

You should use the et_CHOOSE_FROM_LIST event to find out which items have been added / changed in document lines.

See here:

HTH,

Frank