yes! this is the code sample i was looking for: Add following code to the trigger “Sales Invoice Header – OnAfterGetRecord()”: // local variables // customer | record | Customer IF SalesSetup."Logo Position on Documents" = SalesSetup."Logo Position on Documents"::Right THEN BEGIN customer.GET("Sell-to Customer No."); customer.CALCFIELDS(Picture); IF customer.Picture.HASVALUE THEN CompInfoRight.Picture := customer.Picture; ELSE CompInfoRight.Picture := CompanyInfo2.Picture; END;
↧