#7197 filter by correcting & supplierActivity #2641

Merged
jorgep merged 13 commits from 7197-fixInvoiceIn into dev 2024-07-29 07:43:57 +00:00
1 changed files with 6 additions and 0 deletions
Showing only changes of commit dce62245e9 - Show all commits

View File

@ -87,6 +87,10 @@ module.exports = Self => {
{ {
arg: 'correctingFk', arg: 'correctingFk',
type: 'Boolean', type: 'Boolean',
},
{
arg: 'supplierActivityFk',
type: 'string',
} }
], ],
returns: { returns: {
@ -155,6 +159,8 @@ module.exports = Self => {
: {'ii.id': {nin: correcteds.map(x => x.correctingFk)}}; : {'ii.id': {nin: correcteds.map(x => x.correctingFk)}};
case 'correctedFk': case 'correctedFk':
return {'ii.id': {inq: correctings.map(x => x.correctingFk)}}; return {'ii.id': {inq: correctings.map(x => x.correctingFk)}};
case 'supplierActivityFk':
return {'s.supplierActivityFk': value};
} }
}); });