PCR to process only the first occurrence of wage
Hello Experts,
I have a requirement to process only the first occurrence of the wage.
The IT might have the same wage more than once and I have to allow one the first wage to get processed and other similar wages should be dropped.
Note: The amount for the wages are determined later in the schema so the initial amount for all the wages will be '0'.
Can someone please explain me the PCR steps to accomplish this scenario.
Regards,
Raj Thilak
How is your PCR Z011 built?
Our's makes a first decision on Processing Class 76, and sometimes a second decision on the Pay Type, and depending on the return values, it does nothing or calls PCR ZAP0.
In our copy of PCR ZAP0, a decision is made on Processing Class 47.
In your system and for your Country Code, does it work in the same fashion?
For the WT you need to check on doubles, does it have it's own value for PrCl 47? Could you give those WTs their own values for PrCl 47 ?
In a PCR called by function P0014, can you query temporary variables? Try it out.
If you do a Payroll Simulation (with the "Display log" box checked) and drill down to function P0014, what processing does your special WT goes through?
In this example, if the WT on IT0014 would have a distinct value for PrCl 47, processing could be different (and possibly include a decision on the existence of a temporary variable) so that a second occurrence of the same WT would not include operation ADDWT * .
Similar Messages
-
Hello my Friends:
I have a string that looks like this in a column:
Hello, World, Hello, Planet
I want to replace only the first occurrence so that the result looks like this:
Hello World, Hello, Planet
Working on some bad data source.
I need to replace the character regardless of it's location as long as it is the first.
I tried something like this, but I soon discovered that if the comma or character is missing the the string may get truncated or altered. If there are no characters in the string, then I want to simply leave it alone.
Here is where I am at:
DECLARE @MyValue NVARCHAR(MAX) = 'Hello, World, Hello, Planet';
SELECT MyString = STUFF('Hello, World', CHARINDEX(',', @MyValue, 0), 1, ' ');
Thanks my friends.I have a string that looks like this in a column:
Hello, World, Hello, Planet
Why doesn't it say Hello Kitty?
Oh, sorry about that. Anyway:
SELECT MyString = CASE WHEN CHARINDEX(',', @MyValue, 0) >= 1
THEN STUFF(MyString, CHARINDEX(',', @MyValue, 0), 1, ' ')
ELSE MyString
END;
Erland Sommarskog, SQL Server MVP, [email protected]
Erland, love you sense of humor!! :)
Thanks for the solution. -
Drop Down Box Choose A Name and Have only the first name show up
I am creating a form for health care.
I have a drop down box with names of Physicians... their full names so they can be easily identified. And then subsequent fields that will be populated based off of the choice. However What I need is that after the full name from the drop down list is selected than only the Dr's First name shows up in the box to be distributed through out the file. All the rest of the information is already in using this Java:
switch(this.rawValue){
case "MD":
form1.Page1.Physician1LastName.rawValue = " Acccc";
form1.Page1.Physician1Number.rawValue = "1111111111";
form1.Page1.Physician1Fax.rawValue = "2222222222";
form1.Page1.ClientEmail.rawValue = "[email protected]";
form1.Page1.Physician1Address.rawValue = "xyz suite ";
form1.Page1.Physician1City.rawValue = "XYY CIth";
form1.Page1.Physician1State.rawValue = "XZ";
form1.Page1.Physician1Zip.rawValue = "11111";
form1.Page1.Physician1NPI.rawValue = "111111111";
form1.Page1.Physician1License.rawValue = "ABBB111111";
form1.Page1.Physician1UPIN.rawValue = "A11111";
form1.Page1.Physician1Specialization.rawValue = "Internist";
break;
And is working beautifully thanks for previous help everyone.
Here is the example from the Drop Down list choices:
Dr. Aaaaa Abb Accccc
Dr. Baaaa Bbb Bccccc
I would like to choose :
Dr. Aaaaa A Aaaaa
and upon chosing it have it show only the first name in that field so it can be processed correctly through out the rest of the fields.
ie: Aaaaa (Only nothing else)
I am a horrible at this stuff I just surf around until I find something that works and copy and paste and play until it works
So Please be specific:
Java vs FOrm: Client: Choice and code ....
Thanks SO much ....Take a look at the attached. The script assumes the name is a three-part string such as Dr. Frank Burns. You can modify it according to your needs.
// form1.page1.dd::exit - (JavaScript, client)
if (this.rawValue != null) {
var doc = this.rawValue;
var i = doc.indexOf(" ");
doc = doc.substring(i+1,doc.length);
this.rawValue = doc.substring(0,doc.indexOf(" "));
Steve -
Problem with GREP - finds only the 1st occurrence
Hi all,
In the example below, I am trying to find text between pairs of $ characters.
Theoretically this should work — \$\s.+?\s\$ — but in practice it finds only the 1st occurrence. I can’t figure out why.
Interestingly enough, in JS this expression works as expected.
I select the text and run the script:
Main();
function Main() {
var doc = app.activeDocument;
var sel = app.selection[0];
var contents = sel.contents;
var match = contents.match(/\$\s.+?\s\$/g);
And it returns all the four occurrences:
What am I doing wrong?
Thanks in advance.
KasHi Kasyan
In case your interested (probably not, but Jongware has a nice picture that's (maybe) worth seeing) here's a thread were Marc and I discussed how to find the first and last GREP occurrence in a paragraph / story and the use of the $ and ^ symbols.
http://forums.adobe.com/message/4668083#4668083
Regards
Trevor -
On iPad 3, all of my calendar items lasting more than one day do not appear correctly when looking at the monthly view of the calendar; only the first day of the appointment appears. For example, if I am taking a vacation for 4 days, only the first day of the vacation is marked on the calendar, instead of being listed on all 4 days. When I look at the weekly view, however, it is correct and is listed on all 4 days. The problem here of course is that at a glance, there is no way to look at my monthly schedule. On my iPhone, everything is correct, regardless of month or week view, so clearly this is an iPad problem I guess? Please advise on how this can be corrected. Thank you!
Unfortunately you can't do what you want. Many people have complained to Apple about this. I suggest you provide Apple feedback directly at http://www.apple.com/feedback/macosx.html. They will not provide a direct response but hopefully if enough people provide feedback Apple will fix this.
-
How do you print only the first ten rows in a table?
Hi everyone:
I am trying to print only the first ten records by using <?for-each: <group name>?> and <?end for-each?>. Is there any stop tag that I could use to stop printing after the printing the first ten records without modify the XML data file? I am using XMLP Desktop 5.6.2. Thanks for your help!You are right kkretser. However, if your report have 2 or more layouts pages. You may want to output the necessary records to each page like the first 10 records to the first page the next the to the second page. Like you said I figure out now that you can use <?if:position()<10?> print out the rows and then on the second page layout, you can do <?if:position()>=10?>. Thanks to all of your replys, guys!
-
I purchased a yoga video with multiple chapters and only the first one loaded. It says I can't download another chapter for 90 days. How do I get all chapters to download?
Once a device or computer is associated with your Apple ID, you cannot associate that device or computer with another Apple ID for 90 days.
http://support.apple.com/kb/ht4627 -
Over the last week I have noticed more and more that my searches do not show up properly. Today only the first page of images actually show, the rest are blank spaces, but if I click they go to the image site. The rollover does not show either.
What can cause this, and how do I fix it? I have tried various safe settings but this has no eefect at all.
Thanks.Clear the cache and the cookies from sites that cause problems.
"Clear the Cache":
* Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
"Remove Cookies" from sites causing problems:
* Tools > Options > Privacy > Cookies: "Show Cookies" -
Only the first firefox window opens in full screen, any subsequent windows I open are in normal size and I have to keep hitting the f11 key
Take a look at this extension. <br />
https://addons.mozilla.org/en-US/firefox/addon/r-kiosk/
Real Kiosk is a Firefox extension that defaults to full screen ... -
Question
Printing internet pages
Reduced print size
Only the first page is reduced and printed as desired
All pages after the first page are full size with information cut off
Recent problem never seen before
Can print from Safari and other software just fine
How can I get all pages to be reduced size?One suggestion worked from the Firefox prints incorrectly link mentioned above by mha007. I'm thrilled since this has been annoying me for weeks. Thanks mha007!
Reset all Firefox printer settings
# Open your profile folder:
# On the menu bar, click on the Help menu and select Troubleshooting Information. The Troubleshooting Information tab will open.
# Under the Application Basics section, click on Show in Finder. A window with your profile folder will open.
# Note: If you are unable to open or use Firefox, follow the instructions in Finding your profile without opening Firefox.
# On the menu bar, click on the Firefox menu and select Quit Firefox.
# In your profile folder, copy the prefs.js file to another folder to make a backup of it.
# Open the original prefs.js file in a text editor (such as TextEdit).
# Remove all lines in prefs.js that start with print. and save the file.
# If something goes wrong when you open Firefox, close it again and overwrite prefs.js with the backup you made. -
I just updated to iOS 7, but only the first page of my app buttons stayed. How can I get them back? And how do I show the Apple Music and Weather app- I can find them in spotlight, but there isn't an app button for them.
Are you sure you don't see them when you swipe to the left?
I actually had only one icon showing on the second page .... and then all of the rest showed up on pages 3, 4, etc.
The Apple Music app is a red box with a white note
Weather app is a blue box with a white cloud and yellow sun
Did you try resetting or restarting the device? -
How do I print only the first page of multiple PDF documents?
I have about 1,500 PDF files (scientific papers) that I need to print only the first page of... Any suggestions on how to do this as a single job or as a few jobs? The files are organized in a bunch of different folders, so if there was some way to do this folder by folder, that would be ok too. Thanks!
Make sure that in System Preferences Printing & Fax pane you set the default printer to the one you want to use, then put all of these PDF files into their own folder, then open terminal and type the following (without hitting return afterward):
lpr -o page-ranges="1-1"
Then drag one of the PDF files into the terminal window (it will add it's path to the end of your command) and replace the file name with *.pdf, so it will look like this:
lpr -o page-ranges="1-1" /Users/todd/Documents/My\ Folder/*.pdf
Then hit return. -
I'm trying to open a 900kb Word doc (240pages) in Pages but get this error message: Import Warning - A table was too big. Only the first 40 columns and 1,000 rows were imported.
Julian,
Pages simply won't support a table with that many rows. If you need that many, you must use another application.
Perhaps the originator could use a tabbed list rather than a table. That's the only way you will be able to contain a list that long in Pages. You can do the conversion yourself if you open the Word document in LibreOffice, Copy the Table, Paste the Table into Numbers, Export the Numbers doc to CSV, and import to Pages. In Pages Find and Replace the Commas with Tabs.
There are probably other ways, but that's what comes to mind here.
Jerry -
As a writer I'm using Pages to write my documents but the title shows up on every page. How do I set-up my page so that it shows up on only the first page?
Don't put it in the Header.
Peter -
Why does only the first page of seach results show, with further pages graying out?
In a search, I may get >1,000,000,000 hits, but only the first page is readable. "Next" gives me a grayed out screen and FF freezes. Any of the offered searches at the bottom of that first screen will do the same thing. Repeated hitting "back" will clear it.
This has been true, through all the upgrades, including a backgrade to 3.6 (?) for 64-bit. This makes FF useless as a search platform, though it is my preference, even over Chrome, if it would work.
Windows 7 Ultimate, 64-bit, 8GB Ram
High speed to house, wireless lan in houseThat does seem rather useless.
Use Automator - it has a "PDF to Images" action that will do exactly what you need. Drop your document into the workflow, drop the "PDF to Images" action in right after that, set any options that you need (like where to save) and then click "run"
Barring that, I've found that sometimes Adobe Reader will sometimes work well for documents that Preview can't print, and I've found some documents that Adobe Reader chokes on but Preview handles flawlessly.
Maybe you are looking for
-
i have a serious (and bizarre!) issue with my novation impulse (Although i've tried it with two other keyboards and i still have the same problem) and its compatibility with mainstage 3. the problem is best explained on the following one - page threa
-
I have MacPro 2008 with SL Server 10.6.8... SUS, NetBoot, VPN. I installed last Security Update yesterday and now it wont boot... Spinning gear spins endlessly. I had the same problem couple of months ago (10.6.8 SRV on a MacMini) and I just reinstal
-
Applet loads & I can select the file to upload. However, once I have selected the file to upload there is a message that says "Encoding...." for just a split second and then the applet hangs. The "Encoding..." message window has a yellow banner acros
-
Replacement iPad with retina display given to me from an Apple store...
After a restore was done in the store today I later noticed that most of my photo stream pictures won't come up. They don't go as far as thirty days from today either. I really need these to come up on my iPad from my iPhone 5. Any suggestions? Th
-
ATV3 plays wrong song and has gap at the beginning
Hi there, just got my ATV3 exchanged, because the old new one has got this media-library-connection-error, however with the new one I am experiencing a strange behaviour via WLAN and via Ethernet. Whenever I stream music and skip songs manually playb