Showing results for 
Search instead for 
Did you mean: 

Sales Order

Former Member
0 Kudos

Hi all:

Just a cuestion, if I am in a Sales order, and I want to take the docNum to a user form, is there a way to take it automaticly??.

Sorry but I am a beginner


Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jorge:

Yes it is posible, to take any value of a sales order or other form in SBO.

For example I am using VB and SBO 6.5.

A simple part of the code:

Set oItem1 = oTmpForm.Items.Item("8")

' the number 8 is the docnum item, if u want any other item you have to know it's number first with Tool/User Tools/Display debug information

Set oedittext1 = oItem1.Specific

ldocnum = CStr(oedittext1.String)


Answers (0)