VendPackingSlipVersion::findFromInterCompanyPackingSlip Method
Finds the most recent packing slip for the inter-company purchase order.
Syntax
client server public static VendPackingSlipVersion findFromInterCompanyPackingSlip(
InterCompanyPurchId _purchId,
PackingSlipId _salesPackingSlipId,
TransDate _deliveryDate,
[boolean _update])
Run On
Called
Parameters
- _purchId
Type: InterCompanyPurchId Extended Data Type
The inter-company purchase order ID.
- _salesPackingSlipId
Type: PackingSlipId Extended Data Type
The ID of the packing slip.
- _deliveryDate
Type: TransDate Extended Data Type
The delivery date for the packing slip.
- _update
Type: boolean
A Boolean value that indicates whether to select the record for update.
Return Value
Type: VendPackingSlipVersion Table
The most recent packing slip for the inter-company purchase order.
Remarks
The InternalPackingSlipId attribute is not required in this query because the PackingSlipId attribute combined with the DeliveryDate is unique from the original sales packing slip.