Blog directory

Change FileNames in Table Conversion or Business View in UBE

JDE Object Save Restore

Many a times we need to change the Business view of a Report/UBE, which requires re-validating the event rules code. Worse, if you had to change the input file name in a Table Conversion? You will have to actually re-write the whole code.

Usually, for such table conversions, what we do is write wrapper UBE’s which would rename the input file to the path/file name of the table conversion, and then trigger the TC to run. All these options take huge amount . . . → Read More: Change FileNames in Table Conversion or Business View in UBE

Launch Batch Jobs/UBE from Interactive Apps

UBEInterconnect

The Article describes the use of BSFN & System Functions to dynamically call a UBE/Report/Batch Application from an Interactive Application/form. The BSFN’s use the same JDE API – jdeLaunchUBEEx(); to launch the UBE. The Launch Batch Application System function and Business functions – B9800240, B91300C are documented here. . . . → Read More: Launch Batch Application/UBE Dynamically from Interactive Apps

Calculate Begin and End Dates for Month/Year

EventsCalendar

Calculate the Begin and End dates from a given Period/Year combination or to calculate the month’s begin and end dates from a given date. Like if you are given Period=3, Year=9, the Begin and End dates will be 03/01/2009 and 03/30/2009 respectively. Similarly if you were given a date say – 2/17/2009, the return Begin & End dates will be 02/01/2009 and 02/28/2009. . . . → Read More: Calculate Begin and End Dates for Month/Year

Convert UTC Time Format to Local Date and Time format

UTC stands for Universal Time Coordinate and is a long integer containing the elapsed minutes since Midnight on January 1, 1970 in Greenwich, England. Lets try some ER which would help converting timezones, from and to. Similarly use UTC time zone and its format effectively for Multi-Location Projects/softwares. . . . → Read More: Convert UTC Time Format to Local Date and Time format