invoice module has 1 to many relationship with abc module
step1: pdf template module->choose type as abc(custom module)
step2: choose insert field module as invoice-invoice
step3: insert any invoice module field
sep4: save the pdf
now go to abc(default module) and choose print pdf option
downloaded pdf doesn’t generate a dynamic variable though we have save the the record in front end