hey all, trying to use the N/transaction module to...
# suitescript
a
hey all, trying to use the N/transaction module to Void Vendor Bills and Invoices. The Void transaction with reversal journal is enabled on the account, but when running my script, i get the following error: Invalid Record Type
the Bill will likely usually have bill payments, which i am also voiding. I would like to avoid manually creating the bill credit if possible. any advice or guidance would be great!
b
Take a look at transaction.Type to see the types of voids supported by each transaction type.
a
I have, and both transaction types are listed
message has been deleted
message has been deleted
b
direct void is not a reversing journal
a
i understand that, just pointing it out for reference in case that might have been an issue..would i need to disable the feature for direct void to work? otherwise i am not sure why this would fail
b
direct voids and reversing journals have different support for different transactions, enabling reversing journals removes support for voiding certain transactions
notable the ones you are trying to do
a
ahh, ok, this is why i mentioned the feature being enabled!
rolling my eyes at myself here for not reading the field help text for that preference. I’ll show myself the door