44: -- API name : Create_PerEndAccruals
45: -- Type : Private
46: -- Function : Starting point for Period End Accrual program.
47: -- The API creates period end accrual entries in the
48: -- temporary table CST_PER_END_ACCRUALS_TEMP.
49: -- Pre-reqs : None.
50: -- Parameters :
51: -- IN :
52: -- p_api_version NUMBER Required
118: -- Start of comments
119: -- API name : Calculate_AccrualAmount
120: -- Type : Private
121: -- Function : The procedure calculates and returns the record for the
122: -- CST_PER_END_ACCRUALS_TEMP
123: --
124: -- Pre-reqs : None.
125: -- Parameters :
126: -- IN :
144: -- OUT :
145: -- x_return_status VARCHAR2
146: -- x_msg_count NUMBER
147: -- x_msg_data VARCHAR2
148: -- x_accrual_rec CST_PER_END_ACCRUALS_TEMP%ROWTYPE
149: --
150: -- Version : Current version 1.0
151: --
152: -- End of comments
165: p_shipment_qty IN NUMBER,
166: p_end_date IN DATE,
167: p_transaction_id IN NUMBER DEFAULT NULL,
168:
169: x_accrual_rec IN OUT NOCOPY CST_PER_END_ACCRUALS_TEMP%ROWTYPE
170: );
171:
172: -----------------------------------------------------------------------------
173: -- Start of comments