42: x_compHeaderID := x_txnHeaderID;
43: end if;
44:
45: -- derive the accounting period stuff by calling inv routine
46: invttmtx.tdatechk(
47: org_id => p_orgID,
48: transaction_date => sysdate,
49: period_id => periodID,
50: open_past_period => openPastPeriod);
126: x_returnStatus => l_returnStatus);
127: end if;
128:
129: --Bug 16372749: Added validation on transaction date to be in an open accounting period.
130: invttmtx.tdatechk(
131: org_id => moveData.orgID,
132: transaction_date => sysdate,
133: period_id => l_periodID,
134: open_past_period => l_openperiod);