Sunday, February 3, 2019

Main AM Java

/*================= AM ================= */
package xxfin.oracle.apps.pos.deptreqsumm.server;
import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
import oracle.jbo.server.ViewLinkImpl;
// ---------------------------------------------------------------------
// ---    File generated by Oracle ADF Business Components Design Time.
// ---    Custom code may be added to this class.
// ---    Warning: Do not modify method signatures of generated methods.
// ---------------------------------------------------------------------
public class xxdeptreqsummAMImpl extends OAApplicationModuleImpl
{
  /**This is the default constructor (do not remove)
   */
  public xxdeptreqsummAMImpl()
  {
  }
  /**Sample main for debugging Business Components code using the tester.
   */
  public static void main(String[] args)
  {
    launchTester("xxfin.oracle.apps.pos.deptreqsumm.server", /* package name */
      "xxdeptreqsummAMLocal" /* Configuration Name */);
  }
  public void xxsuppsummmtd(String paybt)
   {
     xxsuppsummVOImpl ssvo = getxxsuppsummVO();
    
     String wherecls = "PAYMENT_BATCH='"+paybt+"'";
     ssvo.setWhereClause(wherecls);
     ssvo.executeQuery();
 
   }
  /**Container's getter for xxsuppsummVO
   */
  public xxsuppsummVOImpl getxxsuppsummVO()
  {
    return (xxsuppsummVOImpl)findViewObject("xxsuppsummVO");
  }
  /**Container's getter for xxsupppaymentsVO
   */
  public xxsupppaymentsVOImpl getxxsupppaymentsVO()
  {
    return (xxsupppaymentsVOImpl)findViewObject("xxsupppaymentsVO");
  }
  /**Container's getter for SuppSummToSuppPayVL1
   */
  public ViewLinkImpl getSuppSummToSuppPayVL1()
  {
    return (ViewLinkImpl)findViewLink("SuppSummToSuppPayVL1");
  }
  /**Container's getter for xxsupplierinvoicesVO
   */
  public xxsupplierinvoicesVOImpl getxxsupplierinvoicesVO()
  {
    return (xxsupplierinvoicesVOImpl)findViewObject("xxsupplierinvoicesVO");
  }
  /**Container's getter for SuppPayToSuppInvVL1
   */
  public ViewLinkImpl getSuppPayToSuppInvVL1()
  {
    return (ViewLinkImpl)findViewLink("SuppPayToSuppInvVL1");
  }
  /**Container's getter for xxsuppinvposVO
   */
  public xxsuppinvposVOImpl getxxsuppinvposVO()
  {
    return (xxsuppinvposVOImpl)findViewObject("xxsuppinvposVO");
  }
  /**Container's getter for SuppInvToSuppPoVL1
   */
  public ViewLinkImpl getSuppInvToSuppPoVL1()
  {
    return (ViewLinkImpl)findViewLink("SuppInvToSuppPoVL1");
  }

  public void xxsupppaymtd(String suppaybt)
  {
    xxsupppaymentsVOImpl spbvo = getxxsupppaymentsVO();
    String paywherecls = "PAYMENT_BATCH='"+suppaybt+"'";
    spbvo.setWhereClause(paywherecls);
    spbvo.clearCache();
    spbvo.reset();
    spbvo.setMaxFetchSize(-1);
    spbvo.executeQuery();
   
  }
 
  public void xxsupinvmtd(String sinvpbt)
  {
    xxsupplierinvoicesVOImpl sinvo = getxxsupplierinvoicesVO();
    String invwherecls = "PAYMENT_BATCH='"+sinvpbt+"'";
    sinvo.setWhereClause(invwherecls);
    sinvo.clearCache();
    sinvo.reset();
    sinvo.setMaxFetchSize(-1);
    sinvo.executeQuery();
  }
 
  public void xxsupinpomtd(String sinpobt) //, Number spinvid)
  {
    xxsuppinvposVOImpl sinpovo = getxxsuppinvposVO();
    String invpowherecls = "PAYMENT_BATCH='"+sinpobt+"'";
   // String invpowherecls = "PAYMENT_BATCH='"+sinpobt+"'"+"INVOICE_ID ="+spinvid;
    sinpovo.setWhereClause(invpowherecls);
    sinpovo.clearCache();
    sinpovo.reset();
    sinpovo.setMaxFetchSize(-1);
    sinpovo.executeQuery();
  }
 
  public void xxsuppoprmtd(String spoprbt)
  {
    xxsuppinvpoprVOImpl spoprvo = getxxsuppinvpoprVO();
    String invpoprwherecls = "PAYMENT_BATCH='"+spoprbt+"'";
    spoprvo.setWhereClause(invpoprwherecls);
    spoprvo.clearCache();
    spoprvo.reset();
    spoprvo.setMaxFetchSize(-1);
    spoprvo.executeQuery();
  }

  /**Container's getter for SuppPoToSuppPrVL1
   */
  public ViewLinkImpl getSuppPoToSuppPrVL1()
  {
    return (ViewLinkImpl)findViewLink("SuppPoToSuppPrVL1");
  }
  /**Container's getter for xxsuppinvpoprVO
   */
  public xxsuppinvpoprVOImpl getxxsuppinvpoprVO()
  {
    return (xxsuppinvpoprVOImpl)findViewObject("xxsuppinvpoprVO");
  }
}

No comments:

Post a Comment

SQL Query to find Customer, Customer Account and Customer Sites Information

/****************************************************************************** *PURPOSE: Query to Customer, Customer Account and Customer...