After creating credit note,some -ve quntities got created in Purch lines.
Thinking creating again credit note,i tried to delete those lines am getting this error "Remove adjustment of tax amount".
In infolog ->edit ->got to know that Class->PurchLineType->ValidateDelete-> if any record in Taxworkregulation against that purch recid,this error comes.
But in test server i created -ve qty using credit note and i was able to delete that line.
But validateDelete is standard method then why am not able to delete in PROD ?
Should i comment condition in validateDelete or delete records in Taxworkregulation....so that i can delete those -ve qty lines in purch lines ?