Skip to Content
Former Member
Aug 08, 2007 at 09:59 AM

Dependency to change BOM quantity + 1



I have a scenario, where we want to change the quantity of BOM item to original quantity + 1 if a certain characteristic is fulfilled. Now I have tried $self.stpo_menge = 1 + mdata $self.stpo_menge, but what happens, is that i get multiples of the original quantity. Eg. if in BOM quantity is 1 pc and in order 2 pc, my component requirement should be 1 + 2 = 3 pc, but currently it is (1+1)*2 = 4 pc. Can you please help, which formula do I require to make the adding of the 1 pc to the final quantity?

Thanks in advance!