[#Line: STKVCH Batch2] Add:Option:STKVCHcost: @@ispurchase [!Line:STKVCHcost] Field:STKVCHcost2 [Field:STKVCHcost2] Use: namefield Storage:selprice [system :udf] selprice :string:1001 [#Collection: Active Batches VchExtract] add:Option:ActiveFllalt: @@issales [!Collection:ActiveFllalt] add: Fetch:selprice add: Compute :sellingprice:$selprice ;;+ $$Number:$nosadllcost add: Format : $selprice,8