ashishjain
14th January 2012, 20:15
Hi All,
I am updating plan order quantity in table cprrp110(Planned Order Line) using DAL
After updating table cprrp110 it is mandatory to call standard dll cprmpdll6100.plan.one.order() to update planned order BOM quantity. So i am calling this dll after dal.update()...
cprrp110.oqan = cprrp110.oqan - hold.qty
dal.update("cprrp110", tcprrp110, dal.retval, true, db.retry)
if dal.retval = 0 then
commit.transaction()
cprmpdll6100.plan.one.order()
endif
DAL is working fine. But i am getting errors in cprmpdll6100.plan.one.order()
The errors are...
1. Plan period data or plan periods do not exist.
2. Multiplier 2-D Calender Arrays too small. Program (cprmpdll0001) Aborted.
I have checked the plan period in cprmp420 (Plan Periods) table & it do exist. So error 1 should not occur.
I am not very sure what the problem is?
Please help me. Quick reply would be appreciated.
Please find attached the error document.
I am updating plan order quantity in table cprrp110(Planned Order Line) using DAL
After updating table cprrp110 it is mandatory to call standard dll cprmpdll6100.plan.one.order() to update planned order BOM quantity. So i am calling this dll after dal.update()...
cprrp110.oqan = cprrp110.oqan - hold.qty
dal.update("cprrp110", tcprrp110, dal.retval, true, db.retry)
if dal.retval = 0 then
commit.transaction()
cprmpdll6100.plan.one.order()
endif
DAL is working fine. But i am getting errors in cprmpdll6100.plan.one.order()
The errors are...
1. Plan period data or plan periods do not exist.
2. Multiplier 2-D Calender Arrays too small. Program (cprmpdll0001) Aborted.
I have checked the plan period in cprmp420 (Plan Periods) table & it do exist. So error 1 should not occur.
I am not very sure what the problem is?
Please help me. Quick reply would be appreciated.
Please find attached the error document.