How do you inject the serial number(s)* into the InvTransfer dataset?
[The * is because, for the REST integration that I am working on, I am planning to do only one serial number per transaction, if that makes this question any easier.]
You know me, I am trying to do this with widgets. And FYI, I got the function working fine already without serial numbers. Now I am trying to add the serial number bit.
@utaylor, have you done this with serial numbers?
When I do the trace, I don’t see a clear place where this magic happens. You can select serial numbers, but when do they get added to the actual dataset of the transfer?
Also, when I added in the GetSelectSerialNumbersParams method, I ran into this lovely error.
"The type 'SelectSerialNumbersParamsTableset' exists in both 'Erp.Contracts.BO.InvTransfer [...] and 'Erp.Contracts.BO.SelectedSerialNumbers"
error pic
I’m not sure if I need both references, really; I just added them because they were in the trace. I may need neither one at all.
Trace overview (my comments added):
First time the serial appears in the InvTransfer BO:
Also, I did read this post, but I don’t seem to have access to those methods via widgets: