Hi everyone!
I'd like to create an own API for service quotations and service orders. They are written in the same table (Service Header, 5900), so I would like to create two APIs for this table and filter it for quotes and orders.
I'm not an expert in AL so I don't know how to do that. I've this code snippet where I think there must be set a filter.
field(documentType; Rec."Document Type") { Caption = 'Document Type'; }
Thanks for helping!