Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Create a copy of the Bill Button on PO
Hi all,
I'm looking to copy the functionality of the Bill button on the PO, so that we can have the option to overbill in some cases. I have tried both of these options in the ResolveURL method, but not been able to get it working:
window.location.href = nlapiResolveURL('TASKLINK', 'EDIT_TRAN_VENDBILL')+'?transform=purchord&id='+ nlapiGetRecordId() + '&e=T&memdoc=0';
window.location.href = nlapiResolveURL('RECORD', 'vendorbill')+'?transform=purchord&id='+ nlapiGetRecordId() + '&e=T&memdoc=0';
It just gives the error:
Transaction type specified is incorrect.
Has anyone experienced this or managed to get it working?
0