• Welcome to the upgraded JDELIST forum and thank you for your patience.
    Please restrict discussions and issues regarding the new forum software to the Off Topic forum. We will be monitoring that forum for issues.
    If you have trouble logging in, please reset your password using the forgotten password form: https://www.jdelist.com/community/index.php?lost-password/
    If you are unable to successfully reset your password, please contact us: Click here!
    We hope that you enjoy the upgraded forum.
  • Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

Pass UBE name & parameter

Rayxue

Well Known Member
Hi list
Are there any way in OW can call UBE pass UBE name, version and paramaters at same time?. as we know BF "Launch Batch UBE" can pass UBE name and version but no parameters allowed, report interconnect (UBE) allow to pass parameters but have to hard-code UBE/version name.

Thanks in advance

B7332, AS400 rxue@cara.com
Raymond
 

Harry Chen

Active Member
The UBE name is hard coded but the version can be passed from parameters. One example: create a data structure including alias VERS, create a demo application or business function to call that UBE using 'Report Interconnect (UBE)' in event rules, double-click that event rule, click the button 'Change version', then choose that parameter. So the UBE version will be dynamic from the parameter passed in.
See Version:BF szVersion below.
---example: ---
00013 Call UBE:R5542565D Version:BF szVersion
BF mnDocumentOrderInvoiceE [DOCO] <> mnSalesOrderNumber [DOCO]
BF szOrderType [DCTO] -> szSalesOrderType [DCTO]
BF szCompanyKeyOrderNo [KCOO] -> szSalesOrderCompany [KCOO]
BF cErrorCode [ERRC] <- cErrorCode [ERRC]
BF mnDocVoucherInvoiceE [DOC] -> mnReprintInvoiceNoFrom [DOC]
BF mnDocVoucherInvoiceE [DOC] <> mnReprintInvoiceNoTo [DOC4]
 
Top