I would like to filter the List with a customer ID. The VB code looks like this:
Dim p As Sage.Peachtree.API.VendorReceiptList = Me.company.Factories.VendorReceiptFactory.List()
Dim vendorFilter = PropertyFilterExpression.Equal(PropertyFilterExpression.Property("Customer.ID"),
PropertyFilterExpression.Constant(customerId))
Dim vendorModifyer = LoadModifiers.Create()
vendorModifyer.Filters = vendorFilter
p.Load(vendorModifyer)
The Customer.ID does not work. Other strings which have been tested ad do not work:
VendorReceipt.CustomerID, VendorReceipt.CustomerID, VendorReceipt.....
As already mentioned in other Questions it would be nice to have a list of Property Filters for all Factory Lists.