Re: loadDefault Source Code

2018-01-16 Thread Mike
Here is the sequence as I understand it. Ofbiz first loads: ./framework/base/config/component-load.xml, which has: That is the INITIAL sequence. It takes the first one (framework), and looks for component-load.xml... i.e: ./framework/component-load.xml Reads it, gets

Re: loadDefault Source Code

2018-01-16 Thread Taher Alkhateeb
Okay so the order of loading data is by component and reader type. Component loading order is determined in the related XML files and reader loading is defined as per the entityengine configuration loading order which goes from seed all the way to ext-demo as I remember it. Now if you want to go

Re: loadDefault Source Code

2018-01-16 Thread stimits
The trouble with that is I'm interested in dumping the logic of how the load order is determined specifically with the loadDefault. If there were a command such as "./gradlew --explain loadDefault", where it verbosely named which file is chosen, what kind of sorting is used, and what it was

Re: loadDefault Source Code

2018-01-16 Thread Taher Alkhateeb
Okay so in this case my recommendation is to skip looking at the source code and instead learn the syntax for loading data. ./gradlew "ofbiz --help" and README.md are good sources for that. There you will find plenty of options for loading data including specifying readers, components, files,

Re: loadDefault Source Code

2018-01-16 Thread stimits
I am interested in how the list of files is chosen, along with the rules for order of choosing. I am thinking of custom loading for my own testing, but mostly I just feel I need to better understand what the "All" of "loadAll" is. - Original Message -From: Jacques Le Roux

Re: Customer Refund On Approved Sale Order Item Cancelled/Edit

2018-01-16 Thread Rishi Solanki
Satish Saini, Your understanding is correct that until you shipped an item in real business scenario you won't be able to create refund for that order. You simply needs to cancel that order. If you check cancel order flow you will get all the cross entires against it and void transaction as

Re: Customer Refund On Approved Sale Order Item Cancelled/Edit

2018-01-16 Thread Tarun Thakur
Hello Satish, Glad that you have asked this question. I too had faced this problem and had a conversation here in past. This is the case of a post void transaction which in my knowledge isn't handled in OFBiz. You can customize it as per your need. If I'm wrong kindly do correct me. *Thanks &

Customer Refund On Approved Sale Order Item Cancelled/Edit

2018-01-16 Thread satish
Hi All, In case of sale order which is in approved status, When an item is cancelled or quantity is decreased so how does the refund flow work in OFBiz. Currently, i have just checked that there is only refund after creating a return only when order is shipped/completed. But in my case