Quantcast
Channel: Microsoft Dynamics SL Forum - Recent Threads
Viewing all 5289 articles
Browse latest View live

RE: Print report from button

$
0
0

I am trying to use a button in the Shippers screen to open a custom report.  I tried adapting the code given above:

Private Sub Warranty_Click()

ParmStr = "WACTS/RUN" & PRMSEP

ParmStr = ParmStr & "WACTS/FORMAT" & PRMSEP

ParmStr = ParmStr & "{soshipheader.shipperid}=" & cshipperid_0 & "/WHERE" & PRMSEP

ParmStr = ParmStr & "/pscrn"

Call CallApplicWait("ROI", ParmStr)

End Sub

When I compile I get the message "Sub or Function not defined"

Call CallApplicWait is highlighted


Print report from button

$
0
0

HI, can someone please help me on how I can open a custom report from a screen on button click and pass the parameters from the screen to the report - for eg. batnbr, refnbr etc. 

This is my current code:

Dim prm1 As String
Dim prm2 As String

prm1 = GetObjectValue("cbatnbrb")
prm2 = GetObjectValue("crefnbr")

prm1 = "batch.batnbr = " & SParm(prm1)
prm1 = prm1 & "and apdoc1.refnb = " & SParm(prm2) & " /WHERE "

Call ApplSetParmValue(PRMSECTION_VBRDT, "", "PF017/RUN")
Call ApplSetParmValue(PRMSECTION_VBRDT, "", "PF017/FORMAT")
Call ApplSetParmValue(PRMSECTION_VBRDT, "", prm1)
Call ApplSetParmValue(PRMSECTION_VBRDT, "", "/PSCRN")
Call Launch("ROI", True, True, 0)

this just makes the screen go disabled for a while like it want to open the report and then just nothing.

Any help on this will be much appreciated!

RE: System Message 28506 -- Must First unnaply Prepay before voiding check

$
0
0

buen dia amigo como reolvistes este incidente

System Message 28506 -- Must First unnaply Prepay before voiding check

$
0
0

Hello,  I'm working with SL2011 FP1

I'm trying to void a check  and the screen  030.40.00  is sending  the  message 28506.

The check that we are trying to void doesn’t have any Prepayment. It is only related with a VO document.

I’m been looking for any relation in APDOC, APTRAN , AP_PPApplicBat, AP_PPApplicDet   and there isn’t any reference with a PP doctype.

Thanks

Carlos Torre

RE: Check Number Sequence Question

$
0
0

Hi, Arles.  On which screen do you configure the starting number of a new checking account/GL account?

Getting a System Message 6906 Error in TM.EPJ.00

$
0
0

Trying to delete an invalid Employee Rate Change. We get the following message:

System Message 6906

Another process has deleted the %s item. The system will automatically Cancel your changes.

RE: Check Number Sequence Question

$
0
0

Hi Ron...

The starting check number would be entered when you print your first actual check.  In other words, it's on the Check Print screen.  Whatever check number you enter here will be your effective first check number.  From that point forward, your check numbers will auto-increment.

Thanks!

Management Reporter (SL) - Excel - Default to Open Workbook After Exporting

$
0
0

I have a client who would like to default the checkbox to Open Workbook After Exporting?  The client is using Report Viewer to view the reports.


RE: Check Number Sequence Question

Check Number Sequence Question

$
0
0

We are getting ready to use multiple checking accounts.  If we use a different check number sequence would there be any conflicts of the numbers overlap?  Does the database use Account + check number or just check number?

RE: Programmatically enter Sales Order

$
0
0

Hi,

Similar problem: I am trying to respond to with sivMsgRspOk to Error 23 in Automated application from customization Manager. The error is trapped and response is sent to automated app, but it does not close the message. Instead it causes VB Runtime error.  

Short version of code is shown below. I debugged this app.  When automated app raises message 23.  It is trapped correctly , I verified  in Debug Mode.  But the control does not return to the automated application, instead it results in run time error with same message 23 displayed on screen.  It basically continues to loop through this error until interactive user terminates the application.

Public WithEvents SIVApp As SIVApplication

Private Sub Test_Automate()

Set SIVApp = StartAppAndAutomate("SD30600.exe", isolErr, iOSErr)
SIVApp.Controls("cPerToPost") = myPerPost
SIVApp.Controls("cBegprocessing") = True

End Sub

Private Sub SIVApp_Message(ByVal MessageNumber As Long, ByVal MessageText As String, ByVal MessageType As sivMessageType, MessageResponse As sivMessageResponse)

