on 07-17-2015 8:42 AM
Hi all,
I'm trying to loop over all Customers in an absl script, but for the standard business object Customer there is no QueryAll, only a QueryById.
Does someone have an idea if there is a way to query all Customers?
Or is it that obvious and am I missing something here?
Thanks in advance!!
Hi Sander,
Fred Is correct you can user comment by Fred
Or
Try this
import ABSL;
import AP.FO.BusinessPartner.Global;
var query = Customer.QueryByIdentification;
var resultData = query.Execute();
In resultData you can get all Customer and you can navigate in association as well.
I hope this will be helpful to you.
Regards,
Mithun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sander,
You can query all customers by QueryByID.
var queryResult =Customer.QueryByID.Execute();
That will give you all the customers.
Best Regards
Fred
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.