[A] Go to "Setting Module" (1), Select "Document Fields" (2).
[B] In the Document field select "Options" (3).
[C] Select Document type as "Invoice" (4), In Purchase/Sales select "Buyer or Supplier" (5).
[D] Click on the grey mark to make it blue in front of Vendor Code (6).
Keywords: Vendor Code, Invoice Setting