Baanboard.com

Go Back   Baanboard.com > Forum > Baan Quick Support: Functional & Technical > Manufacturing & Supply Chain

User login

Frontpage Sponsor

Main

Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
35%
Installation Wizard into new VRC
42%
Manual into existing VRC
3%
Manual into new VRC
19%
Total votes: 31

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 29th November 2007, 04:00
fimpiston fimpiston is offline
Junior Member
 
Join Date: Oct 2005
Posts: 13
fimpiston is on a distinguished road
Baan: B5.0c - DB: Oracle - OS: MS Windows 2000 Server
Smile Blocking Shortage on Report Operation Complete
Baan: iBaanERP 5.0c

Dear all,

Hi, I'm using Report Operation Completed for processing production item. So 1 Production Order can be used by multiple production. eg, PO=1000, actual production 1=100, 2=500 and 3=400.

I'm have a problem with shortage.

How to block Report Operation Complete when item was shortage. So user can't typing quantity of complete or reject.

Please, I need the solution A.S.A.P.


Thanks & regards,

Iwan Kurniawan
Reply With Quote
Sponsored Links
  #2  
Old 3rd January 2008, 08:54
fimpiston fimpiston is offline
Junior Member
 
Join Date: Oct 2005
Posts: 13
fimpiston is on a distinguished road
Baan: B5.0c - DB: Oracle - OS: MS Windows 2000 Server
Smile stpapi.find not working and no error.

Dears,

Please I need solution.

I just create an application by vb. but not function.

stpapi.find is not working.


Please I need it .

Thanks & regards,

Iwan K

Sub Find()
SessionName = "tisfc0530m000"
'clear obj
baanObj.ParseExecFunction("ottstpapihand", "stpapi.clear(" & Chr(34) & SessionName & Chr(34) & ")")
FieldName = "tisfc010.pdno"
FieldValue = Trim(txtWO.Text)
'baanObj.ParseExecFunction("ottstpapihand", "stpapi.put.field(" & Chr(34) & SessionName & Chr(34) & "," & Chr(34) & FieldName & Chr(34) & "," & Chr(34) & FieldValue & Chr(34) & ")")
baanObj.ParseExecFunction("ottstpapihand", "stpapi.put.field(" & Chr(34) & SessionName & Chr(34) & "," & Chr(34) & FieldName & Chr(34) & ",str$(" & FieldValue & "))")

FieldName = "tisfc010.opno"
FieldValue = "10"
'baanObj.ParseExecFunction("ottstpapihand", "stpapi.put.field(" & Chr(34) & SessionName & Chr(34) & "," & Chr(34) & FieldName & Chr(34) & "," & Chr(34) & FieldValue & Chr(34) & ")")
baanObj.ParseExecFunction("ottstpapihand", "stpapi.put.field(" & Chr(34) & SessionName & Chr(34) & "," & Chr(34) & FieldName & Chr(34) & ",str$(" & FieldValue & "))")

'baanObj.ParseExecFunction("ottstpapihand", "stpapi.form.command(" & Chr(34) & SessionName & Chr(34) & ", 5, " & Chr(34) & "exec.user.0" & Chr(34) & ", " & Chr(34) & ErrMessage1 & Chr(34) & ")")
tFind = baanObj.ParseExecFunction("ottstpapihand", "stpapi.set.view(" & Chr(34) & SessionName & Chr(34) & ")")
tFind = baanObj.ParseExecFunction("ottstpapihand", "stpapi.find(" & Chr(34) & SessionName & Chr(34) & ")")
tFind = baanObj.ParseExecFunction("ottstpapihand", "stpapi.change.view(" & Chr(34) & SessionName & Chr(34) & ")")
If tFind = 1 Then
FieldName = "tisfc010.pdno"
FieldValue = ""
baanObj.ParseExecFunction("ottstpapihand", "stpapi.get.field(" & Chr(34) & SessionName & Chr(34) & "," & Chr(34) & FieldName & Chr(34) & "," & Chr(34) & FieldValue & Chr(34) & ")")
MsgBox(FieldValue)
baanObj.ParseExecFunction("ottstpapihand", "stpapi.end.session(" & Chr(34) & SessionName & Chr(34) & ")")
Else
MsgBox("Data Not found")
End If

End Sub
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
All fields in session report operation complete (tisfc0130s000) grey off teddybear Manufacturing & Supply Chain 3 13th March 2007 04:36
AFS report operation complete not working justone AFS/DDC/OLE: Function servers 3 6th March 2006 12:10
solving recursion problems rmarles Tools Development 2 25th January 2005 21:23
Time stamp and user who report an operation complete khyou99 Manufacturing & Supply Chain 5 12th August 2004 13:09
How to capture date and quantity reported complete by operation Bryan Manufacturing & Supply Chain 15 17th November 2002 18:52


All times are GMT +2. The time now is 06:51.


©2001-2017 - Baanboard.com - Baanforums.com