Discussions
Return Customer InternalID or Entity from Search
I'm doing a search for all sales orders and I need to return the Customer's InternalID or EntityID as one of the columns. (It doesn't matter which but InternalID would be preferred). I've tried the following column object declarations with no luck. Any help is appreciated.
columns[0] = new nlobjSearchColumn("entity");
columns[0] = new nlobjSearchColumn("entityid");
columns[0] = new nlobjSearchColumn("internalid"); <--this return sales order number, of course.:)
columns[0] = new nlobjSearchColumn("id");