Modify record in form called by invoice order and not in purchorder

i had the same menuitem in purchorder and invoice order how can i modify the record in menuitem when it called by invoiceorder and not in purchorder 

Related
Recommended