RE: Invoke signature capture custom call for non-payment scenarios in POS
Hi Ankur,
Sorry for the delay.
In checking on this, here is what I was able to find out.
The OOB signature capture device request, is not exposed OOB. We can expose it for extensions, but it would require work from our side to make it public. Please submit a support incident to have an extension request submitted for this. Once we expose the extension request, you can then call the request and get the response and later store the data.
Or the other option is:
Create HWS extension by using the HardwareStationDeviceActionRequest and from POS call the HWS extension and inside the HWS extension call the signature capture device and return the response with the signature data. Once the response is received in POS, store it either attributes or use cart extension properties and save it. If they use extension properties, they need to create custom table to store this data. I will recommend attributes if they just want to save the data (assuming no major business logic/view signature image). If they want to view the signature image or do some additional logic then go with extension properties.
https://docs.microsoft.com/en-us/dynamics365/commerce/dev-itpro/hardware-device-extension
Please let me know if this answers you questions.
Todd Berger
Support Escalation Engineer / Microsoft Dynamics 365 Commerce
North America Customer Services and Support