vector.remove is not working

aclalanme

New Member
I am trying to remove an object from a vector. First I have added the object in the vector using vector.add(). After that I have called vector.remove() on the same object. But now it's not removing. I know it's not any bug. I am doing mistake in a point. But after couple of hours search I couldn't find the reason. Anyone please help. I am sharing the object that I added and the object that I am trying to remove both as below:Added first:\[code\]{ "bomConvertMode": "", "bomConvertStatus": "", "bomConvertTime": "Jan 1, 1 12:00:00 AM", "bomConvertUser": 0, "bomId": 0, "bomSourceLoc": 0, "bomTargetLoc": 0, "codeDealer": "", "codeDepartment": "", "codeProject": "", "codeSalesman": "", "colSerial": [], "colSerialObj": [], "date_end": "Jan 1, 1 12:00:00 AM", "date_start": "Jan 1, 1 12:00:00 AM", "glCodeCredit": "", "glCodeDebit": "", "jobsheetItemId": 0, "jobsheet_index_pkid": 0, "loyaltyJTxnReversalStatus": "NOACTION", "loyaltyJTxnStatus": "NOACTION", "loyaltyLogic": "", "loyaltyPointsAwarded": 0, "loyaltyPointsRedeemed": 0, "loyaltyProcessReversalStatus": "NOACTION", "loyaltyProcessStatus": "NOACTION", "mBarCode": "", "mBdName1": "", "mBdValue1": 0, "mCurrency": "", "mCurrency2": "", "mDocGuid": "", "mGuid": "A11B821A-4E89-43C9-B97F-CD757054EFF3", "mIntName1": "", "mIntName2": "", "mIntValue1": 0, "mIntValue2": 0, "mInvoiceId": 0, "mItemCode": "KEN5122100K", "mItemId": 6353, "mName": "10oz PLUMB BOB", "mOutstandingQty": 0, "whtTaxType": "", "mParentId": 0, "mPic1": 0, "mPic2": 0, "mPic3": 0, "mPkid": 0, "mPosItemGuid": "", "mPosItemId": 0, "mPosItemType": "", "mRemarks": "", "whtTaxRate": 0, "mState": "", "mStatus": "", "mStrName1": "", "mStrName2": "", "mStrName3": "", "mStrValue1": "", "mStrValue2": "", "mStrValue3": "", "mTaxAmt": 0, "mTaxAmt2": 0, "mTotalQty": 19, "mUnitCommission": 0, "mUnitCostMa": 0, "mUnitDiscount": 0, "mUnitDiscount2": 0, "mUnitPriceQuoted": 28, "mUnitPriceQuoted2": 0, "mUnitPriceStd": 28, "mUnitPriceStd2": 0, "package_group": "NONE", "pseudoCode": "", "pseudoCurrency": "", "pseudoDescription": "", "pseudoLogic": "", "pseudoName": "", "pseudoPrice": 0, "pseudoQty": 0, "serialNumbers": "", "src_document_key": 0, "src_document_table": "", "stkId": 0, "stkLocationCode": "", "stkLocationId": 0, "taxCode": "", "taxFilingCycle": "", "taxFilingDate": "Jan 1, 1 12:00:00 AM", "taxFilingStatus": "", "taxOption": "", "taxRate": 0, "taxType": "", "uom": "", "uomRatio": 0, "vecBatchExpiry": [], "vecDiscountElement": [], "warrantyExpiry": "Jan 1, 1 12:00:00 AM", "warrantyOption": "", "warrantyType": "", "whtFilingCycle": "", "whtFilingDate": "Jan 1, 1 12:00:00 AM", "whtTaxAmount": 0, "whtTaxBalance": 0, "whtTaxCode": "", "mSerialized": false, "mPackage": false}\[/code\]Removed here: \[code\]{ "bomConvertMode": "", "bomConvertStatus": "", "bomConvertTime": "Jan 1, 1 12:00:00 AM", "bomConvertUser": 0, "bomId": 0, "bomSourceLoc": 0, "bomTargetLoc": 0, "codeDealer": "", "codeDepartment": "", "codeProject": "", "codeSalesman": "", "colSerial": [], "colSerialObj": [], "date_end": "Jan 1, 1 12:00:00 AM", "date_start": "Jan 1, 1 12:00:00 AM", "glCodeCredit": "", "glCodeDebit": "", "jobsheetItemId": 0, "jobsheet_index_pkid": 0, "loyaltyJTxnReversalStatus": "NOACTION", "loyaltyJTxnStatus": "NOACTION", "loyaltyLogic": "", "loyaltyPointsAwarded": 0, "loyaltyPointsRedeemed": 0, "loyaltyProcessReversalStatus": "NOACTION", "loyaltyProcessStatus": "NOACTION", "mBarCode": "", "mBdName1": "", "mBdValue1": 0, "mCurrency": "", "mCurrency2": "", "mDocGuid": "", "mGuid": "A11B821A-4E89-43C9-B97F-CD757054EFF3", "mIntName1": "", "mIntName2": "", "mIntValue1": 0, "mIntValue2": 0, "mInvoiceId": 0, "mItemCode": "KEN5122100K", "mItemId": 6353, "mName": "10oz PLUMB BOB", "mOutstandingQty": 0, "whtTaxType": "", "mParentId": 0, "mPic1": 0, "mPic2": 0, "mPic3": 0, "mPkid": 0, "mPosItemGuid": "", "mPosItemId": 0, "mPosItemType": "", "mRemarks": "", "whtTaxRate": 0, "mState": "", "mStatus": "", "mStrName1": "", "mStrName2": "", "mStrName3": "", "mStrValue1": "", "mStrValue2": "", "mStrValue3": "", "mTaxAmt": 0, "mTaxAmt2": 0, "mTotalQty": 19, "mUnitCommission": 0, "mUnitCostMa": 0, "mUnitDiscount": 0, "mUnitDiscount2": 0, "mUnitPriceQuoted": 28, "mUnitPriceQuoted2": 0, "mUnitPriceStd": 28, "mUnitPriceStd2": 0, "package_group": "NONE", "pseudoCode": "", "pseudoCurrency": "", "pseudoDescription": "", "pseudoLogic": "", "pseudoName": "", "pseudoPrice": 0, "pseudoQty": 0, "serialNumbers": "", "src_document_key": 0, "src_document_table": "", "stkId": 0, "stkLocationCode": "", "stkLocationId": 0, "taxCode": "", "taxFilingCycle": "", "taxFilingDate": "Jan 1, 1 12:00:00 AM", "taxFilingStatus": "", "taxOption": "", "taxRate": 0, "taxType": "", "uom": "", "uomRatio": 0, "vecBatchExpiry": [], "vecDiscountElement": [], "warrantyExpiry": "Jan 1, 1 12:00:00 AM", "warrantyOption": "", "warrantyType": "", "whtFilingCycle": "", "whtFilingDate": "Jan 1, 1 12:00:00 AM", "whtTaxAmount": 0, "whtTaxBalance": 0, "whtTaxCode": "", "mSerialized": false, "mPackage": false}\[/code\]
 
Back
Top