[Event Request] Table 38 - InitRecord
Hi,
In order to allow for different automatic Number Series in Purchases, a new event is needed. (Identical to point no. 3 in #1025 for T36, but this one is for T38. Other necessary NoSeriesMgt related Events are alreay in place in T38):
Please add the following:
Event declaration: [Integration] LOCAL PROCEDURE OnBeforeInitRecord(VAR PurchaseHeader : Record "Purchase Header; VAR IsHandled : Boolean);
Placement in code - before the CASE that sets the default series: [External] InitRecord() PurchSetup.GET;
//-NEW CODE IsHandled := false; OnBeforeInitRecord(Rec,IsHandled) if not IsHandled then begin //+NEW CODE
CASE "Document Type" OF "Document Type"::Quote,"Document Type"::Order: [...] end; //End case //-NEW CODE end; //+NEW CODE
I'm sorry - I guess I was to tired when I posted this one and for some reason closed it by accident... Please consider the request.