Tuesday, March 20, 2012

Quick Finds

  •  Secondary Pages:
    • Secondary page should be included on the Main Page to link its records with the Parent page's Records
    • If OPRID is one of the key fields, place the peoplecode to ensure it is populated(..donno why..others fields take values from their parent records..Most of the delivered sec.pages also do the same)
      • <your record>.OPRID = %OperatorID
    •  A secondary Page with just a Close/Return Box will not update any of its records in the Component buffer bu itself. For this we need to choose the Secondary page to be of "OK/Cancel Button"; OK would update the Component Buffer and Cancel will not.
      Eg: If the secondary Page (with OK/Cancel) has a Grid, any row changes would not show up when we click cancel and return to the Main (Standard) Page. 
    • Secondary pages can be nested.
  • Peoplecode:
    •  There are two places for peoplecode because the if the event code is to be same in any component it is used, it would be in Record Peoplecode. Likewise if we reference some Component specific peoplecode, then place it in component peoplecode to restrict to that component