hey guys, I am having the following weird error wh...
# suitetalkapi
d
hey guys, I am having the following weird error when trying to make a vendor payment with more than 2 items. In my case, when a vendor has only 1 item, it’s sufficient for me to create a vendor payment by running ‘apply = true and line = 0’ (see below). But this is not the case for a vendor with more than 2 items. Not sure if anyone has experiences this before. need some help. ty
b
line is not a reliable key
d
I also tried this
b
Working with Sublists involves matching keys, which as far as i can tell, matches the Keyed Sublists from soap
keys may not match, but the general idea is to guess the key field and match the keys of the lines you want to update
that it worked with line suggests that the vendor payments may simply not work in general
d
mmm, still going through the web page. Do you have any other suggestions?
b
my guess is that vendor payments arent ready for beta testing and they mixed up the data on what is the key
for customer payments, which is a very similar record, the doc acts as the key
d
yeah, the vendor payment also has doc key and if I assign external id to the created vendor bill. It still gives me the same error
j
^ i suspect is that @battk is right, in that the API doesn’t work properly for vendorpayments. i had a similar issue with customer payments (exact same error) which was resolved once i updated to 2020.2.