...
Note |
---|
This setting affects performance and should only be used for low volumes |
...
Onestock advices
Basic queries
We advise you to use inheritance to build your queries.
First of all
For orchestration
to create the basic queries, i.e. :
detailed
- this basic query is supposed to return all available stocks from all stock locations on all items. A single aggregateall
can be created, which can refer toendpoints
anditems
queries, and with all deductions set. Only the setting of global reservations can be added.unified
- the query inherits fromdetailed
. Only the setting of unification (by stock type and by stock location) has to be enabled.
Note |
---|
The |
For orchestration
We recommend that you separate orchestration requests according to delivery type. In our example, we have 3 types of delivery:
Ship From Store:
Click and Collect express:
Click and Collect standard:
For stock export
For the OIS catalog
...
This is what our stock queries tree should look like.
detailed
unified
orchestration_detailed_sfs
orchestration_unified_sfs
orchestration_detailed_sfs_fr
orchestration_unified_sfs_fr
orchestration_detailed_sfs_uk
orchestration_unified_sfs_uk
orchestration_detailed_ckc_exp
orchestration_unified_ckc_exp
orchestration_detailed_ckc_exp_fr
orchestration_unified_ckc_exp_fr
orchestration_detailed_ckc_exp_uk
orchestration_unified_ckc_exp_uk
orchestration_detailed_ckc_std
orchestration_unified_ckc_std
orchestration_detailed_ckc_std_fr
orchestration_unified_ckc_std_fr
orchestration_detailed_ckc_std_uk
orchestration_unified_ckc_std_uk
export_detailed_fr_full
export_unified_fr_full
export_detailed_fr_diff
export_unified_fr_diff
export_detailed_uk_full
export_unified_uk_full
export_detailed_uk_diff
export_unified_uk_diffois_detailed_fr
ois_unified_fr
ois_detailed_uk
ois_unified_ukeresa_detailed_fr
eresa_unified_fr
eresa_detailed_uk
eresa_unified_ukdp_detailed_fr_method1
dp_unified_fr_method1
dp_detailed_fr_method2
dp_unified_fr_method2
dp_detailed_uk_method1
dp_unified_uk_method1
dp_detailed_uk_method2
dp_unified_uk_method2in_stock
(image KO)
...