Skip to main content

Community

Connector Improvement: NetSuite Connector - using incremental on transaction_tracking_numbers and other similar tables

Answered

Please sign in to leave a comment.

Comments

5 comments

  • Official comment

    Hi Arshad, 

    Thank you for submitting this feature request. Unfortunately, we cannot support this type of operation as it would require an pre load transformation which is not currently supported by our connector. I would consider asking Netsuite to support the addition of a last modified timestamp instead where our connector would then automatically pick up the column and make the table incremental. 

    Thanks, 

    Frank

    Hello Frank,

    We have already spoken to NetSuite on adding the last modified timestamp and they cannot do that since it already exists on transaction record. Fetching last modified timestamp from transaction table seems very straight forward. In fact, lot of tables in NetSuite2 would be using similar approach. We would like to get NetSuite connector updated to handle this issue.

    Thanks,

    Arshad 

    Hi Arshad, 

    Can you confirm a couple details:

    • Is this for NS1 or NS2? 
    • Is this field custbody_cust_datemodified the correct field? I'm not seeing this field in our documentation which makes me think it's a custom field, but I'll let you confirm. 

    Frank

    Hello Frank,

    This request would be for NS2.

    It seems like the column name is different to what was provided by NetSuite support earlier.

    It's called lastmodifieddate in NS2. I can also connect you guys with NetSuite support if needed.

    Please find below sample code:

    SELECT tn.id AS tracking_number_id, tn.trackingnumber, t.lastmodifieddate

    FROM TrackingNumber tn

    JOIN LinkedTrackingNumberMap ltnm ON ltnm.trackingnumber = tn.id

    JOIN transaction t ON t.id = ltnm.transaction

    Thanks,

    Arshad

     

    Hi Arshad, 

    Thanks for providing this. What is the main use case for shifting these tables to incremental? We've made a couple changes that make reimport tables easier to work with. One is the release of 2025 updated pricing which means that unchanged rows in a reimport table are no longer charged. The other is the release of a "Re-sync reimport tables during every sync" feature which allows customers to control when reimports happen rather than using a given time interval. Hope these new features help. 

    Frank