Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047470
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Retail Modules] Web POSmajoralways2021-07-28 12:432021-09-10 09:13
ReporterrafarodaView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusfeedbackFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0047470: Cross Store: Anonymous Customer A of Store A is not considered Anonymous Customer in Store B

DescriptionCross Store: Anonymous Customer A of Store A is not considered Anonymous Customer in Store B
Steps To Reproduce* Store A and Store B have difefrent anonymous customer A and B
* Do a ticket in store A for Anonymous Customer of Store A
* Recall that ticket in Store B: the Anoynmous Customer A in Store B is NOT considered anonymous customer

So all the logics that apply to anonymnous customer are broken, for instance, the preference that says that we can't edit an anonymous customer, or that we can't invoice an anonymous customer
Proposed SolutionAn anonymous Customer A of Store A, should be also be considered an anonymous customer in the Store B
TagsNOR
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0130896)
jetxarri (developer)
2021-07-30 12:50

How I fixed for our client:
-extend bp model adding property
add(new HQLProperty(
            "coalesce((select max('true') from Organization o where o.obretcoCBpartner = bp), 'false') ",
            "isDefaultBp"));
-also adding in the front model
,
    {
      name: 'isDefaultBp',
      column: 'isDefaultBp',
      type: 'BOOLEAN'
    }

Apart from that I have created a global function to see if a bp is a default bp in any store
OB.NORCUS_UTILS.isDefaultBp = function(businesspartner) {
  if (
    businesspartner.has('isDefaultBp') &&
    businesspartner.get('isDefaultBp')
  ) {
    return true;
  } else {
    return false;
  }
};

And finally, instead of using
currentBP.id === anonymousBP
I am using
OB.NORCUS_UTILS.isDefaultBp(currentBP)
(0131088)
marvintm (developer)
2021-08-12 08:10

The cross-store functionality was mainly designed to be used together with specific business partners. That is why currently all these restrictions related to the anonymous customer do not currently work.

Of course, the changes required to make them work could be implemented, but we don't consider this a simple bug, it is a project that should be planned and designed first, and due to this we are changing this issue to "design defect".

- Issue History
Date Modified Username Field Change
2021-07-28 12:43 rafaroda New Issue
2021-07-28 12:43 rafaroda Assigned To => Retail
2021-07-28 12:43 rafaroda Triggers an Emergency Pack => No
2021-07-28 12:43 rafaroda Resolution time => 1629410400
2021-07-28 12:43 rafaroda Tag Attached: NOR
2021-07-30 09:52 adrianromero Status new => acknowledged
2021-07-30 12:50 jetxarri Note Added: 0130896
2021-08-04 17:34 adrianromero Assigned To Retail => adrianromero
2021-08-04 17:34 adrianromero Assigned To adrianromero => rafaroda
2021-08-04 17:35 adrianromero Assigned To rafaroda => prakashmurugesan88
2021-08-04 17:35 adrianromero Status acknowledged => scheduled
2021-08-12 08:10 marvintm Resolution time 1629410400 =>
2021-08-12 08:10 marvintm Note Added: 0131088
2021-08-12 08:10 marvintm Type defect => design defect
2021-09-10 09:13 prakashmurugesan88 Assigned To prakashmurugesan88 => Retail
2021-09-10 09:13 prakashmurugesan88 Status scheduled => feedback


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker