Results 1 to 5 of 5

Thread: Parameterized URL does not trigger Post Commit

  1. #1
    Senior Member Adrian_Chimirel's Avatar
    Join Date
    Nov 2000
    Location
    Toronto, Canada
    Posts
    2,146

    Parameterized URL does not trigger Post Commit

    1. I load a Headerless Detail form "Ship Confirm" for a railcar inspected and loaded in SharePoint, based on a parameterized URL.
    2. The form populates the parameters into the grid columns correctly.
    3. I press a button that initiates the transaction correctly.
    4. A second (quantity shipped validation) form "Post Confirm" opens correctly.
    5. I fill in the quantity column, ensuring the same value is entered twice.
    6. I press a button that closes the second form, returning to the original form, and that should complete the transaction.
    7. However, the main form 'Post Commit' event does not get triggered; in consequence the transaction fails.

    The problem is the business functions B4101810 ProcessF41021WFRecords & B4200793 ConfirmedShipmentsCacheTerminate
    should execute only in Post Commit, when SV TP Commit Status = CO TP_COMMIT_FAIL


    Anybody can help?
    Adrian,
    E1 9.1 TR 9.1.4.7 08-13-2014_07_7 MSQL 2012 SP1 x64, WebLogic 12c, all on WIntel 2012 x64
    3rd Party Software: All Out Security 3.2, TransForm 5.3, SAP Business Objects Enterprise XI 12
    In the Cloud!

  2. #2
    Senior Member Larry_Jones's Avatar
    Join Date
    Nov 2000
    Location
    Spokane, WA, USA
    Posts
    3,038
    Does this work correctly when NOT executing via a parameterized URL?
    Larry Jones
    E1 9.1 - TR 9.1.5 on Win 2012 R2. Oracle DB 11.2.04
    WebLogic 12.1.3, Wintel, BI Publisher

  3. #3
    Senior Member Adrian_Chimirel's Avatar
    Join Date
    Nov 2000
    Location
    Toronto, Canada
    Posts
    2,146
    Hi Larry,
    Yes it does work correctly. My problem is actually to validate the grid columns populated by the FI passed through; in other words I would like to 'emulate' the Grid is Changed & Exited, without the user clicking into the grid. Is this possible?
    PS Nice of you to reply
    Thank you,
    Adrian,
    E1 9.1 TR 9.1.4.7 08-13-2014_07_7 MSQL 2012 SP1 x64, WebLogic 12c, all on WIntel 2012 x64
    3rd Party Software: All Out Security 3.2, TransForm 5.3, SAP Business Objects Enterprise XI 12
    In the Cloud!

  4. #4
    Senior Member johndanter's Avatar
    Join Date
    Sep 2003
    Location
    Cork, Ireland
    Posts
    1,091
    The only thing I could think of is there must be a hidden FC filed that gets populated by one of your |||||| fields that controls the logic.

    If the screen gets called by something else, debug it and hit the first event and check the state of all your FI fields

    One of them must be controlling this behaviour
    John Danter
    You don't go out looking for a job dressed like that do you, on a weekday?

    E900 TR 9.1.5.3 Unix

  5. #5
    Senior Member Adrian_Chimirel's Avatar
    Join Date
    Nov 2000
    Location
    Toronto, Canada
    Posts
    2,146
    Hi all,

    1. This code comes from P4205 (as we cloned W4205K), and it looks like it never gets executed, in other words we never get to need to auto-rollback of F41021, see below.
    2. I was able to 'force' a Row Exit & Changed Async using an old trick: added and deleted a grid row.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~>
    ER W4205K.FORM - Post Commit <~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~
    ------------------
    0010 // Autor: Randy Mendyk
    0011 // Date: 06/23/03
    0012 // SAR Number: 6612745
    0013 // Notes:
    0014 // This event will handle all the processing which needs to happen after the
    0015 // transaction boundary (TP) is complete. The only logic that is in this
    0016 // event at this time is the auto-rollback of the F41021.
    0017 // ---------------------------------------------------------------------------
    0018 // SAR LOG
    0019 // ================================================== =========================
    0020 // SAR 6612745 - Auto Rollback of F41021 Enhancement
    0021 If SV TP Commit Status = CO TP_COMMIT_FAIL
    0022 If DS cTRAN_SyncrhonousEndDoc [W4205K,EV01] != '1'
    0023 | Process F41021WF Records [ProcessF41021WFRecords,B4101810,D4101810,CINV]
    | DS szComputerID [D4101810,CTID] <- frm_ComputerID [CTID]
    | DS mnJobnumberA [D4101810,JOBS] <- frm_Job_Number [JOB#]
    | DS mnUniqueKeyIDInternal [D4101810,UKID] <- frm_mnUniqueKeyIDF41021WF_UKID [UKID]
    0024 EndIf
    0025 EndIf
    Adrian,
    E1 9.1 TR 9.1.4.7 08-13-2014_07_7 MSQL 2012 SP1 x64, WebLogic 12c, all on WIntel 2012 x64
    3rd Party Software: All Out Security 3.2, TransForm 5.3, SAP Business Objects Enterprise XI 12
    In the Cloud!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
The legal restrictions and terms of use applicable to this site are available here.
Use of this site signifies your agreement to the terms of use.
JDELIST is NOT affiliated with JD Edwards® & Company, Oracle or Peoplesoft. Contents of this site are neither endorsed nor approved by JD Edwards® & Company, Oracle or Peoplesoft.