creece
02/20/2020, 7:37 PMvar salesOrderSearch = search.create({
type: search.Type.SALES_ORDER,
columns: [
{name: 'internalid'}
],
filters: [
['otherrefnum', <http://search.Operator.IS|search.Operator.IS>, PURCHASE_ORDER_TRANSACTION_ID]
]
});
I have this super simple search here in code that looks for Sales Orders that have the otherrefnum of what I am specifying (PURCHASE_ORDER_TRANSACTION_ID). No matter what the value of PURCHASE_ORDER_TRANSACTION_ID is, it always returns the exact same Sales Order which definitely does not have the same value. Its as if the filter isn't working but its a text field so this should have no issues....is there just something stupid I am not seeing?battk
02/20/2020, 7:46 PMmtsb
02/20/2020, 7:48 PMbattk
02/20/2020, 7:51 PMcreece
02/20/2020, 8:06 PMbattk
02/20/2020, 8:06 PMbattk
02/20/2020, 8:09 PMbattk
02/20/2020, 8:09 PMcreece
02/20/2020, 8:10 PMcreece
02/20/2020, 8:12 PMmtsb
02/20/2020, 8:16 PMcreece
02/20/2020, 8:17 PMcreece
02/20/2020, 8:18 PMstalbert
02/20/2020, 8:19 PMstalbert
02/20/2020, 8:19 PMcreece
02/20/2020, 8:21 PMcreece
02/20/2020, 8:21 PMPatrick A.
02/21/2020, 12:17 AM