Discussions
Here are some examples to get your creative juices flowing.
"Did I pay vendor John Doe last month?"
"Take me to my largest sales order for this month."
"What invoices haven't been paid yet?"
Dropship Purchase Order has Receive Button instead of Mark Shipped Button
I have a requirement to create purchase order from sales order in net suite through c# code.
code i have used to create purchase order:
var createPurchaseOrder = new PurchaseOrder();
createPurchaseOrder.entity = new RecordRef()
{
internalId = “653”,
name = “Auto”
//type = RecordType.purchaseOrder,
//typeSpecified = true
};
RecordRef soRecordRef = new RecordRef();
soRecordRef.internalId = soInternalId;
soRecordRef.type = RecordType.salesOrder;
soRecordRef.typeSpecified = true;
createPurchaseOrder.createdFrom = soRecordRef;
RecordRef cFormRecordRef = new RecordRef();
cFormRecordRef.internalId = “106”;
createPurchaseOrder.customForm = cFormRecordRef;
RecordRef depRecordRef = new RecordRef();
depRecordRef.internalId = “15”;
depRecordRef.name = “01-Cash”;
depRecordRef.type = RecordType.department;
depRecordRef.typeSpecified = true;
createPurchaseOrder.department = depRecordRef;
RecordRef locRecordRef = new RecordRef();
locRecordRef.internalId = “1”;
locRecordRef.name = “2439”;
locRecordRef.type = RecordType.location;
locRecordRef.typeSpecified = true;