IBM Support

currentAuthorizationExpirationDate is not getting passed into the YFSExtnPaymentCollectionInputStruct object of payment collection user exit

Question & Answer


Question

How do you view the currentAuthorizationExpirationDate value in the payment collection user exits in IBM Sterling Order Management ?

Cause

You want to ensure that currentAuthorizationExpirationDate is stamped.

Answer

currentAuthorizationExpirationDate is set to null if its positive authorization has expired. If the positive authorization is not expired then you get the currentAuthorizationExpirationDate stamped. This is as per product design.

  • For AUTHORIZATION record, its value is null since the authorization expiration date will be stamped only during the User Exist (UE) call.

  • For CHARGE, the input to the UE would have the currentAuthorizationExpirationDate populated for the CHARGE record.
    The getString is not displayed the value in the logs. You can add a system.out to the input.currentAuthorizationExpirationDate in your UE to check the value.

[{"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.2.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
16 June 2018

UID

swg22010344