Miva Merchant 4 Module FAQs » Generic Order Export (BROK_GENEXPORT)
That's exactly the sort of thing it is for.
To limit the export only to particular shipping methods, you have two approaches. If the ship_data field (i.e. Orders.d.ship_data) contains a specific string to include then you could use this:
('UPS' CIN %shipdata%)
But the UPS Advanced module doesn't include the UPS string in the ship_data field (but it does include the UPS designation for the shipping method, eg. GND, 1DA, so you could filter on those). So you will need to use the ship_id field of the database (this stores the id of the module). You can determine it by looking at the Orders database directly, at the ship_id field. Another simpler approach is to add the token %shipid% to your orders template, run a test export, and see what %shipid% is listed for order which uses the shipping module you're interested in.
With the ship id in hand (in this example it is 73) you would use:
(%shipid% Eq '73')
and this would export only those orders which used that module.
(%shipid% NE '73')
would export only those orders which did NOT use that module.
Most Recent FAQ Entries:
Top 10
Using "Order Filter" to Limit the Export to a Particular Shipping Method
Can I use the "order filter" to limit the export to only orders that used a particular shipping method?
That's exactly the sort of thing it is for.
To limit the export only to particular shipping methods, you have two approaches. If the ship_data field (i.e. Orders.d.ship_data) contains a specific string to include then you could use this:
('UPS' CIN %shipdata%)
But the UPS Advanced module doesn't include the UPS string in the ship_data field (but it does include the UPS designation for the shipping method, eg. GND, 1DA, so you could filter on those). So you will need to use the ship_id field of the database (this stores the id of the module). You can determine it by looking at the Orders database directly, at the ship_id field. Another simpler approach is to add the token %shipid% to your orders template, run a test export, and see what %shipid% is listed for order which uses the shipping module you're interested in.
With the ship id in hand (in this example it is 73) you would use:
(%shipid% Eq '73')
and this would export only those orders which used that module.
(%shipid% NE '73')
would export only those orders which did NOT use that module.
Last update: 2003-07-30 01:07
Author: Support
Revision: 1.0
You cannot comment on this entry
Most Recent FAQ Entries: 
- I have the UPS Custom Integration configured so that ... (2008-07-11 10:21)
- I would like to conditionally display something for a ... (2008-07-03 17:37)
- Is there any way to configure specific global headers ... (2008-06-02 18:28)
- I pay my affiliates with gift certificates from your ... (2008-05-29 10:42)
- Is there any way to add a negative number ... (2008-05-22 13:51)
Top 10 
- 2528 views:
Adding Tokens to Evaluate Expressions - 2515 views:
Why won't you call me for technical support? I ... - 2496 views:
Is there a way to "Limit" the number of ... - 2405 views:
Are license keys valid for more than one store? ... - 2313 views:
I'm trying to enter a license key and get ... - 2276 views:
How do I install a module? - 2137 views:
How do I check for a module upgrade? - 2135 views:
How can display and change the parameters of an ... - 1964 views:
The total on my checkout pages are not correct. ... - 1846 views:
I have select and radio type attributes in my ...
















