protected void FillUserControl(long resultId) { try { CustomProfile profile = CustomProfile.GetProfile(); // UCAddress1.FillAddressByObjectNameReferenceID("Account", resultId, ""); // UCContactPerson1.FillContactPersonByObjectNameReferenceID("Contact", resultId, ""); UCContactPerson1.FillContactPersonByObjectNameReferenceID("Warehouse", resultId, "Warehouse"); // UC_StatutoryDetails1.BindGridStatutoryDetails(resultId, "Customer", profile.Personal.CompanyID); // UC_AttachDocument1.FillDocumentByObjectNameReferenceID(resultId, "Customer", "Customer"); } catch (System.Exception ex) { Login.Profile.ErrorHandling(ex, this, "Customer Master", "FillUserControl"); } finally { } }
protected void FillUserControl(long resultId) { try { CustomProfile profile = CustomProfile.GetProfile(); UCAddress1.FillAddressByObjectNameReferenceID("Vendor", resultId, "Vendor"); UCContactPerson1.FillContactPersonByObjectNameReferenceID("Vendor", resultId, "Vendor"); UC_AttachDocument1.FillDocumentByObjectNameReferenceID(Convert.ToInt64(resultId), "Vendor", "Vendor"); //UCPaymentDetail1.FillOutstandingGrid(resultId.ToString()); } catch (System.Exception ex) { Login.Profile.ErrorHandling(ex, this, "Vendor Master", "FillUserControl"); } finally { } }
protected void FillUserControl(long resultId) { try { CustomProfile profile = CustomProfile.GetProfile(); UCAddress1.FillAddressByObjectNameReferenceID("Client", resultId, "Client"); UCContactPerson1.FillContactPersonByObjectNameReferenceID("Client", resultId, "Client"); UC_AttachDocument1.FillDocumentByObjectNameReferenceID(Convert.ToInt64(resultId), "Client", "Client"); /* UC_StatutoryDetails1.BindGridStatutoryDetails(Convert.ToInt64(resultId), "Customer", profile.Personal.CompanyID);*/ // UCPaymentDetail1.FillOutstandingGrid(resultId.ToString()); // Coomented in BrilliantWMS to check first } catch (System.Exception ex) { Login.Profile.ErrorHandling(ex, this, "Client Master", "FillUserControl"); } finally { } }