a
message has been deleted
b
you are probably looking for data related to approval status
an approved journal entry is posting
a
I checked that but most of the entries have approval status NA (both in the JournalEntry and Journal_Line tables) while they are still being posted
ran a report on the front end to verify and it seems approval status does not signify posting a snippet from the report is below:
b
im not really sure what gets an approved journal entry to be non posting
you may to do a transaction search instead to get the posting column
a
How would I do that? would I need to go check each document number or is there a table I can pull to do it internally in our DB?
b
you are asking in the suitetalk channel
you get soap or rest api related answers
a
This is a SOAP api related question
I am trying to use soap api for all these operations
b
soap uses saved searches, which are similtar to tables, but not quite
you dont usually try to think of saved searches at the database level
especially not in soap where formulas are uncommon
a
We tried the saved search approach that does give the desired results but takes too long to execute >18 Hrs. so that is not a solution we can live with. specially since there is no way to get incremental changes. However we have found that there are tables that can be pulled like "JournalEntry", "Journal_Line" etc. that provide the base information for building the transactions, these tables also provide incremental updates.
We want to avoid doing any operations in netsuite since that is pretty slow response the solution we think would be best is to pull the individual tables and then do the processing on internal systems
b
again, your tool is hiding its implementation from you
and i suspect hiding how inefficiently its doing its searches
18 hours is the performance you get from loading every record
you should see much better performance doing Advanced Searches
a
With the saved search solution we do need to load every record. since it does not provide incremental data doing a date based pull or last updated pull would not give us information on deleted entries
b
by loading a record, i mean using get or one its related operations
both of which internally load multiple tables worth of data to represent a record
a
thanks let me look into this a bit more!
b
doing an advanced search allows you to specify only the columns you need, which is much faster
a
Doesn't saved search already specify the columns? we have only 10 or so columns that we are trying to pull for all transactions so while the number of transactions is quite large the number of columns is very reasonable
b
a basic saved search does not specify columns