on 2012 Sep 11 5:31 AM
Hi Experts,
What object to use to update Serial Number Details?
Thanks in Advance.
nd
Hi Andy,
I think you should use the SerialNumbers object that you can get from the Document_Lines object.
Good luck.
Best regards,
Pedro Magueija
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pedro,
Tried. It doesn't work.
Dim ix As Integer
For ix = 0 To oGRPO.Lines.Count - 1
oGRPO.Lines.SetCurrentLine(ix)
Dim ib As Integer
Dim oSerial As SAPbobsCOM.SerialNumbers
For ib = 0 To oGRPO.Lines.SerialNumbers.Count - 1
oSerial = oGRPO.Lines.SerialNumbers
oSerial.SetCurrentLine(ib)
oSerial.BatchID = "SAP Pe"
oSerial.UserFields.Fields.Item("U_CSUS_ASSETTAG").Value= "U_CSUS_ASSETTAG"
Next
Next
oGRPO.Update()
User | Count |
---|---|
97 | |
8 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.