Baanboard.com

Go Back   Baanboard.com > Forum > BB Language Forums > Forum español

User login

Frontpage Sponsor

Main

Poll
When will you move your ERP to the cloud?
We are on the cloud already!
20%
Next year
8%
from 2-3 years
8%
from 4-5 years
16%
Never!
47%
Total votes: 49

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 10th August 2006, 12:47
mjpedreira1 mjpedreira1 is offline
Member
 
Join Date: Jan 2005
Posts: 98
mjpedreira1 is on a distinguished road
Baan: B40c4 - DB: Oracle - OS: aix 5.3
Mantener pantalla tipo 3 multi-occurrence
Baan: Baan IVc4

Necesito insertar un registro en la sesión Mantener responsables por proyecto (tppdm6131m000).
No he visto en el manual de AFS cómo puedo conseguir ejecutar el botón start.set, parece que lo primero que me ejecuta es el choice add.set. Pensé que funcionaría como un insert normal pero no me va.

Mi función es la siguiente:

function insertar.responsables.proyecto()
{
string err.msg(60), recover.msg

stpapi.put.field("tppdm6131m000", "tppdm649.cprj", str$("SUPE48"))
stpapi.put.field("tppdm6131m000", "tppdm649.cres", str$("399"))
stpapi.put.field("tppdm6131m000", "tppdm649.emno", str$(336))

if not stpapi.insert("tppdm6131m000", true, err.msg) then
stpapi.recover("tppdm6131m000", recover.msg)
else
message("OK inserción representante comercial")
stpapi.put.field("tppdm6131m000", "tppdm649.cprj", str$("SUPE48"))
stpapi.put.field("tppdm6131m000", "tppdm649.cres", str$("999"))
stpapi.put.field("tppdm6131m000", "tppdm649.emno", str$(336))

if not stpapi.insert("tppdm6131m000", true, err.msg) then
stpapi.recover("tppdm6131m000", recover.msg)
else
message("OK inserción jefe proyecto")
endif
endif

stpapi.end.session("tppdm6131m000")
}
Reply With Quote
Sponsored Links
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
Multi Finance Multi Logistic ? tech_cheta Finance, Invoicing and Integration 4 9th June 2008 14:43
Multi Occurrence in LN Hiba_t Tools Development 3 18th July 2006 10:30
Marking on Multi Occurrence Form using AFS Jothilingam AFS/DDC/OLE: Function servers 2 29th January 2004 07:43
Diifferance between dynamic form and multi occurrence loveneesh Tools Development 2 24th June 2003 07:22


All times are GMT +2. The time now is 21:07.


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