Skip to Content
0
Former Member
Dec 22, 2009 at 06:12 AM

Syntax Error in Object Dependancy in Class

352 Views

Hi All,

We are working out bacth specific unit opf measurement in steel industry.

The base unit of measure in Tonne. The batch specific UOM is Pieces.

We want system to calculate the batch speific UOM from the production order quantity which is tonnes.

For this we have defined following charactsristics in class which is assigned to materilals,

1. PIECES- Number of pieces in batch

2. SECTIONWEIGHT- This is the fixed value for every material the unit is KG/M i.e. Kilogarm per meter

3. Z_LENGTH- Length of the material which is order specific

4. WEIGHT- Batch weight which is nothing but the production order quantity in Tonnes.

We are defining the following formula to calculate the number of pieces in object dependancy in 'Procedure',

$SELF.'PIECES'=$SELF.'WEIGHT'1000$SELF.'Z_LENGTH'/$SELF.'SECTIONWEIGHT'.

While consistency check that is whether the formula is correct or not, system throwing me an error, 'Syntax error in simple action/procedure'

Kindly help to resolve this and also give input to handle the above scenario.

SmanS