Openbravo Issue Tracking System - POS2
View Issue Details
0049166POS2Restaurantspublic2022-04-28 15:542022-05-13 01:47
normalmajorhave not tried
0049166: JIRA 2926 - Something's wrong when calling api kitchen (AjouterNouvelleCommandeWI)
it remains something wrong in API kitchen about the field NumeroCommande when using AjouterNouvelleCommandeWIProduct line number in the order is always equals to 0 for example :if I have 2 products linked to pager as delivery control method , numeroCommande is the same 50069D601D0 and 50069D601D0instead of 50069D601D0 and 50069D601D1

This is correctly managed when cancelling, 2 calls are done on 2 different numeroCommande (ex : 50069D601D0 and 50069D601D1)
Configure 2 products in order to link it to delivery control method “pager”

Go to product window and select 2 products

Go to product organization information for both

In that tab, add a record for the restaurant you are used to base your test on, and link it to a pickup point and delivery control allowing to associate the product to “pager” (delivery control method = pager)

5. this configuration will call API kitchen (function = AjouterNouvelleCommandeWI) when you buy these products. For that :

Go to WebPOS

Select both products

Go to payment and pay, 2 calls has done to API kitchen but with the same numeroCommande

The Product line number in the order has to be managed starting from 0 (cf. the example previously described)

No tags attached.
Issue History
2022-04-28 15:54timothee_catteeuwNew Issue
2022-04-28 15:54timothee_catteeuwAssigned To => Retail
2022-04-28 15:54timothee_catteeuwTriggers an Emergency Pack => No
2022-05-12 12:12mtaalAssigned ToRetail => mtaal
2022-05-13 01:47mtaalStatusnew => scheduled
2022-05-13 01:47mtaalNote Added: 0137245
2022-05-13 01:47mtaalStatusscheduled => resolved
2022-05-13 01:47mtaalResolutionopen => fixed

2022-05-13 01:47   
MR: [^]