on 12-14-2011 3:02 PM
Hi all,
I want to update the field DistNumber in table OSRN via DI.
I want to do this : DistNumber = SysNumber
It's possible to do this with DI ?
I'm use SAP B1 8.81 PL 09
Thanks for your response.
Best regards,
Michael
Hi Michael,
DistNumber can never be the same as SysNumber because one is VarChar and the other is integer.
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
We can't use FMS because we don't open the Serial Number details form
The user create a good receipt. The "Serial Numbers - Setup" form appears.
The user enter a Mfr Serial No. and the Serial Number then he click Update and OK
So we want to change the value of Serial Number enter by user by the SysNumber.
This is valid only when we create a good receipt.
Thanks,
Michael
i try this to modify but it'snot work :
oDoc = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseDeliveryNotes)
ret = oDoc.GetByKey(docEntry)
If ret = True Then
Dim nb As Integer = oDoc.Lines.SerialNumbers.Count
oDoc.Lines.SetCurrentLine(0)
oDoc.Lines.SerialNumbers.SetCurrentLine(0)
Dim tmp As String = oDoc.Lines.SerialNumbers.SystemSerialNumber.ToString()
oDoc.Lines.SerialNumbers.ManufacturerSerialNumber = "PRGM" 'oDoc.Lines.SerialNumbers.SystemSerialNumber.ToString()
oDoc.Update()
End If
Edited by: Michael LECLERCQ on Dec 15, 2011 5:56 PM
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
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.