Recent content by Sonja

  1. S

    How to close scheduled sales orders

    how can I set Sales Order status (so_status and sod_status) to "C" or "X" for a scheduled sales order?
  2. S

    Cimload of data fields containing blank

    When I try to do a Cimload for a field which contains a blank I get the error message "input too long" because system assumes that after the blank a new input field begins. I think my put statement is wrong. It's like following: put '"' field1'" ' '"' field2'" ' ...... If field1...
  3. S

    view frame pagefoot at page-bottom

    I've a program which looks like following: for each prh_hist : if first-of(prh_receiver) then do: ... end. if last-of(prh_receiver) then do: put prh_receiver ..... VIEW FRAME pagefoot. end. end. How could it be that the very last record doesn't show FRAME pagefoot if it's working for all...
  4. S

    showing frame on page-bottom

    the feature page-bottom shows a frame at each page. The coding if last-of(datafield) then do: view frame A page-bottom. end. is not working. It shows the frame at each page, not only if last-of(datafield) Is there anybody who can help me ?
  5. S

    global_userid within session trigger

    thanks a lot for your help !! :blush:
  6. S

    global_userid within session trigger

    Hello, i am not allowed to use schema triggers. Therefore i try to put the record which was deleted into a file (same as i do for the records which were changed) : on write of ro_det old buffer bu-ro_det do: output to value (filename) append. if bu-ro_det.ro_desc <> ro_det.ro_desc then put...
  7. S

    global_userid within session trigger

    Thanks a lot for your help - bulklodd - it's working now . Maybe you also have a programming code example which shows me how i can put deleted records into my file ?
  8. S

    global_userid within session trigger

    Thanks, i've tried it this way which is very similar to that of Bulkload but i still get the message Duplicate variable name--global_userid. mfdeclre.i is contained in rwromt.p which i am not allowed to change. code of mfdeclre.i is: define {1} shared variable global_userid as character.
  9. S

    global_userid within session trigger

    I can do a compile without any error message, but when i start my program now, it doesn't come up within MFGPRO Following error comes up: Conflict in extent, datatype, or undo status for shared global_userid. Same problem when i remove the undo.
  10. S

    global_userid within session trigger

    Received error message: Cannot define shared variables in a trigger. (3341)
  11. S

    global_userid within session trigger

    Sorry, but all of that is not working. My program looks like following (very simple): define var filename as char format "x(50)". filename = "/spool/gac/rout/routtrack" + string(month(today)) + string(year(today)) + ".txt". on write of ro_det old buffer bu-ro_det do: output to value...
  12. S

    global_userid within session trigger

    Hello, variable global_userid is defined in mfdeclre.i which is included in program rwromt.p. My trigger shell program runs 'before' and therefore needs a definition for variable global_userid. My program is as follows: on write of ro_det old buffer bu-ro_det do: ....... end. {rwromt.p}...
  13. S

    global_userid within session trigger

    When i don't define the variable global_userid it brings out an error message which says that the variable isn't defined yet. When i define the variable global_userid it brings out an error message which sys that the variable is already defined
  14. S

    global_userid within session trigger

    Hello, i have a session trigger which looks like: on write of ro_det old buffer bu-ro_det do: ............. display global_userid. end. Problem is that i am not able to show the global_userid. When i add program mfdeclre.i or when i try to define global_userid i get the error message...
  15. S

    trigger

    Hello, i have never worked with triggers for Progress Verison 9 and i have to do following: Whenever a datafield of a table (ro_det) changes i want to have following information: 1. what was changed (contents of datafiled vefore change + contents of datafiled after change) 2. when was the...
Top