Share via


PurchCORPolicyTable::findPolicy Method

Finds a record in the PurchCORPolicyTable table by using a record in a table that is mapped to the SalesPurchLine map.

Syntax

client server public static PurchCORPolicyTable findPolicy(SalesPurchLine _salesPurchLine)

Run On

Called

Parameters

  • _salesPurchLine
    Type: SalesPurchLine Map
    A record in a table that is mapped to the SalesPurchLine map that has a VendAccount value and an optional ProcurementCategory value.

Return Value

Type: PurchCORPolicyTable Table
A record from the PurchCORPolicyTable table.

Remarks

The sort order is important because it makes sure that the table relation is found first.

See Also

Reference

PurchCORPolicyTable Table