Dear All,
I would like to reprint order confirmation with different completed status in OEORDH & OEORDD.
So I edited the selection formula in crystal report (oeconf01) like that.
(
({OEORDH.COMPLETE} = 1 or {OEORDH.COMPLETE} = 2) or
// order header is complete but details are not
(({OEORDH.COMPLETE} = 3 or {OEORDH.COMPLETE} = 4 or {OEORDH.COMPLETE} = 5)or
{OEORDD.COMPLETE} = 0 or {OEORDD.COMPLETE} = 1 or {OEORDD.COMPLETE} = 2 or {OEORDD.COMPLETE} = 3)
) and
(
// print previously printed orders
{?PRINTED} = "1" or
// print previously unprinted orders or Internet orders or Eletronic Commerce orders
( {?PRINTED}="0" AND ( {OEORDH.PRINTSTAT} =1 OR {OEORDH.PRINTSTAT} =0 OR {OEORDH.PRINTSTAT} =2 OR {OEORDH.PRINTSTAT} =3 OR {OEORDH.PRINTSTAT} =-1 ) )
) and.
But I still can't print order confirmation with completed status.
Any suggestion would appreciate.
268
260