I am trying to attach a preferred vendor to an ite...
# suitetalkapi
n
I am trying to attach a preferred vendor to an item. My request is successful but the Vendor doesnt show up. The audit log is interesting; it is saying that I unset the vendor in the same request. Any tips?
<ns31:itemVendorList>
<ns31:itemVendor>
<ns31:vendor internalId="25030"/>
<ns31:purchasePrice>46</ns31:purchasePrice>
<ns31:preferredVendor>true</ns31:preferredVendor>
</ns31:itemVendor>
</ns31:itemVendorList>
m
I just tried it using the same XML you have there and it worked for me. Since the system notes show that it’s being set and then unset, I would look for
afterSubmit
scripts/workflows that may be working here. Start with Customization > Scripts > Scripted Records and see what’s running in
afterSubmit
.