Entry points > Module Geode GX > Standard script SUBPRC 

CHGDOHSTA: after cancellation of a parcel and moving to status 5 of the DO heade

This entry point is used to introduce specific developments, once the header of a delivery order has been moved back to status 5 (Pending packing), when a parcel generated by declarative packing has been cancelled.

Context and operating method

This entry point is used after the header of a delivery order has been moved back to status 5.

The GOK variable is tested on return from the entry point. If GOK<1, the current transaction is rolled back.

Transaction

There is a current transaction while this entry point is being used.

Available variables and tables

DLVORDERH table open and filled

ODOHSTA contains the staus of the DO header before the DO is updated.