Cause
Tally shows the errors "Proper Pay Link name not given for ... Bank " and "Proper Payment mode not given for ... Bank" while creating voucher through function in Tally.ERP 9 Release 4.8.
Solution
Due to the schema changes for the purpose of banking enhancements, setting value to the methods Name and Payment Mode at Bank Allocations level is mandatory from Tally.ERP9 Release 4.8 onwards.
Refer to the below code snippet:
[Function: ReceiptVchCreate]
20 : INSERT COLLECTION OBJECT : BANKALLOCATIONS
21 : Set Value : Name : $$MakeUniqueID
22 : Set Value : Payment Mode : "Transacted"
The function $$MakeUniqueID generates the Unique GUID.