Share via


TAMTradePromotion::lookupInvoiceAccount Method

Opens a lookup for promotions that match customer when given an invoice account.

Syntax

client server public static void lookupInvoiceAccount(
    FormControl _formControl, 
    CustInvoiceAccount _custInvoiceAccount, 
    boolean _excludeOneTimePromotions)

Run On

Called

Parameters

  • _formControl
    Type: FormControl Class
    The FormStringControl control that the lookup should attach to.
  • _excludeOneTimePromotions
    Type: boolean
    If true, then exclude one time promotions from the lookup.

Remarks

Find all sales orders with a customer account equal to _custInvoiceAccount.

Include all trade promotions with customer account equal to the customer account of those sales orders.

See Also

Reference

TAMTradePromotion Table