Different Inoice type ID
I work on an Invoice template from starter solution.
I uploaded the file to understand me, what I want to do.
Go to Invoice details, you will see two fields, proforma No and Original No.
When I select from the invoice type the Proforma option I would like to increase the Proforma No by 1 and when I select from the Incoice type the original option I would like to increase the Original No by 1.
I tried to do but without success.
Please, could you help me?
Thank you in advance,
P.S: sorry for my English!