SWE-Tina

Results comments of SWE-Tina

Please keep this request in mind ;-). We need to call this function as well and want to avoid having duplicates. Thanks :)

Placement in code: between "System-Created Entry" := TempSalesLine."System-Created Entry"; and GetSalesHeader(); in OnValidate of "No.". Signature: local procedure "Sales Line_SalesLine:OnBeforeInitHeaderDefaults"(Record "Sales Line"; SalesHeader: Record "Sales Header")

I thought about it, too - but I came to the conclusion that it would just be a workaround as it is related to Sales Header and the InitHeaderDefaults. It...

I know, but first of all this is redundant code, what is one thing we try to avoid. Second, it does not belong to that regarding the topic. No one...

local procedure "Sales Header_OnLookupPaymentTermsEvent"(var Rec: Record "Sales Header") Code filters a matrix regarding circumstances of sales header data and opens a filtered matrix page. On this page you can choose...

local procedure "Sales Header_OnLookupPaymentMethodEvent"(var Rec: Record "Sales Header") Code filters a matrix regarding circumstances of sales header data and opens a filtered matrix page. On this page you can choose...

You are right (sorry haven't checked the request of my colleague correctly). Event OnBeforeShowDoc can be used and code placed in the subscriber with setting Ishandled = true.

We need it also for the "OnAfterInsertShipmentLine" Event :)

Extension of existing event "OnBeforeInsertPostedHeaders" ` [EventSubscriber(ObjectType::Codeunit, Codeunit::"Sales-Post", 'OnBeforeInsertPostedHeaders', '', true, true)] local procedure "Sales-Post_OnBeforeInsertPostedHeaders" ( var SalesHeader: Record "Sales Header"; var TempWarehouseShipmentHeader: Record "Warehouse Shipment Header"; var TempWarehouseReceiptHeader: Record...

The signature is (as text) available in the original comment, completely with all wanted parameters? What are you missing? Preferred placement in the code: local procedure PostItemChargePerShpt(SalesHeader: Record "Sales Header";...