BOI - How to insert an adjustment record in AP Invoice Data Entry

SOLVED

Hi

I am using BOI to insert records in AP Invoice Data Entry. I am able to insert the header and lines record
successfully. Can anybody please help me understand how can I insert an adjustment record? Because while inserting an adjustment
record I have to use the same invoice number inserted before and when I try to insert the same invoice number, I get an exception which says
"Invoice number is in use by another user". Is there any header field that I have to set while inserting an adjustment record?
The header fields that I am inserting are
APDivisionNo
VendorNo
BatchNo
InvoiceNo
InvoiceDate
InvoiceDueDate
HoldPayment
Comment
Adjustment
RecurringInvoice
SeparateCheck
InvoiceAmt
NetInvoiceAmt
TermsCode

Thank you in advance.