Bruno Borges
10/29/2024, 10:29 AMapplied
or unapplied
should be used, e.g:
const creditMemo = search.create({
type: 'vendorcredit',
filters: [
['applied', search.Operator.EQUALTO, 0],
],
columns: ['internalid','custbodyenquiry_id', 'trandate', 'name']
});
However, it does not matter the combination that I use, I’m always getting the following error SSS_INVALID_SRCH_FILTER
.
Does anyone have any clue how to achieve this?battk
10/29/2024, 11:25 AMbattk
10/29/2024, 11:26 AMraghav
10/29/2024, 11:55 AMBruno Borges
10/29/2024, 1:13 PMvendorcredit
type!! Your plugin allows me to understand that I should use`amountremainingisabovezero` field instead of unnaplied
or applied
Snippet with the code that works for me
const vendorCredit = search.create({
type: "vendorcredit",
filters: [
["type","anyof","VendCred"],
["amountremainingisabovezero","is","T"]
],
});