on 06-08-2017 9:19 PM
Dear everyone,
I tried to create an Inbound delivery using CreateWithReference function (With Reference to purchase order).
I have tried the below code. It is not working. Please correct me, to resolve this issue.
var poQry = PurchaseOrder.QueryByElements;
var paraPO = poQry.CreateSelectionParams();
paraPO.Add(poQry.ID.content, "I", "EQ" , "190");
var resultPO = poQry.Execute(paraPO);
if(resultPO.Count() > 0)
{
var POIns = resultPO.GetFirst();
var createID = InboundDelivery.CreateWithReference(POIns, "ECPO", true, "test");
if (createID.IsSet()) //Value not set
{
this.ID = createID.ID.content;
}
}
Thanks in advance
Sankaran A
Dear Sankaran,
You can refer to the below blog.
The blog describes about creation of TPOP IDN and Standard IDN. You can use the IDN type CRD to create a customer return notification as well. Please let me know if this helps.
Create Third-Party and Standard Inbound Delivery Notification via Webservice
Please check if the above blog is helpful.
Best Regards,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.