Issue with Period-End Closing
When I try to close the end of period, I get an error message:
“To complete this document with the entered Posting Date, first define the numbering series in the Administration module.”
I have different period indicators and I use branches.
Help me please.
Thanks.
Related
New Member Here - Happy to Be With You!
I'm Hoping you can help me with what seems to me to be a syntax issue. I have a report with multiple subreports, all of which are based upon queries. The queries have criteria to prompt the user to [Enter SampleID]. When I run the report, it works correctly but is cumbersome because I am prompted for each criteria individually so I wanted to create a form with a button and an input field for the user to enter a SampleID. Then the code would pull that SampleID and use it to "answer" the criteria prompts. Clearly, what I have done so far is incorrect as I receive a run time error 13 type mismatch...I tried to find guidance as to how to proper syntax for strings, but those edits don't seem to work :(
Here's the start of the current code for your review and insights - it continues on but the syntax is the same throughout. Note that SampleID is a short text string.
DoCmd.OpenReport "DEV_GenRpt_Comp_Info", , , "Samples.SampleID=" & Me.SampleID And "ReportDemos_TestOrderAndSampleReportInfo.Samples.SampleID=" & Me.SampleID And "200_8_Query.SampleID=" & Me.SampleID And "300_Query.SampleID=" & Me.SampleID
Most appreciated!
If you are using 2-way binding for the data: Edit an input from the beginning or middle of the string. You will notice after the first character, the cursor will move to the end of the line.
Can someone help with a workaround with this or is there any way to resolve this?
This issue should give you more information about the issue I am talking about here.
I am trying to check if positions in a delivery which is changed via the transaction vl02n fulfill some specific critiria before the document is saved.
For this action I want to use the user exit USEREXIT_SAVE_DOCUMENT_PREPARE.
In the debugger I checked which tables and variables are accessible and found out that there is a global table XLIPS which contains all positions that are visible on the current to be saved delivery.
The problem is that in XLIPS there are also the positions which were already deleted at the GUI of vl02n.
Because I just want to check the positions which indeed will be saved I don't want to use the table XLIPS.
How could I solve this problem and is there a better way than using XLIPS?
Thank you very much for your help and please excuse my bad english.
XLIPS contains the change information of all delivery items upon saving. So if you delete a line, XLIPS will still hold the deleted line, with the field XLIPS-UPDKZ set to D - indicating that the line has been deleted (or I inserted or U updated). With this in mind, you should be able to program your checks against the relevant items accordingly:
LOOP AT xlips ... WHERE updkz NE 'D'.
<your code here>
ENDLOOP.
I have an Excel spreadsheet that is designed to facilitate the bulk creation of new user accounts in an information system I help administer. Due to the fact that we have had issues in the past with people providing invalid data in various columns, I have setup data validation rules and, in particular, data validation input messages for the entire table to help guide the spreadsheet users in providing the correct data.
A problem I foresee cropping up is there are a total of 16 fields that a user is expected to fill out, some users may be annoyed at the input message boxes that pop up each time they select a cell in the table.
My question is this: Is there away to hide all of the data validation input messages in my table using VBA?
Using the record macro feature and some references in msdn.microsoft.com I have come up with the following code that I think is on the right track:
Sub test()
ActiveWorkbook.Sheets("DataEntry").ListObjects("Data").Range.Select
With Selection.Validation
.ShowInput = False
End With
End Sub
Right now I get the following error:
Run-time error '1004': Application-defined or object-defined error
Any help that you could provide would be greatly appreciated!
I have 1000s of "Tasks" and "Appointments" created for testing purposes. They all are copied and pasted from one message that I have created manually hence it contains same values in Objects like "Start Time" & "End Time" and Status as "In Progress" ...
I would like to change these dates, start, end time & status progress to random values - (It is required to test the search criteria of our product i.e. to assure the our search logic can handle variation of different dates and option provided for search and so forth.)
I know I can automate it by using VBA. I have enabled the developer tab but how to get to go through the list, open each task, change the data in required field, save task & move on to next until done with the full list.
VBA code for getting the tasks:
http://www.gregthatcher.com/Scripts/VBA/Outlook/GetListOfTasks.aspx
http://www.jpsoftwaretech.com/get-ting-outlook-items-through-vba/
Use combination of both links provided
Courtesy goes to original authors. Just found these as first hits on google.