Codeunit "Graph Mgt - Complex Types"
ID 5468
Namespace: Microsoft.Integration.Graph
Methods
GetDocumentLineObjectDetailsEDM
procedure GetDocumentLineObjectDetailsEDM(): Text
Returns
GetDocumentLineObjectDetailsJSON
procedure GetDocumentLineObjectDetailsJSON(No: Text, Name: Text): Text
Parameters
| Name |
Type |
Description |
|
No
|
Text
|
|
|
Name
|
Text
|
|
Returns
ParseDocumentLineObjectDetailsFromJSON
procedure ParseDocumentLineObjectDetailsFromJSON(JSON: Text, var No: Code[20], var Name: Text[100], var Description: Text[50])
Parameters
| Name |
Type |
Description |
|
JSON
|
Text
|
|
|
No
|
Code[20]
|
|
|
Name
|
Text[100]
|
|
|
Description
|
Text[50]
|
|
GetBookingsDateEDM
procedure GetBookingsDateEDM(): Text
Returns
GetBookingsDateJSON
procedure GetBookingsDateJSON(DateTime: DateTime, var JSON: Text)
Parameters
| Name |
Type |
Description |
|
DateTime
|
DateTime
|
|
|
JSON
|
Text
|
|
GetCodeAndDescriptionEDM
procedure GetCodeAndDescriptionEDM(TypeName: Text[32], CodeField: Code[50], DescriptionField: Text[250]): Text
Parameters
| Name |
Type |
Description |
|
TypeName
|
Text[32]
|
|
|
CodeField
|
Code[50]
|
|
|
DescriptionField
|
Text[250]
|
|
Returns
GetCodeAndDescriptionJSON
procedure GetCodeAndDescriptionJSON(Code: Code[50], Description: Text[250], var JSON: Text)
Parameters
| Name |
Type |
Description |
|
Code
|
Code[50]
|
|
|
Description
|
Text[250]
|
|
|
JSON
|
Text
|
|
GetCodeAndDescriptionFromJSON
procedure GetCodeAndDescriptionFromJSON(JSON: Text, var Code: Code[50], var Description: Text[250])
Parameters
| Name |
Type |
Description |
|
JSON
|
Text
|
|
|
Code
|
Code[50]
|
|
|
Description
|
Text[250]
|
|
GetPostalAddressEDM
procedure GetPostalAddressEDM(): Text
Returns
GetUnitOfMeasureJSON
procedure GetUnitOfMeasureJSON(UnitOfMeasureCode: Code[20]): Text
Parameters
| Name |
Type |
Description |
|
UnitOfMeasureCode
|
Code[20]
|
|
Returns
ApplyPostalAddressFromJSON
procedure ApplyPostalAddressFromJSON(JSON: Text, var EntityRecRef: RecordRef, Line1FieldNo: Integer, Line2FieldNo: Integer, CityFieldNo: Integer, StateFieldNo: Integer, CountryCodeFieldNo: Integer, PostCodeFieldNo: Integer)
Parameters
| Name |
Type |
Description |
|
JSON
|
Text
|
|
|
EntityRecRef
|
RecordRef
|
|
|
Line1FieldNo
|
Integer
|
|
|
Line2FieldNo
|
Integer
|
|
|
CityFieldNo
|
Integer
|
|
|
StateFieldNo
|
Integer
|
|
|
CountryCodeFieldNo
|
Integer
|
|
|
PostCodeFieldNo
|
Integer
|
|
GetPostalAddressJSON
procedure GetPostalAddressJSON(Line1: Text, Line2: Text, City: Text, State: Text, CountryCode: Code[10], PostCode: Code[20], var JSON: Text)
Parameters
| Name |
Type |
Description |
|
Line1
|
Text
|
|
|
Line2
|
Text
|
|
|
City
|
Text
|
|
|
State
|
Text
|
|
|
CountryCode
|
Code[10]
|
|
|
PostCode
|
Code[20]
|
|
|
JSON
|
Text
|
|
GetDimensionEDM
procedure GetDimensionEDM(): Text
Returns
GetDimensionsJSON
procedure GetDimensionsJSON(DimensionSetId: Integer): Text
Parameters
| Name |
Type |
Description |
|
DimensionSetId
|
Integer
|
|
Returns
GetDimensionSetFromJSON
procedure GetDimensionSetFromJSON(DimensionsJSON: Text, OldDimensionSetId: Integer, var NewDimensionSetId: Integer)
Parameters
| Name |
Type |
Description |
|
DimensionsJSON
|
Text
|
|
|
OldDimensionSetId
|
Integer
|
|
|
NewDimensionSetId
|
Integer
|
|
GetSalesLineDescriptionComplexType
procedure GetSalesLineDescriptionComplexType(var SalesInvoiceLineAggregate: Record "Sales Invoice Line Aggregate" temporary): Text
Parameters
Returns
GetPurchaseLineDescriptionComplexType
procedure GetPurchaseLineDescriptionComplexType(var PurchInvLineAggregate: Record "Purch. Inv. Line Aggregate" temporary): Text
Parameters
Returns
See also