Share via


InventPendingQuantity::synchronizePendingRegistration Method

Creates or updates records in the InventPendingQuantity table and in the InventPendingRegistrationDetail table for a pending registration.

Syntax

server public static InventPendingQuantity synchronizePendingRegistration(
    InventPendingRegistrationProvider _inventPendingRegistrationProvider, 
    InventQty _adjustedQuantity, 
   [boolean _checkIfPendingRegistrationExist])

Run On

Server

Parameters

  • _adjustedQuantity
    Type: InventQty Extended Data Type
    A quantity that the pending quantity record should be adjusted with. If no record exist it will be created with this quantity.
  • _checkIfPendingRegistrationExist
    Type: boolean
    A boolean flag to determine if the method should look for existing records. If the value is false a new record will be created.
    If callers know that they are inserting new values they should pass false.

Return Value

Type: InventPendingQuantity Table
An InventPendingQuantity record.

See Also

Reference

InventPendingQuantity Table