cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

URGENT!! How to Set Plant to null/None on LineItems

Former Member
0 Likes
151

Hi,

I am trying to remove the plant from lineItems so that It does not appear in the line item list.

How can do that? I have tried a million things to get it off. but to no success.

I tried using Objectreference creation through TypeFactory and did not succeed.

Tried doc.getFieldMetadata("PLANT").set(doc,null)

Please assist as this is rather urgent. client waiting to publish contract worth millions. So in a very tight situation.

Thanks in advance

Tebogo

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Are you importing the line items via the CSV/xls file or are you using the 'add material' button on the line items tab to accomplish this..?

If you are using the import functionality, set the value of Plant column to 'NULL' . If you are using the UI to add material, I beleive there is a query that can add the material without bringing in the Plant data.

Alternatively yuu can select the item details and in the detail pane navigate to the plant field and select 'None' in the picker. This will clear out any plant data that has been brought over from the material.

PS: all of the above is applicable to ES 9.x of the product.