global with sharing class PurchaseOrderAPI
This class is used to support the various actions that are performed on a purchase order.
Financial Force, Inc.
Does not return a value.
global scmc__Purchase_Order__c deepCopy(Id poId)
Create a copy of the specified purchase order including all lines and options. All fields are cloned, including custom fields. The following fields on the header are reset: Purchase_Order_Date__c = System.today() Status__c = 'Open' Delivery_Status__c = 'Not Delivered' Revision__c = 0 Start_Date__c = null End_Date__c = null Applied_Rebate_Amount__c = 0 Total_Amount_Vouchered__c = 0 Total_Quantity_Vouchered__c = 0 The following fields on the line are reset: Status__c = 'Open' Amount_Vouchered__c = 0 Quantity_Received__c = 0 Quantity_Vouchered__c = 0 Requisition_Line_Item__c = null Outbound_Parts_Status__c = 'None Selected' Purchase_Price_Variance__c = 0 Applied_Rebate_Amount__c = 0
The new Purchase Order record.