Share via


ShipCarrierStaging::createUpdatePackage Method

Creates or updates a package record based on the staging data.

Syntax

server private static void createUpdatePackage(
    ShipCarrierStaging _shipCarrierStaging, 
    ShipCarrierPackage _shipCarrierPackage, 
    boolean _isFirstPackage, 
    boolean _useRowLevelSecurity)

Run On

Server

Parameters

  • _shipCarrierStaging
    Type: ShipCarrierStaging Table
    The ShipCarrierStaging table buffer that contains the staging data.
  • _isFirstPackage
    Type: boolean
    A Boolean value that indicates whether a package is the first package for the sales ID and packing slip ID combination being processed.
  • _useRowLevelSecurity
    Type: boolean
    A Boolean value that indicates whether to set the ShipCarrierPackage cursor as temporary.

Remarks

If the package record already exists, it will be updated. If RLS is specified, all table reads will enforce RLS.

See Also

Reference

ShipCarrierStaging Table