Posts

Sales order inboud received Response

  [DataContractAttribute] [Newtonsoft.Json.JsonObject(IsReference = false)] [Newtonsoft.Json.JsonArrayAttribute(IsReference = false)] -------------------1------------------------     public class GopResponseRootContract {     private GopResponseHeaderContract   responseHeader;     private GopResponseContract         response;     [DataMember("responseHeader")]     public GopResponseHeaderContract parmResponseHeader(GopResponseHeaderContract _value = responseHeader)     {         responseHeader = _value;         return responseHeader;     }          [DataMember("response")]     public GopResponseContract parmResponse(GopResponseContract _value = response)     {         response = _value;         return response;     } } -------------------2-------...

Sales order Inbound

-----------------1---------------------- [DataContractAttribute] 1. public class GoPSORequestContract {     private GoPSORequestHeaderContract       requestHeader;     private GopalSOSalesRequestContract           salesOrderRequest;     [DataMember("requestHeader")]     public GopalSORequestHeaderContract parmRequestHeaderContract(GopalSORequestHeaderContract _requestHeader = requestHeader)     {         if (!prmIsDefault(_requestHeader))         {             requestHeader = _requestHeader;         }         return requestHeader;     }     [DataMember("salesOrderRequest")]     public GopalSOSalesRequestContract parmSORequestHeaderContract(GopalSOSalesRequestContract _salesOrderRequest = salesOrderRequest)     {     } } -----------...

Sales order confirm DP

protected SalesConfirmHeaderTmp initializeSalesOrderConfirmationHeader() {  #ISOCountryRegionCodes SalesConfirmHeaderTmp salesConfirmHeaderTmpLoc = next initializeSalesOrderConfirmationHeader(); SalesTable salesTable                          = this.parmCustConfirmJour().salesTable(); DirPartyPostalAddressView           dirPartyPostalAddress; DirPartyLocationRolesView           dirPartyLocationRoles; LogisticsLocationRole               logisticsLocRole; select firstOnly   * from dirPartyPostalAddress order by RecId desc exists join dirPartyLocationRoles     where dirPartyLocationRoles.Location   == dirPartyPostalAddress.Location         && dirPartyLocationRoles.Party     ==     CustTable::find(salesTable.CustAccount).Party//_dirpartyR...

Post PO Registration

/// <summary> /// The <c>gopPuchProductRegistrationBatchServices</c> class is the service class for post the purchase order registration,packingslip and invoice /// </summary> class gopPuchProductRegistrationBatchServices extends SysOperationServiceBase {     Str1260 CaptureError;     str        empty=null;     /// <summary>     /// The <c>gopPuchProductRegistrationBatchServices</c> class is the service class for post the purchase order registration,packingslip and invoice     /// </summary>     public void processOperation()     {         gopProductRegistrationTable    productRegistrationTable;                  this.validateBeforeRecipitInvoice();         this.ASNProcessOperation();         this.InvoiceProcessOperation();     ...