Is there any way to insert arbitrary number of rows in a custom module in one click via custom function(s)?
Hi,
I have a custom module called Vouchers which holds number of unique alphanumeric voucher codes for an account. The problem for me is sometimes I might have to create more than 100 number of unique vouchers on one click. Now, when I go to add vouchers from Voucher module and choose the account and enter number for vouchers to be created then entered number of unique vouchers should be automatically created.
I am not handy in building custom functions at the moment. However, lets say I grab number of vouchers to be created in the custom function and loop the grabbed number of times to insert the uniquely generated vouchers(have some lines of code to get alphanumeric characters and check its duplication).
Will this custom function work to meet my requirement?