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.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Can't transform a purchase order to a vendor return authorization?
Getting an error when attempting to transform a purchase order to a vendor return authorization. Anyone else seen this?
INVALID_REF_CANT_INITIALIZE - You can not initialize vendorReturnAuthorization by referencing purchaseOrder.
Here's my code (C#):
InitializeRecord initRecord = null; VendorReturnAuthorization record = null; initRecord = new InitializeRecord { type = InitializeType.vendorReturnAuthorization, reference = new InitializeRef { externalId = purchaseOrder.externalId, type = InitializeRefType.purchaseOrder, typeSpecified = true } }; ReadResponse response = service.initialize(initRecord); SuiteScript documentation says it's a supported transform (though I haven't actually tried it), but maybe it's not supported in SuiteTalk yet. I'll probably submit a support case, but thought I'd check here first to make sure it isn't something obvious I'm missing.
0