Open bkm888 opened 6 years ago
Do we have any movement on this issue? BKM
@bkm888 As we went ahead to find out about this issue, In POS profile we have 'Customer groups' where we can set a default customer group for that profile. We observed that for all the profiles the customer group is 'All Customer Group' which is by default
Steps we followed:
We have added a column 'Customer group' in the report for you to test it efficiently. Will push this code on test gcp server, for you to test. Once you are happy with the output will push it on the live server, without customer group column.
This is how report works now: You can see the customers id (Commerical, Individual, All customer) and compare here.
Does this mean that I have to change the default customer group in all of the profiles to "Commercial" for the mobile sales reps and maybe "Individual" for the retail stores?
If I do that, what will happen when one of then sells to a customer in the opposite group?
Or, does your code fix take care of ignoring the pos profile customer groups?
BKM
@bkm888 Since default customer group in POS profile is 'All customer group' it created the conflict. We suggest you change the group and test. Also, just checked the query you asked in the above comment. It will take care of it. you can check here:
@bkm888 code is pushed to GCP test server. Let us know your observations.
Unmesh and Dev Team,
Myself and another tech have been working on the Daily Sales Invoice testing with the changes you provided on the 35.196.133.96 test server.
Any new invoices we make seem to be counted properly in the report later. However, we do not really understand what is required of us in order to make all of the changes work "all of the time".
We are rally confused about the root cause of the problem and that makes us unsure exactly what your fix will do and what changes we must make in order for the system to work properly.
If you added code to correct for the POS profile confusion, they why are you asking us to change the customer group default in the POS profiles?
When I ran the test on previously saved invoices dates. the results were the same as before with the split of the data between Individual and All Customer Group. If this because the confusion is already set into the existing old invoice or is it because the real problem has to do with only the All customer Groups designation?
Do we need to eliminate the "All Customer Groups" references in any of the POS profiles and replace them with Individual and Commercial?
If we do replace the All Customer Groups with Individual, and a Commercial customer comes into the store where individual sales are most common, will your new code always detect the actual customer group or will it still be potentially confused by whatever is set in the POS profile?
Is it just the "All Customer Groups" being used in the POS profiles that causes the problem, or could this confusion also occur if there is ANY difference between the actual group a customer is assigned to and the group listed in the POS profile?
POS Profiles allow for additional rows to be added to the Customer Group table. Would it be better for us to remove the All Customer Groups reference and instead put 2 rows of customer groups in the profiles, one row for Commercial and another row for Individual? (or would that confuse it even more?
In our testing and thinking about exactly how to test all of this, we find ourselves wondering exactly how to get the best test results. Even during the course of a regular business day, it would have taken dozens of sales invoices to be created to show the error. While we do not mind making many invoices, we are just unsure quite how to structure the testing.
Please advise. For the first time in a long time we are more confused now than we were at the beginning. If you are able to answer the above questions for us, then I think we can figure out our best testing path. I apologize for any appearance of delay, but we have just not been able to grasp the source of the original problem and therefor are having trouble understanding how the fix works.
Thank you in advance for taking time to help me understand this. I will copy this to the GitHub as well if that helps.
Bryan Miles JMI Barcodes
Testing has been run for a few days now with the recommended changes to the POS Profiles in place.
Unfortunately, the results are the same.
I have created an email to MN Technique with spreadsheets detailing the test results to help you understand what is appearing in the reports. That information will not be posted in this public forum.
Please investigate and advise.
BKM
@bkm888 We are looking into this issue, kindly give us a day or two, We'll get back to you.
@bkm888
To answer your queries on Aug 15, the customer group on the POS profile only affects the Customer list on the POS page and has no bearing on the Daily Sales Invoice report.
Link to the fix. https://github.com/mntechnique/jmi_erpnext/commit/150ef687eb531743aa6bb8cf78ebfb5605b5b997#diff-0ade2ea72daa3374db76b693161c36a2L126
Trying to set this up on the test server at 209.
It has been found that running the report for the "Individual" customer group does NOT capture all of the actual sales invoices associated with customers of the group.
We also found that running the report for "All Customer Groups" will list the transactions that were missing from the "Individual" group.
This should not be happening. There are no customers listed as "All Customer Groups" in the Customer records.
Please investigate and advise. This appears to be true for almost any date. We used July 18, 2018 in our testing
BKM