Trying to customize the above screen, but it can only be launched from the OM Shipment Confirmation screen (40.117.00). In SL7 and prior versions, it was possible to launch the screen, then use Task Manager to close the 40.117.00 screen, then launch CU. Now, in SL2011, this is no longer possible, the Message 6805 occurs (Only one application may be executing when customization mode is started).
It is also not possible to launch the 50.002.00 screen directly via Windows Explorer, as it throws message 15840 (No Shipper Id supplied. Exiting). So, my question is, where exactly does SL look to determine if there are other open Application screens? I tried to remove the record from the Access table, but that did not work either..
Does it look somewhere else to determine this, and trigger the 6805 message? How can I customize the 50.002.00 screen now?
The resolution is to first enable Initialize Mode in SL, then use Windows Explorer to launch the 50.002.00 screen, which avoids the ShipperID parameter requirement.
Hello Mark E,
To my knowledge, SL doesn’t store the value while doing the customization check. I’m suggesting below steps to do the customization in container builder.
Hope this explains.
As I mentioned in my post, that is not an option, as the screen throws message 15840 (No Shipper Id supplied. Exiting) when it is not launched from the Shipment Confirmation screen.
The ShipperID parameter is required to be passed in order to successfully open the screen.
I tried the same way that I suggested in my 2011 local environment and it works for me. I believe your container builder is already customized.
That message is not from a screen customization, I can see it in the source code pdf. I cannot get the screen to successfully launch without a ShipperID parameter being passed. See below.
serr1 = SqlFetch1(csr_SOShipHeader, "SOShipHeader_All " & SParm(bInputParms.CpnyID) & SParm(bInputParms.ShipperID), bSOShipHeader)
If serr1 <> NOTFOUND Then
Call DispField(CType(frm5000220.Controls("crefnbr2"), Object))
Call DispField(CType(frm5000220.Controls("cSiteId2"), Object))
If bSOShipHeader.Status = "C" Then
' Read in the BOL number so that we can assign to each container
serr1 = SqlFetch1(csr_EDContainer4, "EDShipTicket_BOLNumber" & SParm(bSOShipHeader.CpnyID) & SParm(bSOShipHeader.ShipperID), bBOLNbr)
Call screenexit("", "")
Is your code written in form_load event of container builder screen?
Are you trying to customize the container builder screen from Shipment confirmation screen?
If yes, you can not do the container builder customization from Shipment confirmation screen since container builder screen is a standalone SL screen.
You are completely missing the point of what I am saying. The code I posted above is NOT from any screen customization, but it is a snippet of the source code that does not allow the screen to open unless the ShipperID parameter is passed to it when opening.
The screen cannot be opened by itself.