add customer field in sales header page

Hi everyone,

I've created a custom field in customer table and I need to use it in a page which uses Sales Header table. How can I do this?
I tried to add a variable called "Customer No Aplicador" in Sales Header.

When I change the Sell-to Customer No to a user which have the field "No. Aplicador" filled it stays empty in my page...
Sell-to Customer No. - OnLookup()

IF "Sell-to Customer No."<> '' THEN BEGIN
  Cust.GET("Sell-to Customer No.");
  "Customer No. Applicador":=Cust."No. Aplicador";
END;

Anyone know what Im doing wrong?

Answers

Sign In or Register to comment.