I have some fields missing in the inventoryitem st...
# replication-troubleshooting
j
I have some fields missing in the inventoryitem stream of the NetSuite connector. Using the same credentials, I can see the fields and currently bring in the same data with another tool. Is there a way to manually add those fields to the stream?
p
On Schema tab for a connection there is a
Refresh source schema
button
j
I've tried that a few times but those fields are still not showing up
p
What fields are missing? As I can see in the source code, some fields were explicitly removed from schema streams.py#L111-L112 constraints.py#L26-L32
j
quantityavailable, quantityonhand, quantitybackordered, and quantitycommitted. I also see them in the NetSuite Schema Browser
p
It looks like more debugging is needed. Unfortunately I don't have NetSuite account, so I cannot help more
j
@Przemysław Dąbek ChatGPT said it could be that the sample scan of the schema for that table did not have those fields in it. Could that be the case? If so, is there a work around for that? Thank you for your willingness to help
p
Implementation of get_schema suggests that it uses
REFERAL_SCHEMA_URL
(value:
"/services/rest/record/v1/metadata-catalog/nsLink"
) as starting point for building schema, so it might use only metadata from that endpoint(?). You need to experiment with Python code from NetSuite connector