Fieldpine Logo Documentation Home  

Set Customer Event

This event is fired when a customer has already been set to a sale. It is numbered as event #5000


%ctx.number.1%The customer id being set. This will be a non zero value, but can be a positive or negative number
%data.workingsale.???% (P1856) Allows direct access to all symbols on the current sale that fired this event
%data.workingcustomer.???% (P1856) Allows access to all symbols about the customer record involved in this event

Internal Operation

Setting a customer on a sale broadly has the following sequence of events

Return Values

This event is unable to influence the outcome of operation. It is called for advisory purposes only.


	var custname = data(
	message(99,1,"Say hello to "+custname)