mibuso.com

Microsoft Business Solutions online community
It is currently Sat May 25, 2013 2:22 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: What is different and purpose between std. function
PostPosted: Thu Jun 21, 2012 4:13 pm 
Offline

Joined: Thu Feb 12, 2009 9:22 am
Posts: 251
Country: Singapore (sg)
Dear fri,


Today!One of my fri ask me what is different between below std. two function. For me nothing different. :D I hope someone can be explain to me. I saw more than one function on
Page 54.

_InsertExtendedText(Unconditionally : Boolean)
Code: Select all
IF TransferExtendedText.PurchCheckIfAnyExtText(Rec,Unconditionally) THEN BEGIN
  CurrPage.SAVERECORD;
  TransferExtendedText.InsertPurchExtText(Rec);
END;
IF TransferExtendedText.MakeUpdate THEN
  UpdateForm(TRUE);

InsertExtendedText(Unconditionally : Boolean)
Code: Select all
IF TransferExtendedText.PurchCheckIfAnyExtText(Rec,Unconditionally) THEN BEGIN
  CurrPage.SAVERECORD;
  TransferExtendedText.InsertPurchExtText(Rec);
END;
IF TransferExtendedText.MakeUpdate THEN
  UpdateForm(TRUE);


Attachments:
untitled.PNG
untitled.PNG [ 66.57 KiB | Viewed 236 times ]

_________________
Make Simple & Easy
Top
 Profile E-mail  
 
 Post subject: Re: What is different and purpose between std. function
PostPosted: Thu Jun 21, 2012 5:14 pm 
Offline

Joined: Fri May 18, 2012 3:04 pm
Posts: 148
Location: Armenia, Quindio
Country: Colombia (co)
The functions with the underscore are not standard functions, this is not standard naming. I would guess someone has copied the standard functions into a new one with the underscore added. The code you show is exactly the same.

This is the list of functions on a standard Form 54:

Name
ApproveCalcInvDisc
CalcInvDisc
ExplodeBOM
OpenSalesOrderForm
InsertExtendedText
ShowReservation
ItemAvailability
ShowReservationEntries
ShowTracking
ShowDimensions
ItemChargeAssgnt
OpenItemTrackingLines
OpenSpecOrderSalesOrderForm
UpdateForm
SetUpdateAllowed
UpdateAllowed
ShowPrices
ShowLineDisc
ShowLineComments

_________________
Gerry Kistler
KCP Consultores


Top
 Profile E-mail  
 
 Post subject: Re: What is different and purpose between std. function
PostPosted: Thu Jun 21, 2012 5:48 pm 
Offline

Joined: Thu Feb 12, 2009 9:22 am
Posts: 251
Country: Singapore (sg)
Hi gerrykistler,

Thanks for your reply.
gerrykistler wrote:
The functions with the underscore are not standard functions, this is not standard naming. I would guess someone has copied the standard functions into a new one with the underscore added. The code you show is exactly the same.

But i not agree with you
Quote:
someone has copied the standard functions
. If you open Page and go to Item Availability by Page action you'll be see it. :)

<Action1902027204> - OnAction()
Code: Select all
//This functionality was copied from page #50. Unsupported part was commented. Please check it.
{CurrPage.PurchLines.FORM.}
_ItemAvailability(0);


Noted: I'm looking on W1 2009 SP1 Std. and SG R2 Std database without modified.

Regards,
Yukon

_________________
Make Simple & Easy


Top
 Profile E-mail  
 
 Post subject: Re: What is different and purpose between std. function
PostPosted: Thu Jun 21, 2012 6:06 pm 
Offline

Joined: Fri May 18, 2012 3:04 pm
Posts: 148
Location: Armenia, Quindio
Country: Colombia (co)
My mistake - I was thinking you were talking about Form 54. The one with the underscore is the function for the Page, the one without is what was originally copied from the Form during transformation. In this case the functions are both the same.

_________________
Gerry Kistler
KCP Consultores


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: