Saltar al contenido principal

P&D Crystal Definition in draft mode

Comentarios

1 comentario

  • Dausto Cobianchi

    Hi guys, I've found which is the cause of my problem...

    The CR-DNNN configuration for Crystal Report file doesn't assign correctly the ObjectID@ variable based on DRAFT UI contest: it's always assigned with the ObjType corresponding to the document nature (in this case 13 because Invoice) so the report doesn't find records on ODRF and the mentioned formula goes on error (in the report option, now I've checked flag "Cancel printing in the absence of records" to avoid error message).

    So I solved this issue configuring P&D for the invoice with 2 record based on two different Crystal Report Definition, forcing inside the ObjectID@ value 112 for the draft one and 13 for OINV and creating also two "Conditional Action" for Preview bubble to invoke one (the same) standard "Action Show report" 

    The custom Conditional Actions RA-XXX1 and RA-XXX2 makes a test of the SAP document Status based on Dynamic Syntax, FOR BROWSE the correct result.

    The two RA-XXXn will be executed but only one of the two Actions will invoke the correct Crystal Definition on the P&D configuration based on the BROWSE result.

    Works fine.

    Thank you anyway.

     

Iniciar sesión para dejar un comentario.