IF the payment is same vendor but from different bank the sepearate both the entries and pass bank payment voucher and attached the dimension as per your requirement.
TDS calculation will take place after creation of NOD lines for that vendor from TDS setup
Why there are two different dimensions for Vendor and Bank?
For above your entry TDS will calculated as per setup and for Work Tax you have enabled some fields on voucher and calculate the WCT… If not create one account in COA and select the account during the entry.
Actually this is the Case of 2 Factory in Single Location so i have created FIN-02 Dimension for Factory Unit 1 and FIN-22 For Factory Unit II, So i want to do Payment to FIN-22 Vendor from FIN-02 Unit.
Thats why i am passing the entry mentioned but unable to do so.
You have to maintain one account as interbranch at both side i.e. receiving and paying and from that account you can make payment and receipt in case of diiferent factory dimenaion in one transaction