You are on page 1of 2

xfa.datasets.data.my_data = $record = $data.

my_data
xfa.resolveNode("xfa.data.my_data.tableData[" + this.parent.index +
"].column1").value

if ( HasValue($) == 0 )
then $.parent.presence = "hidden"
endif

data.BODY.DELIVERY.INCO2_L::ready:form - (FormCalc, server)


if (HasValue($record.BIL_PRT_COM.HEAD_DETAIL.VBDKR.INCO2_L_LBL) == 0)
then $.caption.value.#text = "Inco. Location1"
endif

if( data.BODY.ITEM_DETAIL.DATA_DETAIL.DETAILS.MATERIAL.SWITCH.rawValue == null)


{
this.presence = "hidden";
}

if( this.rawValue != "3" )


{
data.BODY.ITEMS.ITEM_DETAIL.DATA_DETAIL.DETAILS.ITEM_REF_DOC.SUB_ITEM.DATA_SUBITEM.
LINES.Amounts.presence = "hidden";
this.parent.ITEM_REF_DOC.SUB_ITEM.DATA_SUBITEM.LINES.Amounts.presence = "hidden";
}

data.MASTER.FIRST.HEADER_PAGES.KUNRE::docReady - (FormCalc, server)

if ( $.isNull) then
$.presence = "hidden"
endif

if ( this.rawValue != null)
{
var str1 = this.rawValue;
var str2 = $record.BIL_PRT_COM_SUP.HEAD_DETAIL.WAERK.value;
this.rawValue = str1.concat(str2);
}

if ( $.isNull) then
$.presence = "hidden"
endif

var curpage = $layout.page ( ref ( $ ) )


var totpages = $layout.pageCount()
if ( curpage ne totpages ) then
$.presence = "hidden"
endif

this.rawValue =
xfa.resolveNodes("data.BODY.ITEMS.ITEM_DETAIL.DATA_DETAIL.DETAILS.DET_ITEM.ref_deta
ils.Ref_DOC.DATA_COND[*]").length;

if ( data.BODY.DATA_HEAD.add_leg.ADDITIONAL_LEGAL.rawValue == null)
{
this.presence = "hidden";
}
if ( this.rawValue != null)
{
var str1 = "CC ";
var str2 = this.rawValue;
this.rawValue = str1.concat(str2);
}

// Hide the whole change text block if no texts are available for the purchase
order header
if( Form.bdyMain.frmFreeTextBlock.tblInnerCTable.resolveNodes("rowCHeader[*]").leng
th < 1 ) then
this.presence = "inactive";
endif

// If this ID is set the current document was changed


if ( Form.frmHiddenGlobalFields.frmHiddenTitle.txtChangedFlag == "X" )
then
form_title =
Concat(Form.frmHiddenGlobalFields.frmHiddenTitle.txtChanged.rawValue, " ")
endif

if ( xfa.record.GS_HEADER.FLAG_MM.value == "X" ) {
this.presence = "hidden";
}

data.#pageSet[0].Page1.Nombre_de_pages::ready:layout - (JavaScript, client)


this.rawValue = xfa.layout.pageCount();
this.rawValue = xfa.layout.page(this);

var count;
count =
xfa.resolveNodes("data.Page1.Items.lignes_items.Main_Items.Rangée[*]").length;
this.rawValue = count;

var count = this.parent.parent.parent.parent.index;


var count2 = xfa.resolveNodes("data.Page1.Items.lignes_items.Main_Items.Rangée[" +
count + "].Sub_ligne.ligne1.Data_Item.Ligne2.Caracteristiques.Rangée[*]").length;
if( count2 < 2 )
{
this.presence = "hidden";
}

You might also like