View Single Post
  #1  
Old 22nd August 2017, 19:25
Altrev Altrev is offline
Junior Member
 
Join Date: Oct 2009
Posts: 21
Altrev is on a distinguished road
Baan: BaaB IV c4 - DB: Informix - OS: HP-UX 11
Question Sales Quotation AFS continue opens a wrong subsession

Hi,

I have two BaaN companies, and each company opens a different Quotation Lines subsession due to setup when opening from the menu:

Company A: When using tdsls1101m000 and add lines the subsession tdsls1102s000 - Maintain Quotation Lines is opened

Company B: When using tdsls1101m000 and add lines the subsession tdsls1107s000 - Maintain Quotation Lines (Wholesale) is opened

But I'm using AFS to generate Sales Quotation, and being in Company B when I used the continue option the subsession opened is tdsls1102s000 instead of tdsls1107s000.

stpapi.continue.process( "tdsls1101m000", error )

Even if before I set the sub process to tdsls1107s000:
stpapi.handle.subproc( "tdsls1101m000", "tdsls1107s000","add")

Could someone have an idea why the continue process in AFS opens a different subsession that when using the Run Program?

Thanks in advance for your help
Reply With Quote