Billing Code
Specify the method used to determine the amount to bill for SRO material 
 and labor transactions. The default billing code value is specified on 
 the Service Parameters form. Select one of these options:
	- Contract: The SRO is part of 
	 a contract and transactions are not charged to the customer. The default 
	 rate is 0.
- No Charge: The default rate is 
	 0.
- Warranty: The SRO is associated 
	 with a unit that is under warranty and the transaction should not 
	 be charged to the customer. The default rate is 0.
- Recover: The default rate equals 
	 the cost of the transaction.
- List: The rate for material transactions 
	 is determined by the customer/item pricing logic. The rate for labor 
	 transactions is determined with the service pricing routine.
- Custom: Use this option if you 
	 plan to develop your own algorithm to calculate billing rates. The 
	 system calls a stored procedure that you can modify to include custom 
	 calculations that determine the proper billing amount. Depending on 
	 the type of SRO transaction (Material, Labor, or Miscellaneous), one 
	 of the stored procedures listed below must be modified.
Material Stored Procedure
	exec @Severity = SSSFSCustomMatlRateSp
	@InTransType,
	@InSroNum,
	@InSroLine,
	@InSroOper,
	@InItem,
	@InCustNum,
	@InTransDate,
	@InQty,
	@InCurrCode,
	@InPricecode,
	@InBillCode,
	@InCost,
	@OutUnitPrice, OUTPUT,
	@Infobar OUTPUT
Labor Stored Procedure
	exec @Severity = SSSFSCustLaborRateSp 
	@iTransType, 
	@iSroNUm, 
	@iSroLine, 
	@iSroOper, 
	@iBillCode, 
	@iTransDate, 
	@iPartnerId, 
	@iWorkCode, 
	@iUnitCost, 
	@iHrsWorked, 
	@iHrsBilled, 
	@tUnitPrice OUTPUT, 
	@Infobar OUTPUT 
Miscellaneous Stored Procedure
	exec @Severity = SSSFSCustMiscRateSp 
	@iTransType, 
	@iSroNum, 
	@iSroLine, 
	@iSroOper, 
	@iBillCode, 
	@iTransDate, 
	@iPartner, 
	@iMiscCode, 
	@iUnitCost, 
	@iQty, 
	@tUnitPrice OUTPUT, 
	@Infobar OUTPUT 
Notes About the Stored Procedures
	- A working knowledge of SQL is strongly recommended before you try to modify the stored procedures.
- The stored procedure must exist or errors will occur.
- To display an error message from the stored procedure, return a 
	 non-zero value as well as a error message in @Infobar.
- Return a 0 from the stored procedure if processing completed successfully.