Updating L. Requisition of a purchase

When printing a requisition for a purchase to screen and then use the option to send the requisition to the printer, the field L. Requisition on the purchase does not get updated.

Is there a patch or?

  • Hi Jorgen,

    You have to change the program. There are no patches. So if you have also de development module, go to REP PurchaseRequisition and change the code.

    Below is de code that causes the update or non-update:
    IF NOT StrScan(&Parm,'OUTPUT=SCREEN',1,999) THEN
    #SEARCH_InTable
    SET PurchTable.L_Requisition_Date = &SystemDate
    #ADD(PurchTable.L_Requisition,1)
    UPDATE PurchTable
    END
    ENDIF

    Good Luck
    Jan Lohmeijer

Related
Recommended