Gaaaaaaaah!

I keep telling people who come to me for help that it’s always the simple things. That little gotcha you forgot, glossed over, didn’t think about…

A simple thing. An easy peasy every day thing. Disable a column in a PeopleSoft page.

The code resides in an Application Package:

method MyMethod
  /+ &grid_name as String +/ Local array of array of string &enable;   

                   ...

  Local Grid &mygrid = GetGrid(@&my_page, &_grid);
  &mygrid.EnableColumns(&enable);
  &mygrid.ShowColumns(&enable);

end-method;

The above method gets called by a test method in another App Package – I’m using a tool called PSunit for my unit testing:

method Test_MyMethod
   %This.Msg(" ");
   %This.Msg("Test_GridUtils: Test_MyMethod: " | &WRK_TBL);
   &utils.MyMethod(&WRK_TBL);
end-method;

I attached a test page to the PSUnit component. I figured I’d be able to see the results after I fired the test.The test ran fine. No errors. But… the grid on the test page never changed.

I spent a couple of hours between meetings trying to get the grid on the test page to work. Everything worked fine. Just… no change to the grid. Worse the grid showed the data I sent to it as part of the test, it was the disabling of columns and the hiding of columns that didn’t take place.

After checking and rechecking syntax, spelling, specifications of the methods I was using I finally re-read the specification of the Grid Class in PeopleCode and found this line:

The attributes you set for displaying a page grid remain in effect only while the page is active.

Oh.

Placed the call to the method in the page activate event for the page.

Works.

A simple thing.

GAAAAAAAAAAAAAAAGH!

Advertisements

When Recruiting Goes Too Far

Note: Cross posted on LinkedIn: https://www.linkedin.com/pulse/when-recruiting-goes-too-far-lee-greffin

<You know who you are – don’t pretend you don’t.  You’ve stalked me for years.  I’ve asked, I’ve pleaded – no relief, no response, no cognizance that I am nothing but a potential payday from you. 

My patience has ended. 

I’ve tacked and my beam is abaft your stern… no mercy, no quarter…

Mr. Mowett, Mr. Pullings, starboard battery!> 

I don’t read your emails anymore.  They go into a file that I don’t look into.  I’ve told you I’m not interested – multiple times – politely – just get me off your list.  Unsubscribe me.  Remove me.  Delete my profile.  I don’t care what you need to do but just stop sending me emails.

No!  I do NOT want to relocate to <some urban hell hole that will eat up any salary I make in taxes and will end up costing me money>…

No!  I do NOT want to take a position with <fill in government agency> that will require me to have <fill in some obscure security review> for a three month position that is below what I was doing a decade ago…

I’ve explained to you, patiently, using monosyllabic language why.  What I am currently doing.  The reasons I don’t want the position.

Yes, I was stupid.  Naïve.  Trusting that a recruiter would realize an individual with decades of experience wouldn’t want to take an entry level help desk job – pre trepanning/major skull injury/stroke/long term Oxy deprivation.

One last email was sent.  No longer polite, stern.  Steely.  Telling rather than trying to ask, no longer attempting to bring a sense of bonhomie into the ‘experience’.

No more.  It’s time to raise the black flag – to fling open the locker containing the cutlasses.

I’m going to start writing about you, your company and my requests to be removed on every single site I can think of:

  • Glassdoor
  • LinkedIn
  • Twitter

Hell – I’ll even open a Fakebook account to display my emails imploring you to remove me from your list…

For the love of God – stop sending me your emails.  I.  Am.  Not.  Interested.

That round that went ‘cross your bow matey?  Ranging shot.  Gun captains, on command – fire for effect lads…

2012 in review – Thanks to All!!

The WordPress.com stats helper monkeys prepared a 2012 annual report for this blog.

Here’s an excerpt:

600 people reached the top of Mt. Everest in 2012. This blog got about 3,400 views in 2012. If every person who reached the top of Mt. Everest viewed this blog, it would have taken 6 years to get that many views.

Click here to see the complete report.

%d bloggers like this: