BOM Resource Upload Copy link

Description

Categories
Enginatics, R12 only, Upload
Repository
GitHub
Creates and updates resources - the Resources form (Bills of Material > Routings > Resources).

Resources cannot be deleted; enter an Inactive On date instead. Their rates and overhead associations per cost type are maintained with the CST Resource Rate Upload and the CST Resource Overhead Association Upload.

As in the form, Outside Processing defaults from a PO charge type and Costed from Outside Processing, and an outside processing resource takes the receiving inspection account of the organization as Absorption Account and its purchase price variance account as Variance Account. Outside Processing and Costed cannot be changed once the resource is used in routings, overheads, WIP or (Costed) has rates, and the UOM only with profile BOM: Update Resource UOM for resources not scheduled in routings or used in standard operations.

Supply Subinventory and Supply Locator apply to machines, Competence, Skill Level and Qualification to persons, Billable Item to types other than Amount. A currency resource takes the functional currency as UOM and is always costed. A batchable resource has basis Lot.

SQL 80 lines

Parameters 6

ParameterTypeList of values SQL
Upload ModeLOV
:p_upload_mode like '%'||xxen_upload.action_update
Organization CodeLOV
mp.organization_code=:organization_code
ResourceLOV
br.resource_code=:resource_code
Resource TypeLOV
decode(br.functional_currency_flag,1,6,br.resource_type)=:resource_type
Outside ProcessingLOV Oracle
br.cost_code_type=decode(:outside_processing,'Y',4,3)
Active onlyLOV
nvl(br.disable_date,sysdate+1)>sysdate