proforma invoice is sales voucher only , while printing sales invoice, we select in printing setting --> titling -> proforma invoice instead of gst invoice , but when we take printout - title is proforma invoice , but number box by default is "invoice No" , but since this performa invoice , it should print as "proforma invoice" & this change is possible by writing tdl code , it is done by some developer , proof is attached , so i request you to write code for me , in which their should be condition if sales invoice title is "gst invoice" it should print as "invoice No" & if sales invoice title is "proforma invoice" it should print as "proforma invoice No" . similar code for purchase order is as follows : [#Part: EXPINV Number] Local : Field : EXPINV SubTitle : Set as : IF @@IsPurcOrder Then "Purchase Order No." ELSE @@InvNumTitle