I want to export sales order data of a particular previous date.
Actually we have scheduled job that export the order data in csv daily , all of them works very well but sometime due to deployment time clashes or xyz issue, csv of particular day would not get generated and it lead to a problem to our sales person. Our sales or business owner want such provision in which we can generate reporting of a particular day.
Best Answer
-
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,052 ⚖️ - Guardians (admin)
Heyhey @mohammed.shamim,
maybe I do not understand the problem statement correct, but have you checked the folder
data/export/config
already? There should be a config file with a block likedefaults: filter_criteria: &default_filter_criteria order_created_at: type: between from: '2020-05-01 00:00:00' to: '2020-12-31 23:59:59'
So shouldnt it be easy to have another config with rather static values here to get your specified day?
But like I said, I may miss something here. :)
All the best,
Florian
PS.: Maybe this page also gives some more hints:
0
Answers
-
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,052 ⚖️ - Guardians (admin)
Heyhey @mohammed.shamim,
maybe I do not understand the problem statement correct, but have you checked the folder
data/export/config
already? There should be a config file with a block likedefaults: filter_criteria: &default_filter_criteria order_created_at: type: between from: '2020-05-01 00:00:00' to: '2020-12-31 23:59:59'
So shouldnt it be easy to have another config with rather static values here to get your specified day?
But like I said, I may miss something here. :)
All the best,
Florian
PS.: Maybe this page also gives some more hints:
0 -
you got it right, usually process of export data works well, this situation arises infrequently on server where we need to run the export again for specific date. but export command only works for a current date.
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 68 Spryker News
- 890 Developer Corner
- 753 Spryker Development
- 83 Spryker Dev Environment
- 360 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 22 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 68 Spryker Safari Questions
- 50 Random