q: i added a new custbody field xml file in "Objec...
# suitescript
k
q: i added a new custbody field xml file in "Objects" and deployed; I see it in the customization list but i don't see the ability to search by it in sales order search. its contents (except the name and field type=text) are the same as another body field i created this way. what am i missing?
a
probably a better question for #C42JX79UZ but I'm not sure what you mean by "name" there is no name tag in the the xml file for a custbody field. are you talking about the label? or the script id? I think both would need to be different
k
scriptid
i'll join that channel, been a while since i joined - i'll join there
both the scriptid and the label are different
"store value" is enabled fwiw
a
i think most people create new objects in the UI, then add them into their SDF projects via their IDE, rather than just editing the XML
k
i'm looking at them in the ui and i can't identify any difference between them
other than one shows up as a selectable field and one doesn't
(when performing a search on sales orders)
a
as a result column? or a filter?
k
filter
it does not appear in either place though
a
k and you've tried doing a hard refresh? ctrl-F5 since deployng the new field?
k
i'll try that
a
is it applied to at least one of the transaction types?
k
yes - bodysale - sorry, on phone
a
no worries
k
hard refresh did it (lol)
a
😄
k
TIL i guess
thanks!
a
sure thing! 👍