Hi, having an issue with a trigger not working. I’ve created a pageextension and included the dependencies of the 3rd party DSHIIP Shipment Options, everything below looks right, but it’s not changing the value to ‘Manual’ when EBZOrderFromWeb is value ’ True’. I can’t see the code in the 3rd party extension as it’s blocked. Could their be a conflict in their code? Or am I doing something wrong below? Or is there a way to override their trigger if one exists? Thanks!
pageextension 50170 “Web Order Ship Manual” extends “Sales Order”
{
layout
{
}
trigger OnAfterGetCurrRecord()
var
Sales: Record "DSHIP Shipment Options";
begin
if rec.EBZOrderFromWeb = true then begin
sales."Add Freight Line" := sales."Add Freight Line"::Manual
end;
end;