on 07-06-2007 2:22 PM
hi, i have a problem with oDocument Object in field FolioNumber.
Falló la actualización del Documento: -5002,Cannot insert value in the 'Folio Number' field.
I work with SBO 2007 PL 03.
Dim oDoc As SAPbobsCOM.Documents
oDoc = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
oDoc.GetByKey(oEditTextDocEntry.Value)
oDoc.FolioNumber = CType(oEditText.Value, Integer)
oDoc.Update()
Dim nErr As Integer
Dim ErrMsg As String
Call oCompany.GetLastError(nErr, ErrMsg)
If (0 <> nErr) Then
SBO_Application.MessageBox("Falló la actualización del Documento: " + Str(nErr) + "," + ErrMsg)
End If
-
-
Extract from SDK help:
Description
Sets or returns the additional number for a printed document.
(field name: FolioNum).
Property type
Read-write property
Syntax
Visual Basic
Public Property FolioNumber() As Long
Remarks
Country-specific field for Mexico and Chile.
my country is Chile.
thanks.
Jorge
-
-
additional information
for A/P Invoice (OPCH table) its working fine, but
A/R Invoice (OINV table) isn't working.
Hello Jorge,
I suspect that you don't have a customer in Ramp-Up for 2007?
If you would have - you just can report the issue (that definitely sounds like a bug - essentially when the same works in the B1 application... - can you confirm?) to SAP Support.
Regards,
Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
12 | |
10 | |
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.