Hi All, I am facing this issue.can anyone help me ...
# suitescript
s
Hi All, I am facing this issue.can anyone help me how to solve this error. "You may not modify this Purchase Order in such a way that it removes all links to any Item Receipt." Thanks
c
What are you doing to the PO?
s
Creating PO with script
c
Creating or modifying?
s
creating And i am using workflow to transform to item receipt
c
does the creation work if you disable the workflow?
s
Hmm i didn't try let me try by disabling workflow
Yes by disabling workflow error is resolved may i know what causes this issue
c
the workflow is doing something to remove the link between itself and the PO
so it would be a receipt without an originating transaction.
s
Hmm i am just transforming PO to IR and then to bill is there any other way to do this
c
There's nothing wrong with that - I am doing the same, you just need to set the field that links them
I think it's the 'created from' field
so on the IR, the created from field should be the internal ID of the PO
or something like that
s
Hmm there is a link IR to PO in created from field
c
Is the correct data being entered into that field?
you can do it via name or internal ID I think
s
Yes it is correct data workflow is transforming properly but throwing that error