Good morning everyone! I got a real head scratcher...
# general
r
Good morning everyone! I got a real head scratcher for you guys that I bet someone has the answer to. I've been asked to provide to a developer a listing of all fields (standard and custom) and their data types. Only for certain tables mind you. Like the "customer" "Sales Order" and "Item Fulfillment" tables. Any idea of how to do this? is there a way to do this in a saved search?
a
if you go to a given record in NS, e,g. a sample sales order or customer, and add "&XML=T" at the end of your doc, it will spit out an XML document including all fields available for that record type
(and their values for that particular record)
that doesn't give you their data types though - for that you could get your list of custom fields easily enough from Customization -> Lists, Records and Fields -> Entity Fields / Transaction Body Fields (etc) and click the "Export to CSV" button
that won't get you standard fields for each record type
if you had Strongpoint installed you could export a list of all Customizations
There is probably a more efficient / savvy way using a Web Services call or series of nested loops, but I don't know it and it would likely take a while to set up unless you've already got a prepped SuiteTalk app
a
@Ricardo there is record broswer for that
but it list native/standard fields
r
wow. thanks all. Yeah, I was aware of the schema browser, and I forgot to mention that. I was just trying to figure out a way to pull all the info nicely and not have 2 lists... Thanks though guys! Confirmed I was already on the right track.
a
Good Luck