In PA_EXPENDITURE_ITEMS_ALL table,
If system_linkage_function(OT & ST) is "Timecards" then run "PRC: Distribute Labor Costs" program to distribute the cost.
If system_linkage_function(USG, INV, WIP & PJ) is "Usages or Inventory or Work In Process or Miscellaneous Transactions" then run "PRC: Distribute Usage and Miscellaneous Costs" program to distribute the cost.
If system_linkage_function(VI & ER) is "Supplier Invoices or Expense Reports" then run "PRC: Distribute Supplier Cost Adjustments" program to distribute the cost.
If system_linkage_function(BTC) is "Burden Transactions" then run "PRC: Create and Distribute Burden Transactions" program to distribute the cost.
If system_linkage_function(OT & ST) is "Timecards" then run "PRC: Distribute Labor Costs" program to distribute the cost.
If system_linkage_function(USG, INV, WIP & PJ) is "Usages or Inventory or Work In Process or Miscellaneous Transactions" then run "PRC: Distribute Usage and Miscellaneous Costs" program to distribute the cost.
If system_linkage_function(VI & ER) is "Supplier Invoices or Expense Reports" then run "PRC: Distribute Supplier Cost Adjustments" program to distribute the cost.
If system_linkage_function(BTC) is "Burden Transactions" then run "PRC: Create and Distribute Burden Transactions" program to distribute the cost.