I have create code for importing purchase with inventory but when i set rate and quantity code is not run. Please help to prove code. 80 : INSERT COLLECTION OBJECT : Inventory Allocations 90 : SET VALUE : STOCKITEMNAME : $DSDitname 100 : SET VALUE : ISDEEMEDPOSITIVE : "Yes" 105 : SET VALUE : ISLASTDEEMEDPOSITIVE : "Yes" 110 : SET VALUE : RATE : $$AsRate:$dsrate 120 : SET VALUE : Amount : $$Negative:$$AsAmount:$dsamount 130 : SET VALUE : ACTUALQTY :$$asqty:$dsqty 140 : SET VALUE : BILLEDQTY :$$asqty:$dsqty ;;-------------------------------------------------------------- 150 : INSERT COLLECTION OBJECT : BATCH ALLOCATIONS 160 : SET VALUE : GODOWNNAME : "Main Location" 161 : SET VALUE : BatchName : "Primary Batch" 162 : SET VALUE : Amount : $$Negative:$$AsAmount:$dsamount 163 : SET VALUE : ActualQty :$$asqty:$dsqty 164 : SET VALUE : BilledQty :$$asqty:$dsqty 165 : SET TARGET : ..