Skip to Content
0
Former Member
Aug 02, 2010 at 09:15 AM

Automatic batch classification with procedure on goods receipt does not wor

80 Views

Hi,

I have a material with batch classification.

The material has two characteristics.

One is a number called VALUE.

The other is also a number (called CONVERSION) and shall be deived from the first.

A procedure is created and assigned to the second characteristic.

$SET_DEFAULT ($SELF, CONVERSION , $SELF.VALUE / 6000)

When I post a goods receive (movement Type 501) the characteristics can be filled . The field VALUE is set with 12000.

I was expecting the characteristic CONVERSION to be calculated as '2' and filled by the procedure.

This is not the case.

If however, I try to fill it manually, the system accepts only the calculated value '2'. Otherwise an error is shown.

How can I force the system to calculate and fill the second characteristic when insserting a value in the first ?

Thanks for any help.