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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048170
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Coremajoralways2021-11-29 10:592021-12-17 09:56
ReporterjmelinView Statuspublic 
Assigned Tonicola_uva 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0048170: JIRA 2528 - API sales - for B2BCustomer, replace "Company code" by "Search key" from "Business partner" window

DescriptionCurrently in “API Sales” request, when payment is done by reinvoicing, we send the “Company code” linked from “Business partner” window.

We must replace by the “Search key” from the same window
Steps To ReproduceConnect to POS and do a sales order.
In payment section, pay using "A REFACTURER" payment method (complete by other if necessary).

Close the till to do the cashup

In the BO, check the "API Sales" EDL Request.
In the EDL request, we have:
"customer": {
    "loyalty": [{
    "type": "B2B_CUSTOMER",
    "card_id": "$COMPANY_CODE"
    }],
    "email": "print"
}

where $COMPANY_CODE is company code of the bp linked to the customer to reinvoice

We must have instead:
"customer": {
    "loyalty": [{
    "type": "B2B_CUSTOMER",
    "card_id": "$SEARCH_KEY"
    }],
    "email": "print"
}

where $SEARCH_KEY is the search key from the same bp
TagsAGPCustom
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0133797)
guilleaer (manager)
2021-12-17 09:56

https://gitlab.com/obcustomers/AGAP/com.openbravo.flunch.integration.comarch.cashup/-/commit/b9c80e9c8550b509f7531addaf3f97985a955036 [^]

- Issue History
Date Modified Username Field Change
2021-11-29 10:59 jmelin New Issue
2021-11-29 10:59 jmelin Assigned To => Triage Platform Base
2021-11-29 10:59 jmelin Triggers an Emergency Pack => No
2021-12-17 09:51 caristu Tag Attached: AGPCustom
2021-12-17 09:56 guilleaer Status new => scheduled
2021-12-17 09:56 guilleaer Assigned To Triage Platform Base => nicola_uva
2021-12-17 09:56 guilleaer Status scheduled => resolved
2021-12-17 09:56 guilleaer Resolution open => fixed
2021-12-17 09:56 guilleaer Review Assigned To => guilleaer
2021-12-17 09:56 guilleaer Note Added: 0133797
2021-12-17 09:56 guilleaer Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker