cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Service Layer - Filtrar IncomingPayments por factura

0 Kudos
1,116

Hola,

Hay alguna forma de filtrar por factura? Ya que no encuentro forma, la factura se encuentra en las líneas.

GET https://localhost:50000/b1s/v1/IncomingPayments

El resultado deseado sería poder obtener un listado de pagos filtrado por factura (DocEntry)

Saludos

Accepted Solutions (0)

Answers (2)

Answers (2)

JohnR095
Newcomer
0 Kudos
{
    "QueryOption": "$expand=IncomingPayments($select=DocEntry, DocNum),IncomingPayments/PaymentInvoices($select=DocEntry,DocNum)&$filter=IncomingPayments/DocEntry eq IncomingPayments/PaymentInvoices/DocNum and IncomingPayments/PaymentInvoices/DocEntry eq 2472",
    "QueryPath": "$crossjoin(IncomingPayments,IncomingPayments/PaymentInvoices)"
}
ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi mcachile,

Yes, that should be possible.

Kindly refer to SAP Note 3121601 for the same.

Kind regards,

ANKIT CHAUHAN

SAP Business One Support