top of page

Unpack Values from LOV in IFS

Writer's picture: Rumesh Aponso (RMAX)Rumesh Aponso (RMAX)
// Unpacks additional values from LOV
public virtual SalBoolean UnpackAttribute(SalString sLovValues, SalString sAttributeName, ref SalString sAttributeValue)
{
	#region Local Variables
	SalString sTmpValue = "";
	#endregion

	#region Actions
	using (new SalContext(this))
	{
		// Unpack attribute
		sTmpValue = Ifs.Fnd.ApplicationForms.Int.PalAttrGet(sAttributeName, sLovValues);

		if (sTmpValue.Mid(sTmpValue.Length - 1, 1) == ((SalNumber)Ifs.Fnd.ApplicationForms.Const.CHAR_US).ToCharacter()) 
		{
			  sTmpValue = sTmpValue.Left(sTmpValue.Length - 1);
		}

		sAttributeValue = sTmpValue;

		return true;
	}
	#endregion
}

0 views0 comments

Related Posts

See All

Fnd Dynamic Tab Page in IEE Client

[FndWindowRegistration("YVVDA_COMPANY_ADDR", "YvvdaCompanyAddr", FndWindowRegistrationFlags.HomePage)] [FndDynamicTabPage("frmCompanyAddr...

LISTAGG in PLSQL

Example 1: SELECT DISTINCT LISTAGG(t.commission_receiver, ';') WITHIN GROUP (ORDER BY t.commission_receiver) FROM...

Get Foundation Error from ORA Error

FUNCTION Strip_Ora_Error ( sqlerrm_        IN VARCHAR2,    sqlcode_        IN NUMBER DEFAULT NULL,    strip_ora_only_ IN BOOLEAN DEFAULT...

Comments


Copyright © 2025 RMAXOneNote

  • Online CV
  • LinkedIn
  • Youtube
  • GitHub
  • Blogger
bottom of page