Hi Mat,
i created a flutter mobile app with a REST interface to ofbiz which
gives you plenty of examples how to do this.
please check :
the ofbiz plugin: https://github.com/growerp/growerp-ofbiz
the flutter app: https://github.com/growerp/growerp
the ofbiz plugin is a bit behind the moqui plugin but is fully
functional with the flutter version last December.
Regards,
Hans
On 7/6/21 10:12 PM, matt domanowski wrote:
I am new to OFBiz but fairly familiar with ERPs in general. We are trying to
make API calls into OFBiz using the Java classes.
For example, something simple such as searching products from a stand alone
Java app importing the OFBiz classes is proving very difficult.
(See below example)
..
ResultSortOrder resultSortOrder=new ProductSearch.SortKeywordRelevancy();
List<ProductSearchConstraint> productSearchList=new
ArrayList<ProductSearch.ProductSearchConstraint>();
productSearchList.add(new ProductSearch.CategoryConstraint("*",
true, true));
ProductSearch.searchProducts(productSearchList,resultSortOrder,delegator,visitId);
..
Does anyone have examples on how to do this. There does not seem to be any
examples online. We would prefer to use the Java classes directly as they are
documented. The web services seem less developed and there also seems to be
very little documentation on those.