Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (po.get_TableName().equals(MAllocationHdr.Table_Name) && timing == TIMING_BEFORE_PREPARE) {
- msg = null;
- MAllocationHdr allocHdr = (MAllocationHdr) po;
- allocHdr.setDescription("Test By Edwin");
- allocHdr.saveEx();
- if (msg != null)
- return msg;
- }
- if (po.get_TableName().equals(MAllocationHdr.Table_Name) && timing == TIMING_AFTER_PREPARE) {
- msg = null;
- try {
- BigDecimal x = Env.ZERO;
- BigDecimal y = new BigDecimal(1);
- BigDecimal z = y.divide(x);
- }
- catch (Exception e) {
- msg = "Error";
- }
- if (msg != null)
- return msg;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement