Skip to content

KVSMEDShipToLib#

Procedures#

GetShipToAddress(Code[20], Code[10], Code[20], Code[10]) : Boolean#

procedure GetShipToAddress(CustomerNoPar: Code[20]; ProcessTypePar: Code[10]; var ContactNoVar: Code[20]; var ShipToCodeVar: Code[10]): Boolean

GetCustomerContact(Code[20], Code[20]) : Boolean#

Summary: Gets the contact number associated with a given customer number.

procedure GetCustomerContact(CustomerNoPar: Code[20]; var ContactNoVar: Code[20]): Boolean

Parameters:

  • CustomerNoPar:
  • ContactNoVar:

Returns:

GetContactsCustomer(Code[20], Code[20]) : Boolean#

Summary: Gets the customer number associated with a given contact number.

procedure GetContactsCustomer(ContactNo: Code[20]; var CustomerNo: Code[20]): Boolean

Parameters:

  • ContactNo:
  • CustomerNo:

Returns:

LookUpShipToCodeContactNew(Code[20], Code[20], Code[10]) : Boolean#

Summary: This procedure allows the selection of a shipping address for a specified customer and returns the corresponding contact and shipping codes.

procedure LookUpShipToCodeContactNew(CustomerNo: Code[20]; var ShippingContactNo: Code[20]; var ShipToCodeContactNo: Code[10]): Boolean

Parameters:

  • CustomerNoPar: The customer number for which the shipping address is to be looked up.
  • ShippingContactNoVar: A reference variable that will contain the contact number of the shipping address after a successful selection.
  • ShipToCodeContactNoVar: A reference variable that will contain the shipping code of the shipping address after a successful selection.

Returns: Returns 'true' if a shipping address was successfully selected; otherwise, 'false'.

Remarks: This procedure uses a temporary table to store the shipping addresses of the specified customer and then displays a page to select the shipping address. If the user selects a shipping address and confirms the selection, the corresponding contact and shipping codes are returned in the reference variables.