resolved !!string actionName = HttpContext.Current.Request.Params["__CALLBACKPARAM"].Split('|')[0];
thank you @Naveen B , i will test it.
@Naveen B, it works, thank you very much.
thanks @Naveen B i will try with the primary key.
Tahnk you, @Naveen B I have check my Endpoint, it not including a primary key. I have the same problem.
Hi @Naveen B . I have no error, the transaction was successfully. the problem is he edit the last record, but my need to add new record.
@Gabriel Michaud it’s what the client wants, I want to know the feasibility of this subject.
Thank you @Hughes Beausejour .I want to run a Windows Forms application from screen acumatica. My Windows Forms application is hosted in my local server and the Acumatica website is hosted on Acumatica SaaS platform.
Hello @Naveen B , I want to run external application (EXE), from customization project acumatica code and send parameters to EXE.
Thank you so much @Gabriel Michaud .
Thank you @jknauf for your helping, basically the analysis that you do, it works .
thanks @Naveen B for your answer, i will test with it.
Thank you @naveenb74
Resolved.It’s necessary to have an accounting period at the company to create an invoice.I changed the company and the error disappeared.Thank you @naveenb74 for your valuable assistance.
Resolved.
@naveenb74 My code is working fine. I looked at the fields in the database, everything is fine. I will try to create the invoice from another location with other shipping data.Thank you for your patience.
@naveenb74 I created the shipment with the code level.Code for create Shipment: SOShipmentEntry soShipmentGraph = PXGraph.CreateInstance<SOShipmentEntry>(); soShipmentGraph.Clear(); DocumentList<SOShipment> created = new DocumentList<SOShipment>(soShipmentGraph); soShipmentGraph.CreateShipment(order, shipment.SiteID, order.OrderDate, false, SOOperation.Issue, created); soShipmentGraph.ShipPackages(shipment);Code for Confirm Shipment: SOShipLine sOShipLine = PXSelect<SOShipLine, Where<SOShipLine.shipmentNbr, Equal<Required<SOShipment.shipmentNbr>>>, OrderBy<Asc<SOShipLine.shipmentNbr, Asc<SOShipLine.sortOrder>>>>.Select(soShipmentGraph, soShipmentGraph.Document.Current.ShipmentNbr); SOShipLineSplit sOShipLineSplit = PXSelect<SOShipLineSplit, Where<SOShipLineSplit.shipmentNbr, Equal<Required<SOShipLine.shipmentNbr>>, And<SOShipLineSplit.lineNbr, Eq
Thank you @naveenb74 for your reply. The same error appeared. I want to know is there any other data in other tables, that will be saved on the database when I create a shipment.Best regards.
Thank you @naveenb74 for your reply.In fact when I create an order with a shipment and confirmation of shipment from the app all is functional, and I can create an invoice.On the other hand, when I will create an order with a shipment and confirmation of the shipment from the code, I cannot create an invoice.Example of an shipment create via code when i want to create invoice:Best regards.
thank's @naveenb74
Thx! It works.
Hello @Gabriel Michaud Thank you for your answer,In fact the scenario is as follows: When I confirm a shipment for a product that is out of stock, I want to dynamically create a supplier order with a specific supplier with the same lines of the shipment, after that I want to create a receipt from the control supplier.
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.