If MessageNumber = 23 Then
MessageResponse = sivMsgRspOk
End If

End Sub

Please help,

Thanks,

Sam

Programmatically enter Sales Order

$
0
0

I am trying to programmatically add a sales order to the system. I am currently looking at the object model but I don't see how I can add the Salesperson information to the order. Since the screen that holds this information is a separate application and not just a sub form, the SubFormDisplay doesn't seem to work. Any ideas?

RE: Print report from button

$
0
0

I think the problem is with cshipperid_0

try

dim shipperid as string

shipperid = Trim$(GetObjectValue("cshipperid_0"))

ParmStr = ParmStr & "{soshipheader.shipperid}=" & shipperid & "/WHERE" & PRMSEP

RE: Print report from button

$
0
0

So, I was researching, and I found out that you cannot use CallApplicWait in customization mode.  Instead use Launch.  Here is the code I used:

Private Sub Warranty_Click()

Dim shipperid As String

shipperid = Trim$(GetObjectValue("chipperid_0"))

ParmStr = "WACTS/RUN" + PRMSEP

ParmStr = ParmStr + "WACTS/FORMAT" + PRMSEP

ParmStr = ParmStr + "soshipheader.shipperid=" + cshipperid + "/WHERE" + PRMSEP

ParmStr = ParmStr + "/pscrn"

Call Launch("ROI", ParmStr)

End Sub

When I compile "Call Launch" is highlighted.  I get the message "Argument not optional"

RE: Print report from button

$
0
0

Okay, I got it to compile without errors.  This is the code I used:

Private Sub Warranty_Click()

Dim shipperid As String

Dim Parmstr As String

shipperid = Trim$(GetObjectValue("cshipperid_0"))

Parmstr = "ROI.EXE" + PRMSEP + "WACTS/RUN" + PRMSEP + "WACTS/FORMAT" + PRMSEP + "soshipheader.shipperid =" + SParm(shipperid) + "/WHERE" + PRMSEP + "/PSCRN"

serr1 = Launch(Parmstr, True, True, 0)

End Sub

I tried pulling up a shipper and clicking on the button.  It  pauses, the hour glass blinks, , but nothing happens.  I went to the WACTS report and previewed it with the shipperid I was on.  The report  is correct.  Any ideas?


RE: Dynamics SL 2015 CU1

$
0
0

I am having the same problem with SL2015 and CU1. I had not made any changes to SL. It just stopped working. When you invoke SL it does not come up at all but puts this error in the event log. I have WIndows 10 environment. I think this may have happened on or about September 30th when MS updated windows 10.

Any help will be appricated

Dynamics SL 2015 CU1

$
0
0

Just applied CU1 to our Dynamics SL Installation Server + 5 Workstations

Server install went fine as well as 1 workstation

On other 4 Workstations setup ran without error, however, Dynamics looks like this

and the following errors are recorded in the event log

Event id 1000

Faulting application name: MSDynamicsSL.exe, version: 9.1.30423.1, time stamp: 0x55390340

Faulting module name: KERNELBASE.dll, version: 6.1.7601.19110, time stamp: 0x56842600

Exception code: 0xe0434352

Fault offset: 0x0000c42d

Faulting process id: 0x5c8

Faulting application start time: 0x01d15785d06df8f5

Faulting application path: R:\MSDynamicsSL.exe

Faulting module path: C:\windows\syswow64\KERNELBASE.dll

Report Id: 1320cbfd-c379-11e5-9c37-ecb1d73b7cb2

and event id 1026

Application: MSDynamicsSL.exe

Framework Version: v4.0.30319

Description: The process was terminated due to an unhandled exception.

Exception Info: System.NullReferenceException

Stack:

at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()

at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(System.String[])

at MSDynamicsSL.My.MyApplication.Main(System.String[])

I have tried uninstalling and reinstalling the application

removing and reinstalling dot net,

resetting system security

All Suggestions appreciated

Thanks

RayD

Refresh Generate Requisitions Screen (RQ50500)

$
0
0

Hello,

We are trying to add a button to the Generate Requisition screen that will allow users to refresh/re-load the data without having to close the screen. Because the screen is only a single grid it seems to be missing functions from other screens like Save,Update,Cancel.

I've tried SetLevelChg() and Edit_Cancel functions but they don't seem to work.

Has anyone had any experience with this screen or refreshing screens?

Thanks

RE: SL 2011 Data Dictionary

$
0
0

Mike, you can go to help in SL and search schema,  

RE: SL 2011 Data Dictionary

$
0
0

Another source go the help directory and there is help file with the full schema.

Viewing all 5289 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>