Discussions
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Join us
Linking drop-ship purchase orders to sales orders
Can anyone help with this, as I'm completely stuck?
I'm using web services to create a drop-ship purchase order from an existing sales order. I can create the PO just fine, but am unable to link the two records together. I have tried:-
var po = new PurchaseOrder
{
createdFrom = new RecordRef
{
internalId = "1234562", //internal id of sales order
type = RecordType.salesOrder,
typeSpecified = true
},
//snip - rest of details here...
}
This creates the purchase order but not the link.
I've also tried retrospectively setting the purchase order details on the sales order item, but get the dreaded "field is available either when a