Share via


PlSADTable::lookupPurchase Method

Shows a lookup for non-invoiced purchase orders in a given currency and for a given vendor.

Syntax

client public static void lookupPurchase(
    FormControl _formControl, 
    CurrencyCode _currency, 
    PlSADNumberCode _sadNumberCode, 
   [VendAccount _orderAccount])

Run On

Client

Parameters

  • _formControl
    Type: FormControl Class
    The control to look up the value for. It is assumed that the control is based on the PurchId data type.
  • _sadNumberCode
    Type: PlSADNumberCode Extended Data Type
    The SAD number to filter out only SAD-related vendors if a vendor account is not specified in the _orderAccount parameter.

Remarks

The SAD document does not let you link to purchase orders that use a currency that differs from the SAD currency.

Additionally, you cannot link to invoiced purchase orders, because the purchase orders cannot be invoiced one more time.

See Also

Reference

PlSADTable Table